Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.001417/0.001417, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001608/0.001608, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 47.94 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2029, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01153/0.2144, allocations: 9.341 MB / 441.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00618/0.2206, allocations: 3.701 MB / 445.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005474/0.2212, allocations: 71.69 kB / 445.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00402/0.2252, allocations: 2.188 MB / 447.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.2284, allocations: 1.852 MB / 449.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.2296, allocations: 0.7136 MB / 450.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004521/0.2341, allocations: 4.312 MB / 454.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/0.2367, allocations: 2.447 MB / 457 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.2382, allocations: 1.495 MB / 458.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.2411, allocations: 2.251 MB / 460.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004833/0.2416, allocations: 296 kB / 461 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.243, allocations: 0.8348 MB / 461.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.2446, allocations: 1.846 MB / 463.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.2461, allocations: 1.549 MB / 465.2 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006156/0.2523, allocations: 6.406 MB / 471.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2523, allocations: 0 / 471.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2523, allocations: 0 / 471.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.061e-05/0.2524, allocations: 0 / 471.6 MB, free: 15.26 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: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.007305/0.2597, allocations: 4.606 MB / 476.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2597, allocations: 8.031 kB / 476.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007167/0.2669, allocations: 1.952 MB / 478.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/0.2714, allocations: 2.19 MB / 480.4 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.2716, allocations: 221.6 kB / 480.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005395/0.2721, allocations: 295.8 kB / 480.9 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/0.2863, allocations: 9.68 MB / 490.6 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.2864, allocations: 43.64 kB / 490.6 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003721/0.2868, allocations: 147.8 kB / 490.8 MB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00293/0.2897, allocations: 1.923 MB / 492.7 MB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.3031, allocations: 7.637 MB / 0.4886 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03779/0.3409, allocations: 35.24 MB / 0.523 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/0.3474, allocations: 2.328 MB / 0.5253 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.3487, allocations: 0.7949 MB / 0.5261 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005481/0.3542, allocations: 2.848 MB / 0.5288 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.3542, allocations: 51.16 kB / 0.5289 GB, free: 7.168 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 6.833e-06/0.3542, allocations: 3.984 kB / 0.5289 GB, free: 7.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=152): time 0.1804/0.5346, allocations: 9.086 MB / 0.5378 GB, free: 100.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5346, allocations: 145.4 kB / 0.5379 GB, free: 100.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/0.5389, allocations: 3.695 MB / 0.5415 GB, free: 99.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.539, allocations: 49.02 kB / 0.5416 GB, free: 99.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.5404, allocations: 3.236 MB / 0.5447 GB, free: 97.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.5407, allocations: 0.634 MB / 0.5453 GB, free: 96.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.5417, allocations: 1.176 MB / 0.5465 GB, free: 96.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.5418, allocations: 303.4 kB / 0.5468 GB, free: 96.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.5436, allocations: 1.591 MB / 0.5483 GB, free: 95.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/0.5465, allocations: 5.358 MB / 0.5536 GB, free: 89.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004927/0.5514, allocations: 7.554 MB / 0.5609 GB, free: 83.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-05/0.5515, allocations: 35.91 kB / 0.561 GB, free: 83.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.007239/0.5587, allocations: 6.645 MB / 0.5675 GB, free: 77.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/0.5588, allocations: 64.97 kB / 0.5675 GB, free: 77.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.98e-05/0.5588, allocations: 136 kB / 0.5677 GB, free: 77.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.559, allocations: 183.8 kB / 0.5678 GB, free: 77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/0.5623, allocations: 1.384 MB / 0.5692 GB, free: 75.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001177/0.5624, allocations: 266.2 kB / 0.5694 GB, free: 75.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/0.5653, allocations: 291.3 kB / 0.5697 GB, free: 75.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/0.5656, allocations: 364 kB / 0.5701 GB, free: 74.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (746): * Single equations (assignments): 743 * 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.001819/0.5674, allocations: 1.983 MB / 0.572 GB, free: 73.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.5677, allocations: 317.8 kB / 0.5723 GB, free: 72.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.5682, allocations: 369.2 kB / 0.5727 GB, free: 72.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.5682, allocations: 7.984 kB / 0.5727 GB, free: 72.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5682, allocations: 0 / 0.5727 GB, free: 72.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.5686, allocations: 278.2 kB / 0.5729 GB, free: 72.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.5688, allocations: 28 kB / 0.573 GB, free: 72.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008574/0.5697, allocations: 47.52 kB / 0.573 GB, free: 72.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.5698, allocations: 76.14 kB / 0.5731 GB, free: 72.04 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002261/0.5721, allocations: 1.876 MB / 0.5749 GB, free: 70.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002682/0.5748, allocations: 3.015 MB / 0.5779 GB, free: 67.16 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006828/0.5755, allocations: 0.6284 MB / 0.5785 GB, free: 66.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00198/0.5774, allocations: 2.114 MB / 0.5805 GB, free: 64.42 MB / 446.1 MB Notification: Performance of Backend: time 3.81e-07/0.5774, allocations: 0 / 0.5805 GB, free: 64.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004154/0.5816, allocations: 3.173 MB / 0.5836 GB, free: 61.28 MB / 446.1 MB Notification: Performance of SimCode: time 0.008659/0.5902, allocations: 8.505 MB / 0.5919 GB, free: 52.73 MB / 446.1 MB Notification: Performance of Templates: time 0.05207/0.6423, allocations: 36.57 MB / 0.6276 GB, free: 16.67 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringMassSystem/SpringMassSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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: 5.83397145899653]