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.001935/0.001935, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002103/0.002103, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.573/1.573, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3401/0.3401, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.1.|body.v_0.1.|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.1.|body.v_0.1.|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.393e-06/1.393e-06, allocations: 0 / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.577e-05, allocations: 2.312 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02193/0.02195, allocations: 15.41 MB / 390.7 MB, free: 5.477 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.0342, allocations: 4.903 MB / 395.6 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.03706, allocations: 115.5 kB / 395.7 MB, free: 452 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01232/0.04938, allocations: 5.549 MB / 401.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007506/0.05689, allocations: 2.62 MB / 403.9 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.06008, allocations: 1.326 MB / 405.2 MB, free: 6.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01154/0.07163, allocations: 7.697 MB / 412.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009582/0.08121, allocations: 5.961 MB / 418.9 MB, free: 9.164 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008796/0.09, allocations: 4.023 MB / 422.9 MB, free: 5.133 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00804/0.09804, allocations: 4.1 MB / 427 MB, free: 1.023 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001997/0.1, allocations: 0.582 MB / 427.6 MB, free: 452 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003747/0.1038, allocations: 1.249 MB / 428.8 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005181/0.109, allocations: 3.464 MB / 432.3 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005284/0.1143, allocations: 2.201 MB / 434.5 MB, free: 9.512 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1783/0.2926, allocations: 11.25 MB / 445.7 MB, free: 67.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2926, allocations: 2.562 kB / 445.7 MB, free: 67.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2926, allocations: 1.656 kB / 445.7 MB, free: 67.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003725/0.2929, allocations: 0 / 445.7 MB, free: 67.56 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.01765/0.3106, allocations: 8.981 MB / 454.7 MB, free: 64.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.3106, allocations: 9.281 kB / 454.7 MB, free: 64.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.3227, allocations: 3.511 MB / 458.2 MB, free: 64.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008819/0.3315, allocations: 3.264 MB / 461.5 MB, free: 63.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.3319, allocations: 429 kB / 461.9 MB, free: 63.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002289/0.3342, allocations: 0.5476 MB / 462.5 MB, free: 63.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03593/0.3701, allocations: 14.12 MB / 476.6 MB, free: 57.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002229/0.3704, allocations: 64.23 kB / 476.6 MB, free: 57.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000966/0.3713, allocations: 266.1 kB / 476.9 MB, free: 57.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005104/0.3764, allocations: 3.155 MB / 480.1 MB, free: 57.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03061/0.407, allocations: 8.615 MB / 488.7 MB, free: 56.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07531/0.4824, allocations: 76.36 MB / 0.5518 GB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/0.5012, allocations: 4.598 MB / 0.5563 GB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003912/0.5051, allocations: 0.983 MB / 0.5572 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02219/0.5273, allocations: 5.842 MB / 0.5629 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.491e-05/0.5274, allocations: 59.39 kB / 0.563 GB, free: 10.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=257): time 8.576e-06/0.5274, allocations: 0 / 0.563 GB, free: 10.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.09302/0.6204, allocations: 18.54 MB / 0.5811 GB, free: 8.461 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.6206, allocations: 158.5 kB / 0.5813 GB, free: 8.277 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/0.635, allocations: 6.161 MB / 0.5873 GB, free: 2.121 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005833/0.6356, allocations: 76.73 kB / 0.5873 GB, free: 2.043 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005939/0.6416, allocations: 5.499 MB / 0.5927 GB, free: 12.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002018/0.6436, allocations: 1.25 MB / 0.5939 GB, free: 11.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004388/0.648, allocations: 2.268 MB / 0.5961 GB, free: 9.059 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.6482, allocations: 480.7 kB / 0.5966 GB, free: 8.586 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003197/0.6514, allocations: 1.074 MB / 0.5977 GB, free: 7.512 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.183/0.8344, allocations: 9.541 MB / 0.607 GB, free: 131.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009881/0.8442, allocations: 11.68 MB / 0.6184 GB, free: 120 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002945/0.8445, allocations: 53.78 kB / 0.6184 GB, free: 120 MB / 474.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.0161/0.8606, allocations: 7.906 MB / 0.6261 GB, free: 118.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.8608, allocations: 88.31 kB / 0.6262 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002379/0.861, allocations: 196.7 kB / 0.6264 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.8613, allocations: 262.5 kB / 0.6267 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006967/0.8682, allocations: 2.212 MB / 0.6288 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003059/0.8685, allocations: 389.2 kB / 0.6292 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006972/0.8755, allocations: 0.5429 MB / 0.6297 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/0.8769, allocations: 0.5478 MB / 0.6303 GB, free: 118.2 MB / 474.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.003561/0.8805, allocations: 1.051 MB / 0.6313 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/0.8815, allocations: 0.55 MB / 0.6318 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/0.8849, allocations: 1.843 MB / 0.6336 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/0.885, allocations: 27.44 kB / 0.6337 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.885, allocations: 2.969 kB / 0.6337 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/0.885, allocations: 12.94 kB / 0.6337 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/0.9068, allocations: 10.95 MB / 0.6444 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-05/0.9068, allocations: 32.16 kB / 0.6444 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/0.9088, allocations: 0.5351 MB / 0.6449 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.183e-05/0.9088, allocations: 43.5 kB / 0.645 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.909, allocations: 92.48 kB / 0.6451 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.827e-05/0.9091, allocations: 75.41 kB / 0.6451 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.239e-05/0.9091, allocations: 47 kB / 0.6452 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005329/0.9144, allocations: 4.467 MB / 0.6495 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.9157, allocations: 0.4918 MB / 0.65 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000509/0.9162, allocations: 92.23 kB / 0.6501 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/0.9181, allocations: 181.8 kB / 0.6503 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.9184, allocations: 276.4 kB / 0.6505 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.9185, allocations: 123.2 kB / 0.6507 GB, free: 110.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003811/0.9223, allocations: 2.45 MB / 0.653 GB, free: 109.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9223, allocations: 0 / 0.653 GB, free: 109.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007904/0.9302, allocations: 1.539 MB / 0.6545 GB, free: 109.4 MB / 474.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.0006626/0.9309, allocations: 280.6 kB / 0.6548 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008533/0.9394, allocations: 4.564 MB / 0.6593 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-05/0.9395, allocations: 7.625 kB / 0.6593 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.9413, allocations: 0.9685 MB / 0.6602 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005323/0.9466, allocations: 0.666 MB / 0.6609 GB, free: 107.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/0.9658, allocations: 12.9 MB / 0.6735 GB, free: 95.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004974/0.9708, allocations: 3.891 MB / 0.6773 GB, free: 92.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005507/0.9763, allocations: 2.218 MB / 0.6794 GB, free: 91.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009052/0.9772, allocations: 358.4 kB / 0.6798 GB, free: 90.77 MB / 474.7 MB Notification: Performance of SimCode: time 1.694e-06/0.9772, allocations: 4 kB / 0.6798 GB, free: 90.76 MB / 474.7 MB Notification: Performance of Templates: time 0.06978/1.047, allocations: 34.86 MB / 0.7138 GB, free: 59.66 MB / 474.7 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.950809365953319]