Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 168.4 kB / 24.91 MB, free: 8.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9854/0.9854, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2575/0.2575, allocations: 32.81 MB / 294.6 MB, free: 1.258 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.426e-05, allocations: 3.406 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01267/0.01269, allocations: 15.16 MB / 338.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009877/0.02257, allocations: 5.092 MB / 343.5 MB, free: 5.309 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.02494, allocations: 119.4 kB / 343.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006112/0.03105, allocations: 5.451 MB / 349.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006297/0.03735, allocations: 2.616 MB / 351.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.03989, allocations: 1.326 MB / 353 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008536/0.04843, allocations: 7.703 MB / 360.7 MB, free: 4.055 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006757/0.05518, allocations: 5.778 MB / 366.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007295/0.06248, allocations: 4.035 MB / 370.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006276/0.06875, allocations: 3.803 MB / 374.4 MB, free: 6.309 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001999/0.07075, allocations: 0.5703 MB / 374.9 MB, free: 5.738 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.07357, allocations: 1.276 MB / 376.2 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00326/0.07683, allocations: 3.436 MB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003463/0.0803, allocations: 2.189 MB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00966/0.08996, allocations: 7.15 MB / 389 MB, free: 7.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.08996, allocations: 0 / 389 MB, free: 7.645 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.08996, allocations: 0 / 389 MB, free: 7.645 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003741/0.09034, allocations: 0 / 389 MB, free: 7.645 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01003/0.1004, allocations: 7.109 MB / 396.1 MB, free: 480 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1004, allocations: 8.031 kB / 396.1 MB, free: 472 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/0.1053, allocations: 1.764 MB / 397.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003877/0.1091, allocations: 2.741 MB / 400.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.1094, allocations: 427.3 kB / 401 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008181/0.1102, allocations: 0.5508 MB / 401.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.1259, allocations: 8.82 MB / 410.4 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002062/0.1262, allocations: 71.38 kB / 410.5 MB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007874/0.1269, allocations: 267.8 kB / 410.7 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002601/0.1295, allocations: 2.798 MB / 413.5 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.1416, allocations: 4.499 MB / 418 MB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3285/0.4702, allocations: 49.93 MB / 467.9 MB, free: 53.53 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006215/0.4764, allocations: 3.295 MB / 471.2 MB, free: 53.3 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000732/0.4771, allocations: 0.6621 MB / 471.9 MB, free: 53.26 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005729/0.4828, allocations: 5.063 MB / 477 MB, free: 52.32 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.4829, allocations: 73.39 kB / 477 MB, free: 52.28 MB / 410.8 MB Notification: Performance of pre-optimization done (n=257): time 3.787e-06/0.4829, allocations: 0 / 477 MB, free: 52.28 MB / 410.8 MB Notification: Performance of matching and sorting (n=291): time 0.01903/0.5019, allocations: 10.33 MB / 487.4 MB, free: 51.38 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.5019, allocations: 156 kB / 487.5 MB, free: 51.22 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.5045, allocations: 4.471 MB / 492 MB, free: 49 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.219e-05/0.5046, allocations: 70.95 kB / 492.1 MB, free: 48.96 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.5058, allocations: 4.808 MB / 496.9 MB, free: 45 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004001/0.5062, allocations: 1.153 MB / 498 MB, free: 44.05 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.5074, allocations: 1.756 MB / 499.8 MB, free: 43.04 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.152e-05/0.5074, allocations: 308.8 kB / 0.4884 GB, free: 42.74 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.5088, allocations: 1.088 MB / 0.4894 GB, free: 41.85 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/0.5114, allocations: 6.579 MB / 0.4958 GB, free: 33.05 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004378/0.5158, allocations: 8.554 MB / 0.5042 GB, free: 23 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.51e-05/0.5158, allocations: 56 kB / 0.5043 GB, free: 22.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.004939/0.5208, allocations: 6.128 MB / 0.5102 GB, free: 17.81 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/0.5208, allocations: 88 kB / 0.5103 GB, free: 17.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.772e-05/0.5209, allocations: 200 kB / 0.5105 GB, free: 17.53 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000112/0.521, allocations: 268.8 kB / 0.5108 GB, free: 17.27 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/0.5243, allocations: 2.324 MB / 0.513 GB, free: 14.94 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001292/0.5245, allocations: 398.5 kB / 0.5134 GB, free: 14.55 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.5269, allocations: 415.6 kB / 0.5138 GB, free: 14.14 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003173/0.5272, allocations: 486.7 kB / 0.5143 GB, free: 13.67 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 913 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1201): * Single equations (assignments): 1198 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001369/0.5286, allocations: 0.9064 MB / 0.5152 GB, free: 12.76 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/0.5289, allocations: 343.6 kB / 0.5155 GB, free: 12.43 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.5301, allocations: 1.314 MB / 0.5168 GB, free: 11.1 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.5301, allocations: 32 kB / 0.5168 GB, free: 11.07 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5301, allocations: 0 / 0.5168 GB, free: 11.07 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.5302, allocations: 15.89 kB / 0.5168 GB, free: 11.05 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006604/0.5368, allocations: 7.778 MB / 0.5244 GB, free: 3.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.5368, allocations: 32 kB / 0.5244 GB, free: 3.648 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009925/0.5378, allocations: 0.5798 MB / 0.525 GB, free: 3.074 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.866e-05/0.5378, allocations: 44 kB / 0.5251 GB, free: 3.031 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.077e-05/0.5379, allocations: 87.98 kB / 0.5251 GB, free: 2.945 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.088e-05/0.5379, allocations: 59.8 kB / 0.5252 GB, free: 2.887 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-05/0.5379, allocations: 53.98 kB / 0.5252 GB, free: 2.836 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.5399, allocations: 3.403 MB / 0.5286 GB, free: 14.86 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.5403, allocations: 491.8 kB / 0.529 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.5406, allocations: 91.97 kB / 0.5291 GB, free: 14.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008522/0.5415, allocations: 99.97 kB / 0.5292 GB, free: 14.2 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.5417, allocations: 279.8 kB / 0.5295 GB, free: 13.93 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.941e-05/0.5418, allocations: 99.98 kB / 0.5296 GB, free: 13.83 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001491/0.5433, allocations: 1.848 MB / 0.5314 GB, free: 12.19 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5433, allocations: 0 / 0.5314 GB, free: 12.19 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004007/0.5473, allocations: 1.549 MB / 0.5329 GB, free: 10.64 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (275): * Single equations (assignments): 272 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003738/0.5477, allocations: 259.6 kB / 0.5332 GB, free: 10.38 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.003281/0.551, allocations: 3.614 MB / 0.5367 GB, free: 6.895 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001858/0.5512, allocations: 128.2 kB / 0.5368 GB, free: 6.762 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006388/0.5518, allocations: 0.7076 MB / 0.5375 GB, free: 6.074 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.5537, allocations: 0.6621 MB / 0.5381 GB, free: 5.445 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.5655, allocations: 12.61 MB / 0.5505 GB, free: 8.371 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.5671, allocations: 1.931 MB / 0.5523 GB, free: 6.418 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.001627/0.5687, allocations: 0.7706 MB / 0.5531 GB, free: 5.648 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.5698, allocations: 0.833 MB / 0.5539 GB, free: 4.812 MB / 442.8 MB Notification: Performance of SimCode: time 1.643e-06/0.5698, allocations: 0 / 0.5539 GB, free: 4.812 MB / 442.8 MB Notification: Performance of Templates: time 0.06379/0.6336, allocations: 39.46 MB / 0.5924 GB, free: 13.99 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.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.596587320789695]