Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.001268/0.001268, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001401/0.001401, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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(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-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2312, allocations: 53.32 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01399/0.2452, allocations: 10.75 MB / 442.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008324/0.2535, allocations: 3.915 MB / 446.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.255, allocations: 63.81 kB / 446.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004743/0.2597, allocations: 2.27 MB / 449.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.2645, allocations: 1.84 MB / 450.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.2662, allocations: 0.7136 MB / 451.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006132/0.2724, allocations: 4.316 MB / 455.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003351/0.2757, allocations: 2.212 MB / 458.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.2782, allocations: 1.472 MB / 459.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00355/0.2817, allocations: 2.255 MB / 461.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008436/0.2826, allocations: 292 kB / 462.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.2848, allocations: 0.9479 MB / 463.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002349/0.2872, allocations: 1.854 MB / 465 MB, free: 6.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00319/0.2903, allocations: 2.081 MB / 467 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007561/0.2979, allocations: 6.376 MB / 473.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2979, allocations: 0 / 473.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2979, allocations: 0 / 473.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001603/0.2981, allocations: 0 / 473.4 MB, free: 13.83 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.008651/0.3067, allocations: 4.681 MB / 478.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3068, allocations: 8.922 kB / 478.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007526/0.3143, allocations: 1.948 MB / 480 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005048/0.3194, allocations: 2.243 MB / 482.3 MB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.3196, allocations: 233.6 kB / 482.5 MB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005537/0.3201, allocations: 295.8 kB / 482.8 MB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.3356, allocations: 9.659 MB / 492.5 MB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.3358, allocations: 51.56 kB / 492.5 MB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003847/0.3361, allocations: 143.9 kB / 492.7 MB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003041/0.3392, allocations: 1.915 MB / 494.6 MB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.3542, allocations: 7.649 MB / 0.4904 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04686/0.4011, allocations: 37.68 MB / 0.5272 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007407/0.4085, allocations: 2.8 MB / 0.53 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.4099, allocations: 0.8013 MB / 0.5308 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007058/0.417, allocations: 3.855 MB / 0.5345 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.417, allocations: 43.22 kB / 0.5346 GB, free: 1.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 3.416e-06/0.417, allocations: 0 / 0.5346 GB, free: 1.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=152): time 0.1999/0.6169, allocations: 9.271 MB / 0.5436 GB, free: 98.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.6169, allocations: 141.9 kB / 0.5438 GB, free: 98.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004148/0.6211, allocations: 3.921 MB / 0.5476 GB, free: 97.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.38e-05/0.6212, allocations: 45.67 kB / 0.5476 GB, free: 97.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.6224, allocations: 3.206 MB / 0.5508 GB, free: 94.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.6227, allocations: 0.6398 MB / 0.5514 GB, free: 94.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009543/0.6237, allocations: 1.173 MB / 0.5525 GB, free: 93.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.385e-05/0.6237, allocations: 307.7 kB / 0.5528 GB, free: 93.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.6256, allocations: 1.583 MB / 0.5544 GB, free: 93.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002875/0.6285, allocations: 5.363 MB / 0.5596 GB, free: 87.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00537/0.6339, allocations: 7.554 MB / 0.567 GB, free: 78.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-05/0.6339, allocations: 40 kB / 0.567 GB, free: 78.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.008402/0.6423, allocations: 6.684 MB / 0.5736 GB, free: 72.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.417e-05/0.6424, allocations: 67.12 kB / 0.5736 GB, free: 72.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.618e-05/0.6425, allocations: 136 kB / 0.5737 GB, free: 72.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001167/0.6426, allocations: 183.9 kB / 0.5739 GB, free: 72.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003483/0.6461, allocations: 1.384 MB / 0.5753 GB, free: 70.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001233/0.6462, allocations: 263.3 kB / 0.5755 GB, free: 70.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/0.6496, allocations: 287.7 kB / 0.5758 GB, free: 70.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/0.6499, allocations: 364 kB / 0.5761 GB, free: 70.01 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.002045/0.652, allocations: 1.985 MB / 0.5781 GB, free: 68.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.6524, allocations: 349.7 kB / 0.5784 GB, free: 67.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004905/0.6529, allocations: 401.3 kB / 0.5788 GB, free: 67.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.6529, allocations: 7.969 kB / 0.5788 GB, free: 67.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6529, allocations: 0 / 0.5788 GB, free: 67.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004921/0.6534, allocations: 402.5 kB / 0.5792 GB, free: 66.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.6537, allocations: 20 kB / 0.5792 GB, free: 66.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/0.6547, allocations: 44.83 kB / 0.5793 GB, free: 66.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.6548, allocations: 84.11 kB / 0.5793 GB, free: 66.72 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002335/0.6571, allocations: 1.878 MB / 0.5812 GB, free: 64.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002743/0.6599, allocations: 3.045 MB / 0.5841 GB, free: 61.79 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006908/0.6606, allocations: 0.6285 MB / 0.5848 GB, free: 61.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002615/0.6632, allocations: 2.426 MB / 0.5871 GB, free: 58.75 MB / 446.1 MB Notification: Performance of Backend: time 3.01e-07/0.6632, allocations: 0 / 0.5871 GB, free: 58.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005263/0.6685, allocations: 3.182 MB / 0.5902 GB, free: 55.61 MB / 446.1 MB Notification: Performance of SimCode: time 0.009802/0.6783, allocations: 8.63 MB / 0.5987 GB, free: 46.93 MB / 446.1 MB Notification: Performance of Templates: time 0.05515/0.7334, allocations: 35.37 MB / 0.6332 GB, free: 11.75 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringMassSystem/SpringMassSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.892407827079296]