Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.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.0009052/0.0009052, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009267/0.0009267, allocations: 164.4 kB / 24.91 MB, free: 8.715 MB / 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.9738/0.9738, allocations: 177 MB / 205.2 MB, free: 5.016 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.2671/0.2671, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 326 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.367e-05, allocations: 3.297 kB / 326 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01126/0.01127, allocations: 15.23 MB / 341.2 MB, free: 7.848 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009094/0.02036, allocations: 5.118 MB / 346.3 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.02266, allocations: 115.5 kB / 346.4 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005363/0.02803, allocations: 5.459 MB / 351.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004688/0.03272, allocations: 2.631 MB / 354.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.03459, allocations: 1.322 MB / 355.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007135/0.04173, allocations: 7.752 MB / 363.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005603/0.04733, allocations: 5.805 MB / 369.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005551/0.05288, allocations: 4.054 MB / 373.4 MB, free: 7.418 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004601/0.05748, allocations: 3.823 MB / 377.3 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.05895, allocations: 0.5742 MB / 377.8 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.06107, allocations: 1.268 MB / 379.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0025/0.06357, allocations: 3.452 MB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00262/0.06619, allocations: 2.197 MB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006797/0.07298, allocations: 7.181 MB / 391.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.07299, allocations: 0 / 391.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.07299, allocations: 0 / 391.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002391/0.07323, allocations: 0 / 391.9 MB, free: 4.871 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: 2522 * Number of variables: 2522 Notification: Performance of Generate backend data structure: time 0.008255/0.08148, allocations: 7.194 MB / 399.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.08153, allocations: 8.031 kB / 399.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.08599, allocations: 1.757 MB / 400.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.08945, allocations: 2.745 MB / 403.6 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.08967, allocations: 423.3 kB / 404.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006/0.09027, allocations: 0.5547 MB / 404.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/0.1031, allocations: 8.851 MB / 413.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/0.1032, allocations: 75.38 kB / 413.5 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005666/0.1038, allocations: 267.8 kB / 413.8 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002257/0.106, allocations: 2.791 MB / 416.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.1169, allocations: 4.51 MB / 421.1 MB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3114/0.4283, allocations: 49.95 MB / 471 MB, free: 51.43 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006472/0.4348, allocations: 3.319 MB / 474.4 MB, free: 51.2 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008789/0.4357, allocations: 0.6585 MB / 475 MB, free: 51.16 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006841/0.4425, allocations: 5.069 MB / 480.1 MB, free: 50.22 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005167/0.4477, allocations: 2.77 MB / 482.9 MB, free: 49.94 MB / 410.8 MB Notification: Performance of pre-optimization done (n=260): time 5.892e-06/0.4477, allocations: 0 / 482.9 MB, free: 49.94 MB / 410.8 MB Notification: Performance of matching and sorting (n=294): time 0.02124/0.4689, allocations: 10.36 MB / 493.2 MB, free: 47.1 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.469, allocations: 159.9 kB / 493.4 MB, free: 46.91 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003227/0.4722, allocations: 4.47 MB / 497.9 MB, free: 43.81 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002215/0.4724, allocations: 72.33 kB / 497.9 MB, free: 43.77 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002106/0.4745, allocations: 4.812 MB / 0.491 GB, free: 39.54 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007471/0.4753, allocations: 1.163 MB / 0.4921 GB, free: 38.58 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.4764, allocations: 1.763 MB / 0.4938 GB, free: 37.57 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.551e-05/0.4765, allocations: 301.1 kB / 0.4941 GB, free: 37.27 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.4779, allocations: 1.116 MB / 0.4952 GB, free: 36.35 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/0.4807, allocations: 6.611 MB / 0.5016 GB, free: 27.33 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005169/0.4859, allocations: 8.585 MB / 0.51 GB, free: 16.98 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.623e-05/0.486, allocations: 60 kB / 0.5101 GB, free: 16.92 MB / 410.8 MB Notification: Performance of matching and sorting (n=1230) (initialization): time 0.006282/0.4923, allocations: 6.2 MB / 0.5161 GB, free: 11.49 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.567e-05/0.4923, allocations: 125.6 kB / 0.5163 GB, free: 11.36 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-05/0.4924, allocations: 204.1 kB / 0.5165 GB, free: 11.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.4926, allocations: 264 kB / 0.5167 GB, free: 10.9 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003644/0.4962, allocations: 2.331 MB / 0.519 GB, free: 8.57 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000127/0.4963, allocations: 394.5 kB / 0.5194 GB, free: 8.184 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/0.4998, allocations: 438 kB / 0.5198 GB, free: 7.762 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003702/0.5002, allocations: 488 kB / 0.5202 GB, free: 7.285 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: 83 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1205): * Single equations (assignments): 1201 * Array equations: 3 * Algorithm blocks: 1 * 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.001598/0.5018, allocations: 0.8931 MB / 0.5211 GB, free: 6.379 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004693/0.5022, allocations: 358.1 kB / 0.5215 GB, free: 6.031 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.5035, allocations: 1.322 MB / 0.5227 GB, free: 4.695 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.5035, allocations: 35.33 kB / 0.5228 GB, free: 4.664 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5035, allocations: 0 / 0.5228 GB, free: 4.664 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.5036, allocations: 15.95 kB / 0.5228 GB, free: 4.648 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008/0.5116, allocations: 7.683 MB / 0.5303 GB, free: 13.37 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/0.5116, allocations: 32 kB / 0.5303 GB, free: 13.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.5129, allocations: 0.5949 MB / 0.5309 GB, free: 12.74 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.04e-05/0.5129, allocations: 47.98 kB / 0.531 GB, free: 12.7 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.513, allocations: 89.56 kB / 0.531 GB, free: 12.61 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.97e-05/0.5131, allocations: 67.72 kB / 0.5311 GB, free: 12.54 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.386e-05/0.5131, allocations: 47.81 kB / 0.5312 GB, free: 12.5 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003181/0.5163, allocations: 3.11 MB / 0.5342 GB, free: 8.793 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007281/0.517, allocations: 487.4 kB / 0.5347 GB, free: 8.324 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003262/0.5173, allocations: 91.97 kB / 0.5347 GB, free: 8.234 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009378/0.5183, allocations: 108 kB / 0.5348 GB, free: 8.129 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.5186, allocations: 279.8 kB / 0.5351 GB, free: 7.855 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.5187, allocations: 105.5 kB / 0.5352 GB, free: 7.758 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001878/0.5206, allocations: 1.864 MB / 0.537 GB, free: 6.102 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5206, allocations: 0 / 0.537 GB, free: 6.102 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005541/0.5261, allocations: 1.555 MB / 0.5385 GB, free: 4.547 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004936/0.5266, allocations: 257.8 kB / 0.5388 GB, free: 4.293 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004632/0.5312, allocations: 3.707 MB / 0.5424 GB, free: 0.6875 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002757/0.5315, allocations: 124.2 kB / 0.5425 GB, free: 0.5547 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008773/0.5324, allocations: 0.7209 MB / 0.5432 GB, free: 15.87 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/0.5352, allocations: 0.6724 MB / 0.5439 GB, free: 15.23 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/0.553, allocations: 12.63 MB / 0.5562 GB, free: 2.141 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002393/0.5554, allocations: 1.939 MB / 0.5581 GB, free: 184 kB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002276/0.5577, allocations: 0.7682 MB / 0.5589 GB, free: 15.41 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.5589, allocations: 0.8331 MB / 0.5597 GB, free: 14.58 MB / 458.8 MB Notification: Performance of SimCode: time 1.573e-06/0.5589, allocations: 0 / 0.5597 GB, free: 14.58 MB / 458.8 MB Notification: Performance of Templates: time 0.06542/0.6243, allocations: 40.33 MB / 0.5991 GB, free: 6.828 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.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.61057838704437]