Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9842/0.9842, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2698/0.2698, allocations: 34.85 MB / 296.3 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.74e-05, allocations: 2.312 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.007701/0.007728, allocations: 9.242 MB / 388 MB, free: 8.789 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005069/0.0128, allocations: 3.761 MB / 391.8 MB, free: 5.016 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000719/0.01352, allocations: 59.75 kB / 391.8 MB, free: 4.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.01642, allocations: 2.971 MB / 394.8 MB, free: 1.977 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.01887, allocations: 1.73 MB / 396.5 MB, free: 244 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.01992, allocations: 0.7833 MB / 397.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003304/0.02322, allocations: 4.288 MB / 401.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002548/0.02577, allocations: 3.112 MB / 404.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.02809, allocations: 2.636 MB / 407.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.0301, allocations: 2.065 MB / 409.4 MB, free: 3.266 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004679/0.03057, allocations: 320 kB / 409.7 MB, free: 2.953 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.03177, allocations: 1.139 MB / 410.9 MB, free: 1.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.03284, allocations: 1.874 MB / 412.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.03431, allocations: 1.168 MB / 413.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003653/0.03797, allocations: 4.411 MB / 418.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.03797, allocations: 0 / 418.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.03797, allocations: 0 / 418.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.56e-05/0.03805, allocations: 0 / 418.3 MB, free: 10.34 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.005239/0.04329, allocations: 4.776 MB / 423.1 MB, free: 5.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.04333, allocations: 8.031 kB / 423.1 MB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007713/0.05105, allocations: 2.854 MB / 426 MB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.05328, allocations: 2.084 MB / 428 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.05339, allocations: 222 kB / 428.3 MB, free: 284 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.0537, allocations: 292.3 kB / 428.5 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005533/0.05923, allocations: 5.265 MB / 433.8 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/0.0593, allocations: 31.7 kB / 433.8 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.05952, allocations: 143.9 kB / 434 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001274/0.0608, allocations: 1.595 MB / 435.6 MB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00405/0.06485, allocations: 2.488 MB / 438.1 MB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1653/0.2301, allocations: 38.35 MB / 476.4 MB, free: 58.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.2324, allocations: 0.9076 MB / 477.3 MB, free: 58.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/0.2329, allocations: 311.1 kB / 477.6 MB, free: 58.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003487/0.2363, allocations: 2.739 MB / 480.4 MB, free: 57.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2364, allocations: 52.28 kB / 480.4 MB, free: 57.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 2.775e-06/0.2364, allocations: 0 / 480.4 MB, free: 57.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.008824/0.2452, allocations: 5.771 MB / 486.2 MB, free: 54.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.2452, allocations: 193.2 kB / 486.4 MB, free: 53.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.2481, allocations: 3.251 MB / 489.6 MB, free: 52.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.2482, allocations: 36.77 kB / 489.7 MB, free: 52.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.2494, allocations: 3.169 MB / 492.8 MB, free: 50.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.2497, allocations: 0.507 MB / 493.3 MB, free: 49.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.2507, allocations: 1.181 MB / 494.5 MB, free: 49.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.611e-05/0.2508, allocations: 480.2 kB / 495 MB, free: 48.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008864/0.2517, allocations: 499.3 kB / 495.5 MB, free: 48.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.254, allocations: 5.753 MB / 0.4895 GB, free: 41.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/0.2579, allocations: 6.806 MB / 0.4961 GB, free: 34.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-05/0.2579, allocations: 36.97 kB / 0.4962 GB, free: 34.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.006041/0.264, allocations: 4.525 MB / 0.5006 GB, free: 32.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.516e-05/0.264, allocations: 59.31 kB / 0.5006 GB, free: 32.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/0.2642, allocations: 124.3 kB / 0.5008 GB, free: 32.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003944/0.2646, allocations: 210 kB / 0.501 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/0.2674, allocations: 1.245 MB / 0.5022 GB, free: 32.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009324/0.2683, allocations: 1.988 MB / 0.5041 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/0.2707, allocations: 324.6 kB / 0.5044 GB, free: 30.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003657/0.2711, allocations: 334.7 kB / 0.5047 GB, free: 30.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 666 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000883/0.2719, allocations: 0.6102 MB / 0.5053 GB, free: 29.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.2723, allocations: 314.5 kB / 0.5056 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008955/0.2732, allocations: 0.6175 MB / 0.5062 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.2732, allocations: 13.72 kB / 0.5063 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2732, allocations: 1.406 kB / 0.5063 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.2732, allocations: 8.078 kB / 0.5063 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.2779, allocations: 3.453 MB / 0.5096 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.2779, allocations: 6.906 kB / 0.5096 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.2785, allocations: 184.8 kB / 0.5098 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.2787, allocations: 44.38 kB / 0.5099 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/0.2787, allocations: 18.81 kB / 0.5099 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005417/0.2793, allocations: 1.772 MB / 0.5116 GB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2793, allocations: 2.375 kB / 0.5116 GB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.2808, allocations: 1.575 MB / 0.5132 GB, free: 24.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.2811, allocations: 273.8 kB / 0.5134 GB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.2813, allocations: 25.81 kB / 0.5134 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007195/0.282, allocations: 84.39 kB / 0.5135 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.2822, allocations: 87.2 kB / 0.5136 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/0.2823, allocations: 34.34 kB / 0.5136 GB, free: 24.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002666/0.2849, allocations: 1.372 MB / 0.515 GB, free: 24.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2849, allocations: 0 / 0.515 GB, free: 24.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003354/0.2883, allocations: 0.8424 MB / 0.5158 GB, free: 23.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003267/0.2886, allocations: 157.4 kB / 0.5159 GB, free: 23.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.291, allocations: 2.397 MB / 0.5183 GB, free: 22.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.291, allocations: 0 / 0.5183 GB, free: 22.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.2914, allocations: 477 kB / 0.5187 GB, free: 22.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009999/0.2924, allocations: 355.9 kB / 0.5191 GB, free: 22.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005955/0.2984, allocations: 6.359 MB / 0.5253 GB, free: 18.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008836/0.2992, allocations: 1.114 MB / 0.5264 GB, free: 17.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002007/0.3013, allocations: 1.446 MB / 0.5278 GB, free: 16.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.3015, allocations: 208.9 kB / 0.528 GB, free: 16.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.3015, allocations: 0 / 0.528 GB, free: 16.57 MB / 410.7 MB Notification: Performance of Templates: time 0.02786/0.3294, allocations: 20.33 MB / 0.5478 GB, free: 84 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.057641651947051]