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.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.001505/0.001505, allocations: 77.16 kB / 19.93 MB, free: 1.781 MB / 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.001721/0.001721, allocations: 162.4 kB / 23.21 MB, free: 4.906 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.5/1.5, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.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.2386/0.2386, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.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.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_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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.503e-05, allocations: 2.281 kB / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01539/0.01543, allocations: 10 MB / 417.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.02781, allocations: 3.886 MB / 421.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003181/0.03099, allocations: 79.62 kB / 421.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006652/0.03764, allocations: 2.565 MB / 423.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007237/0.04488, allocations: 1.991 MB / 425.9 MB, free: 416 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.04759, allocations: 0.8577 MB / 426.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009047/0.05664, allocations: 5.087 MB / 431.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006697/0.06334, allocations: 3.286 MB / 435.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006947/0.07028, allocations: 2.471 MB / 437.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007045/0.07733, allocations: 2.514 MB / 440.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001949/0.07928, allocations: 340 kB / 440.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003707/0.08298, allocations: 0.94 MB / 441.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003892/0.08687, allocations: 2.088 MB / 443.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004644/0.09152, allocations: 1.336 MB / 444.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.1038, allocations: 6.942 MB / 451.7 MB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1038, allocations: 4 kB / 451.7 MB, free: 6.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1038, allocations: 0 / 451.7 MB, free: 6.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003833/0.1042, allocations: 0 / 451.7 MB, free: 6.441 MB / 382.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.01699/0.1212, allocations: 4.946 MB / 456.7 MB, free: 1.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.1213, allocations: 12.03 kB / 456.7 MB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009794/0.1311, allocations: 2.127 MB / 458.8 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0067/0.1378, allocations: 2.367 MB / 461.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.1381, allocations: 250.7 kB / 461.4 MB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/0.1396, allocations: 328.2 kB / 461.8 MB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02561/0.1652, allocations: 10.33 MB / 472.1 MB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002555/0.1655, allocations: 51.58 kB / 472.1 MB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001338/0.1668, allocations: 159.8 kB / 472.3 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2739/0.4407, allocations: 1.897 MB / 474.2 MB, free: 65.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/0.4619, allocations: 8.149 MB / 482.3 MB, free: 62.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04712/0.509, allocations: 36.97 MB / 0.5071 GB, free: 32.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/0.5164, allocations: 2.826 MB / 0.5099 GB, free: 30 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.5177, allocations: 0.9683 MB / 0.5109 GB, free: 29.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007026/0.5248, allocations: 4.417 MB / 0.5152 GB, free: 24.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.5248, allocations: 51.5 kB / 0.5152 GB, free: 24.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 4.308e-06/0.5248, allocations: 0 / 0.5152 GB, free: 24.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=160): time 0.02285/0.5477, allocations: 9.977 MB / 0.525 GB, free: 14.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/0.5477, allocations: 204.8 kB / 0.5252 GB, free: 14.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005094/0.5528, allocations: 4.036 MB / 0.5291 GB, free: 10.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002978/0.5531, allocations: 45.7 kB / 0.5291 GB, free: 10.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/0.5549, allocations: 3.306 MB / 0.5324 GB, free: 7.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007083/0.5556, allocations: 0.6497 MB / 0.533 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/0.5569, allocations: 1.211 MB / 0.5342 GB, free: 5.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.557, allocations: 305.1 kB / 0.5345 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.5593, allocations: 1.671 MB / 0.5361 GB, free: 3.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007197/0.5665, allocations: 5.588 MB / 0.5416 GB, free: 11.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/0.5783, allocations: 7.808 MB / 0.5492 GB, free: 2.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001481/0.5785, allocations: 44 kB / 0.5492 GB, free: 2.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01479/0.5933, allocations: 6.926 MB / 0.556 GB, free: 11.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.5934, allocations: 64 kB / 0.5561 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002605/0.5937, allocations: 136 kB / 0.5562 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/0.5939, allocations: 180.8 kB / 0.5564 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004823/0.5987, allocations: 1.45 MB / 0.5578 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002993/0.599, allocations: 267 kB / 0.558 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005367/0.6044, allocations: 415.4 kB / 0.5584 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008936/0.6053, allocations: 376 kB / 0.5588 GB, free: 8.359 MB / 430.1 MB 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.004632/0.6099, allocations: 2.044 MB / 0.5608 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/0.611, allocations: 337.7 kB / 0.5611 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/0.614, allocations: 1.302 MB / 0.5624 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.014e-05/0.6141, allocations: 16 kB / 0.5624 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.6141, allocations: 0 / 0.5624 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/0.6141, allocations: 11.97 kB / 0.5624 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.6271, allocations: 4.75 MB / 0.567 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.796e-05/0.6272, allocations: 16 kB / 0.5671 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.6284, allocations: 275.5 kB / 0.5673 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-05/0.6284, allocations: 28 kB / 0.5673 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/0.6286, allocations: 48.59 kB / 0.5674 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.004e-05/0.6286, allocations: 39.8 kB / 0.5674 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-05/0.6287, allocations: 35.81 kB / 0.5675 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005434/0.6341, allocations: 3.219 MB / 0.5706 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/0.6361, allocations: 465.6 kB / 0.571 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/0.6371, allocations: 54.23 kB / 0.5711 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/0.6393, allocations: 123.8 kB / 0.5712 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.6396, allocations: 151.3 kB / 0.5714 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.6397, allocations: 68 kB / 0.5714 GB, free: 10.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005686/0.6454, allocations: 2.351 MB / 0.5737 GB, free: 8.559 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6454, allocations: 0 / 0.5737 GB, free: 8.559 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006872/0.6522, allocations: 1.012 MB / 0.5747 GB, free: 7.547 MB / 446.1 MB 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.0008017/0.653, allocations: 222.4 kB / 0.5749 GB, free: 7.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008289/0.6613, allocations: 3.69 MB / 0.5785 GB, free: 3.676 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.319e-05/0.6614, allocations: 4.812 kB / 0.5785 GB, free: 3.672 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.6628, allocations: 0.7096 MB / 0.5792 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004372/0.6671, allocations: 420.2 kB / 0.5796 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/0.69, allocations: 8.717 MB / 0.5881 GB, free: 9.574 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005827/0.6958, allocations: 2.646 MB / 0.5907 GB, free: 6.883 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00503/0.7008, allocations: 1.783 MB / 0.5925 GB, free: 5.098 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007557/0.7016, allocations: 228.5 kB / 0.5927 GB, free: 4.875 MB / 462.1 MB Notification: Performance of SimCode: time 1.714e-06/0.7016, allocations: 4 kB / 0.5927 GB, free: 4.871 MB / 462.1 MB Notification: Performance of Templates: time 0.06397/0.7656, allocations: 22.32 MB / 0.6145 GB, free: 14.7 MB / 494.1 MB " [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.058112725615501]