Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 109.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 189 kB / 22.98 MB, free: 5.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2532/0.2532, allocations: 44.24 MB / 330.2 MB, free: 9.551 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 74.7 kB / 468 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1625, allocations: 61.04 MB / 0.5166 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01504/0.1775, allocations: 11.52 MB / 0.5278 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1883, allocations: 4.082 MB / 0.5318 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002575/0.1908, allocations: 79.62 kB / 0.5319 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006022/0.1969, allocations: 2.55 MB / 0.5344 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006923/0.2038, allocations: 1.93 MB / 0.5363 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.2069, allocations: 0.7916 MB / 0.5371 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3177/0.5246, allocations: 4.443 MB / 0.5414 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004412/0.529, allocations: 2.56 MB / 0.5439 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.533, allocations: 1.61 MB / 0.5455 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005529/0.5385, allocations: 2.413 MB / 0.5478 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00185/0.5403, allocations: 333.6 kB / 0.5481 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003846/0.5442, allocations: 1.004 MB / 0.5491 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004525/0.5487, allocations: 1.99 MB / 0.5511 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007557/0.5563, allocations: 2.255 MB / 0.5533 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.57, allocations: 6.906 MB / 0.56 GB, free: 6.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.57, allocations: 5.094 kB / 0.56 GB, free: 6.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.57, allocations: 1.25 kB / 0.56 GB, free: 6.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000338/0.5703, allocations: 0 / 0.56 GB, free: 6.43 MB / 414.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.0176/0.5879, allocations: 4.889 MB / 0.5648 GB, free: 3.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.588, allocations: 8.25 kB / 0.5648 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009537/0.5975, allocations: 1.974 MB / 0.5667 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007513/0.605, allocations: 2.419 MB / 0.5691 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/0.6053, allocations: 251.1 kB / 0.5693 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001883/0.6072, allocations: 335.2 kB / 0.5696 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02596/0.6331, allocations: 10.2 MB / 0.5796 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/0.6333, allocations: 54.5 kB / 0.5797 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005329/0.6338, allocations: 156.4 kB / 0.5798 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002983/0.6368, allocations: 1.904 MB / 0.5817 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/0.6588, allocations: 8.143 MB / 0.5896 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06836/0.7272, allocations: 39.21 MB / 0.6279 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0088/0.736, allocations: 2.696 MB / 0.6306 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/0.7384, allocations: 0.9591 MB / 0.6315 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01228/0.7507, allocations: 4.564 MB / 0.6359 GB, free: 4.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.593e-05/0.7508, allocations: 55.03 kB / 0.636 GB, free: 4.457 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 5.55e-06/0.7508, allocations: 4 kB / 0.636 GB, free: 4.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02673/0.7775, allocations: 9.559 MB / 0.6453 GB, free: 10.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.7777, allocations: 192.9 kB / 0.6455 GB, free: 10.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008789/0.7865, allocations: 4.095 MB / 0.6495 GB, free: 6.523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000524/0.787, allocations: 45.7 kB / 0.6496 GB, free: 6.473 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00374/0.7907, allocations: 3.309 MB / 0.6528 GB, free: 3.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.7919, allocations: 0.6643 MB / 0.6534 GB, free: 2.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002307/0.7942, allocations: 1.226 MB / 0.6546 GB, free: 1.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.7944, allocations: 308.7 kB / 0.6549 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003235/0.7977, allocations: 1.656 MB / 0.6566 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006884/0.8046, allocations: 5.525 MB / 0.6619 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/0.817, allocations: 7.78 MB / 0.6695 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000192/0.8172, allocations: 40 kB / 0.6696 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01849/0.8357, allocations: 6.925 MB / 0.6763 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.8358, allocations: 65.09 kB / 0.6764 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002168/0.836, allocations: 136 kB / 0.6765 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.8362, allocations: 184.9 kB / 0.6767 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005413/0.8416, allocations: 1.435 MB / 0.6781 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002932/0.8419, allocations: 270.9 kB / 0.6784 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00511/0.847, allocations: 295.7 kB / 0.6787 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009335/0.848, allocations: 376 kB / 0.679 GB, free: 4.57 MB / 0.5137 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.004449/0.8524, allocations: 2.048 MB / 0.681 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008675/0.8533, allocations: 365.6 kB / 0.6814 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.856, allocations: 1.333 MB / 0.6827 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/0.8561, allocations: 19.94 kB / 0.6827 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.8561, allocations: 6.188 kB / 0.6827 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.8561, allocations: 7.969 kB / 0.6827 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.8682, allocations: 5.802 MB / 0.6884 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/0.8683, allocations: 24.03 kB / 0.6884 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.8694, allocations: 279.5 kB / 0.6887 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.964e-05/0.8694, allocations: 24 kB / 0.6887 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.701e-05/0.8695, allocations: 48 kB / 0.6887 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.042e-05/0.8695, allocations: 35.86 kB / 0.6888 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.703e-05/0.8695, allocations: 30.45 kB / 0.6888 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005012/0.8746, allocations: 3.301 MB / 0.692 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/0.8764, allocations: 477.3 kB / 0.6925 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004117/0.8768, allocations: 51.92 kB / 0.6925 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.878, allocations: 59.95 kB / 0.6926 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.8782, allocations: 151.4 kB / 0.6927 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.8783, allocations: 67.98 kB / 0.6928 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005156/0.8835, allocations: 2.527 MB / 0.6952 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.8835, allocations: 0 / 0.6952 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006787/0.8903, allocations: 0.9132 MB / 0.6961 GB, free: 2.488 MB / 0.5294 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.0006965/0.891, allocations: 194.7 kB / 0.6963 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008174/0.8991, allocations: 3.675 MB / 0.6999 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.839e-05/0.8992, allocations: 4.75 kB / 0.6999 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.9006, allocations: 0.7045 MB / 0.7006 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/0.9044, allocations: 465.4 kB / 0.7011 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/0.9241, allocations: 8.902 MB / 0.7097 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004365/0.9285, allocations: 3.181 MB / 0.7129 GB, free: 1.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004529/0.933, allocations: 1.82 MB / 0.7146 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007369/0.9338, allocations: 243.4 kB / 0.7149 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of SimCode: time 2.374e-06/0.9338, allocations: 0 / 0.7149 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.07334/1.007, allocations: 29.65 MB / 0.7438 GB, free: 1.586 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.353796946816146]