Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.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.001719/0.001719, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.00197/0.00197, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.474/1.474, allocations: 177.2 MB / 204.9 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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.2149/0.2149, allocations: 34.26 MB / 295.5 MB, free: 14.61 MB / 286.1 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.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.88 kB / 443.2 MB, free: 6.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 66.01 MB / 0.4972 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008587/0.3668, allocations: 9.928 MB / 0.5069 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006527/0.3733, allocations: 3.891 MB / 0.5107 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.3746, allocations: 81.88 kB / 0.5108 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003825/0.3784, allocations: 2.431 MB / 0.5132 GB, free: 19.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004709/0.3831, allocations: 1.895 MB / 0.515 GB, free: 19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.385, allocations: 0.7821 MB / 0.5158 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007487/0.3925, allocations: 4.506 MB / 0.5202 GB, free: 17.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004072/0.3966, allocations: 2.765 MB / 0.5229 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002849/0.3994, allocations: 1.582 MB / 0.5244 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004002/0.4034, allocations: 2.265 MB / 0.5266 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.4045, allocations: 332.7 kB / 0.527 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.407, allocations: 0.862 MB / 0.5278 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002216/0.4092, allocations: 1.966 MB / 0.5297 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002254/0.4115, allocations: 1.665 MB / 0.5313 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00797/0.4195, allocations: 6.872 MB / 0.5381 GB, free: 8.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4195, allocations: 0 / 0.5381 GB, free: 8.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4195, allocations: 1.344 kB / 0.5381 GB, free: 8.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000209/0.4197, allocations: 0 / 0.5381 GB, free: 8.344 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.009623/0.4293, allocations: 4.84 MB / 0.5428 GB, free: 4.992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4293, allocations: 13.98 kB / 0.5428 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008032/0.4374, allocations: 2.125 MB / 0.5449 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004985/0.4424, allocations: 2.289 MB / 0.5471 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.4425, allocations: 250.4 kB / 0.5473 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005299/0.443, allocations: 327.8 kB / 0.5477 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/0.462, allocations: 10.35 MB / 0.5578 GB, free: 6.727 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.4621, allocations: 47.58 kB / 0.5578 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004175/0.4625, allocations: 163.8 kB / 0.558 GB, free: 6.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003076/0.4656, allocations: 1.908 MB / 0.5598 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/0.4839, allocations: 8.177 MB / 0.5678 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04877/0.5327, allocations: 36.85 MB / 0.6038 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008501/0.5412, allocations: 2.862 MB / 0.6066 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.5428, allocations: 0.9596 MB / 0.6075 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008598/0.5514, allocations: 4.325 MB / 0.6118 GB, free: 14.13 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.763e-05/0.5514, allocations: 51.5 kB / 0.6118 GB, free: 14.07 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=148): time 4.148e-06/0.5514, allocations: 4 kB / 0.6118 GB, free: 14.07 MB / 0.5138 GB Notification: Performance of matching and sorting (n=160): time 0.0271/0.5785, allocations: 9.903 MB / 0.6215 GB, free: 4.117 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.5787, allocations: 192.9 kB / 0.6217 GB, free: 3.887 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005691/0.5844, allocations: 3.792 MB / 0.6254 GB, free: 96 kB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.5846, allocations: 45.7 kB / 0.6254 GB, free: 44 kB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002659/0.5872, allocations: 3.342 MB / 0.6287 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007072/0.5879, allocations: 0.6552 MB / 0.6293 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.5895, allocations: 1.235 MB / 0.6305 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5896, allocations: 305.1 kB / 0.6308 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/0.5925, allocations: 1.679 MB / 0.6325 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006124/0.5987, allocations: 5.608 MB / 0.6379 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.609, allocations: 7.823 MB / 0.6456 GB, free: 7.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000155/0.6091, allocations: 44 kB / 0.6456 GB, free: 7.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01383/0.6229, allocations: 6.944 MB / 0.6524 GB, free: 492 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.189e-05/0.623, allocations: 64.19 kB / 0.6525 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/0.6232, allocations: 136 kB / 0.6526 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.6234, allocations: 188 kB / 0.6528 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004699/0.6281, allocations: 1.454 MB / 0.6542 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002503/0.6283, allocations: 267 kB / 0.6544 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005049/0.6334, allocations: 339.6 kB / 0.6548 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009538/0.6343, allocations: 387.9 kB / 0.6551 GB, free: 13.67 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (775): * Single equations (assignments): 772 * 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.00467/0.639, allocations: 2.033 MB / 0.6571 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007447/0.6397, allocations: 329.8 kB / 0.6574 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008506/0.6406, allocations: 378.6 kB / 0.6578 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/0.6406, allocations: 16.19 kB / 0.6578 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.6406, allocations: 0 / 0.6578 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.6407, allocations: 15.95 kB / 0.6578 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009076/0.6497, allocations: 4.687 MB / 0.6624 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.807e-05/0.6498, allocations: 23.94 kB / 0.6624 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.651, allocations: 288.3 kB / 0.6627 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.565e-05/0.651, allocations: 24 kB / 0.6627 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.6511, allocations: 48 kB / 0.6628 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.989e-05/0.6512, allocations: 35.86 kB / 0.6628 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.838e-05/0.6512, allocations: 27.88 kB / 0.6628 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/0.6564, allocations: 3.279 MB / 0.666 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.6575, allocations: 313.7 kB / 0.6663 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/0.6577, allocations: 51.98 kB / 0.6664 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.6589, allocations: 79.92 kB / 0.6665 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.6591, allocations: 151.3 kB / 0.6666 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.6592, allocations: 71.98 kB / 0.6667 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003692/0.6629, allocations: 2.16 MB / 0.6688 GB, free: 15.18 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.6629, allocations: 0 / 0.6688 GB, free: 15.18 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004777/0.6677, allocations: 0.8904 MB / 0.6697 GB, free: 14.29 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * 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.0004263/0.6681, allocations: 190.7 kB / 0.6698 GB, free: 14.09 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.00657/0.6747, allocations: 3.71 MB / 0.6735 GB, free: 10.41 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/0.6747, allocations: 4 kB / 0.6735 GB, free: 10.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.6759, allocations: 0.7112 MB / 0.6742 GB, free: 9.695 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.6786, allocations: 419.1 kB / 0.6746 GB, free: 9.285 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.6964, allocations: 8.816 MB / 0.6832 GB, free: 196 kB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004362/0.7008, allocations: 2.633 MB / 0.6857 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004391/0.7052, allocations: 1.775 MB / 0.6875 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/0.7057, allocations: 228.5 kB / 0.6877 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of SimCode: time 1.433e-06/0.7057, allocations: 0 / 0.6877 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.3027/1.008, allocations: 20.47 MB / 0.7077 GB, free: 162.3 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.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: 6.943859715946019]