Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001451/0.001451, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00135/0.00135, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9578/0.9578, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2499/0.2499, allocations: 34.26 MB / 295.7 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.098e-05, allocations: 4.562 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01182/0.01184, allocations: 15.5 MB / 393.6 MB, free: 3.043 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008908/0.02075, allocations: 4.907 MB / 398.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/0.02341, allocations: 111.5 kB / 398.6 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006131/0.02954, allocations: 5.564 MB / 404.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005917/0.03546, allocations: 2.639 MB / 406.8 MB, free: 5.773 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.03767, allocations: 1.318 MB / 408.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008276/0.04595, allocations: 7.72 MB / 415.8 MB, free: 12.72 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007565/0.05351, allocations: 5.945 MB / 421.8 MB, free: 6.699 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007124/0.06063, allocations: 4.023 MB / 425.8 MB, free: 2.668 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005328/0.06596, allocations: 4.1 MB / 429.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001794/0.06776, allocations: 0.582 MB / 430.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.07075, allocations: 1.245 MB / 431.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003533/0.07428, allocations: 3.468 MB / 435.2 MB, free: 9.254 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004132/0.07841, allocations: 2.201 MB / 437.4 MB, free: 7.047 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.178/0.2564, allocations: 7.216 MB / 444.6 MB, free: 67.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.2564, allocations: 0 / 444.6 MB, free: 67.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2564, allocations: 0 / 444.6 MB, free: 67.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004143/0.2568, allocations: 2.656 kB / 444.6 MB, free: 67.87 MB / 410.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.01006/0.2669, allocations: 8.312 MB / 452.9 MB, free: 64.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2669, allocations: 14.97 kB / 452.9 MB, free: 64.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006108/0.273, allocations: 3.502 MB / 456.4 MB, free: 64.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003801/0.2768, allocations: 3.24 MB / 459.7 MB, free: 63.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.277, allocations: 427.4 kB / 460.1 MB, free: 63.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005496/0.2775, allocations: 0.5536 MB / 460.6 MB, free: 63.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/0.2936, allocations: 13.46 MB / 474.1 MB, free: 59.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002832/0.2938, allocations: 68.02 kB / 474.2 MB, free: 59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001179/0.295, allocations: 274.6 kB / 474.4 MB, free: 59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003206/0.2982, allocations: 3.149 MB / 477.6 MB, free: 58.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02147/0.3197, allocations: 8.258 MB / 485.8 MB, free: 57.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06354/0.3832, allocations: 70.93 MB / 0.5437 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.3933, allocations: 4.531 MB / 0.5481 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.3945, allocations: 0.906 MB / 0.549 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006955/0.4014, allocations: 5.68 MB / 0.5546 GB, free: 4.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.4015, allocations: 63.39 kB / 0.5546 GB, free: 4.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=257): time 3.596e-06/0.4015, allocations: 0 / 0.5546 GB, free: 4.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=291): time 0.02956/0.431, allocations: 18.13 MB / 0.5723 GB, free: 2.434 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.4311, allocations: 158.4 kB / 0.5725 GB, free: 2.254 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004344/0.4354, allocations: 4.896 MB / 0.5773 GB, free: 13.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-05/0.4355, allocations: 73.7 kB / 0.5773 GB, free: 13.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002255/0.4378, allocations: 5.223 MB / 0.5824 GB, free: 8.102 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006325/0.4384, allocations: 1.184 MB / 0.5836 GB, free: 6.934 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/0.44, allocations: 1.936 MB / 0.5855 GB, free: 4.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.4401, allocations: 480.7 kB / 0.5859 GB, free: 4.508 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.4415, allocations: 0.9355 MB / 0.5869 GB, free: 3.566 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004883/0.4463, allocations: 9.132 MB / 0.5958 GB, free: 6.758 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007435/0.4538, allocations: 11.13 MB / 0.6067 GB, free: 7.934 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.844e-05/0.4538, allocations: 56 kB / 0.6067 GB, free: 7.879 MB / 490.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.008781/0.4626, allocations: 7.647 MB / 0.6142 GB, free: 240 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.4627, allocations: 92.03 kB / 0.6143 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1602/0.6229, allocations: 194.4 kB / 0.6144 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/0.6231, allocations: 262.6 kB / 0.6147 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00469/0.6278, allocations: 2.203 MB / 0.6168 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001806/0.628, allocations: 390.7 kB / 0.6172 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/0.6315, allocations: 0.5469 MB / 0.6178 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004522/0.632, allocations: 0.5429 MB / 0.6183 GB, free: 145.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * 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 (1183): * Single equations (assignments): 1180 * 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.001835/0.6338, allocations: 0.9447 MB / 0.6192 GB, free: 145.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005219/0.6344, allocations: 0.5508 MB / 0.6197 GB, free: 145.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.6363, allocations: 1.712 MB / 0.6214 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.6364, allocations: 35.69 kB / 0.6214 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.6364, allocations: 3.562 kB / 0.6215 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.6364, allocations: 19.47 kB / 0.6215 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009343/0.6457, allocations: 9.11 MB / 0.6304 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-05/0.6457, allocations: 31.34 kB / 0.6304 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009838/0.6467, allocations: 0.5363 MB / 0.6309 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-05/0.6468, allocations: 43.16 kB / 0.631 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.901e-05/0.6469, allocations: 88.47 kB / 0.631 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.611e-05/0.6469, allocations: 68.94 kB / 0.6311 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.642e-05/0.6469, allocations: 49.84 kB / 0.6312 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.6496, allocations: 4.16 MB / 0.6352 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/0.6501, allocations: 0.4927 MB / 0.6357 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.6503, allocations: 91.38 kB / 0.6358 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000982/0.6513, allocations: 181.1 kB / 0.636 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.6515, allocations: 281.6 kB / 0.6362 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.874e-05/0.6516, allocations: 121 kB / 0.6363 GB, free: 140.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002424/0.654, allocations: 2.052 MB / 0.6384 GB, free: 140 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.654, allocations: 0 / 0.6384 GB, free: 140 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004629/0.6587, allocations: 1.539 MB / 0.6399 GB, free: 140 MB / 490.7 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.0003976/0.659, allocations: 274.6 kB / 0.6401 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004972/0.664, allocations: 4.054 MB / 0.6441 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.664, allocations: 9.844 kB / 0.6441 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009047/0.6649, allocations: 0.824 MB / 0.6449 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.6671, allocations: 0.6781 MB / 0.6456 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.6782, allocations: 12.73 MB / 0.658 GB, free: 131.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.6796, allocations: 1.952 MB / 0.6599 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00286/0.6825, allocations: 2.216 MB / 0.6621 GB, free: 130.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005227/0.683, allocations: 361.7 kB / 0.6624 GB, free: 130.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.323e-06/0.683, allocations: 4 kB / 0.6624 GB, free: 130.3 MB / 490.7 MB Notification: Performance of Templates: time 0.05092/0.7339, allocations: 34.91 MB / 0.6965 GB, free: 105.1 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.1426323829218745]