Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 96.42 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009917/0.0009917, allocations: 178.5 kB / 17.83 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB 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.0004885/0.0004886, allocations: 16 kB / 280.7 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 47.58 MB / 328.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.03082/0.1355, allocations: 33.07 MB / 361.4 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01889/0.1544, allocations: 8.343 MB / 369.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00533/0.1598, allocations: 159.6 kB / 369.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004935/0.1647, allocations: 1.61 MB / 371.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01478/0.1796, allocations: 4.866 MB / 376.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.182, allocations: 0.6202 MB / 377 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004968/0.187, allocations: 2.417 MB / 379.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2135/0.4005, allocations: 3.344 MB / 382.8 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.4027, allocations: 1.054 MB / 383.8 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.4056, allocations: 1.465 MB / 385.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008104/0.4064, allocations: 143.2 kB / 385.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.4085, allocations: 0.692 MB / 386.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.4104, allocations: 1.524 MB / 387.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.4116, allocations: 0.7898 MB / 388.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006085/0.4177, allocations: 4.879 MB / 393.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.4177, allocations: 0 / 393.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4178, allocations: 0 / 393.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002393/0.418, allocations: 0 / 393.3 MB, free: 10.44 MB / 318.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.01039/0.4284, allocations: 3.893 MB / 397.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.4285, allocations: 9.25 kB / 397.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009085/0.4376, allocations: 2.268 MB / 399.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006019/0.4436, allocations: 2.696 MB / 402.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.4438, allocations: 225.7 kB / 402.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.4451, allocations: 303.9 kB / 402.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/0.4639, allocations: 9.701 MB / 412.4 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.4641, allocations: 44.25 kB / 412.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004446/0.4645, allocations: 146.7 kB / 412.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003027/0.4675, allocations: 1.92 MB / 414.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/0.4844, allocations: 7.702 MB / 422.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05374/0.5382, allocations: 37.88 MB / 460.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007061/0.5453, allocations: 2.888 MB / 463 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006932/0.5523, allocations: 3.822 MB / 466.8 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.5524, allocations: 46.41 kB / 466.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=134): time 4.719e-06/0.5524, allocations: 0 / 466.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=152): time 0.02268/0.5751, allocations: 9.429 MB / 476.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.5752, allocations: 151.2 kB / 476.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006175/0.5814, allocations: 4.163 MB / 480.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.5816, allocations: 45.7 kB / 480.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00221/0.5838, allocations: 3.092 MB / 483.7 MB, free: 4.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005881/0.5844, allocations: 0.6105 MB / 484.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.5847, allocations: 117.4 kB / 484.4 MB, free: 4.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000354/0.585, allocations: 0.55 MB / 485 MB, free: 3.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002449/0.5875, allocations: 1.538 MB / 486.5 MB, free: 2.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005451/0.593, allocations: 5.293 MB / 491.8 MB, free: 10.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004154/0.5971, allocations: 2.794 MB / 494.6 MB, free: 8.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.256e-05/0.5972, allocations: 40 kB / 494.7 MB, free: 8.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.01204/0.6093, allocations: 6.568 MB / 0.4895 GB, free: 1.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.761e-05/0.6094, allocations: 60 kB / 0.4895 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/0.6096, allocations: 136.2 kB / 0.4897 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.6098, allocations: 196 kB / 0.4898 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004053/0.6139, allocations: 1.377 MB / 0.4912 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002217/0.6141, allocations: 263 kB / 0.4914 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003977/0.6181, allocations: 292.3 kB / 0.4917 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004672/0.6186, allocations: 364 kB / 0.4921 GB, free: 15.27 MB / 414.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 (738): * Single equations (assignments): 735 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003758/0.6223, allocations: 1.979 MB / 0.494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000642/0.623, allocations: 341.2 kB / 0.4943 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.6251, allocations: 1.242 MB / 0.4955 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/0.6251, allocations: 21.25 kB / 0.4956 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.6251, allocations: 0 / 0.4956 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.6252, allocations: 7.969 kB / 0.4956 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.6353, allocations: 5.761 MB / 0.5012 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/0.6353, allocations: 24.06 kB / 0.5012 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009661/0.6363, allocations: 279.5 kB / 0.5015 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.042e-05/0.6364, allocations: 28 kB / 0.5015 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-05/0.6365, allocations: 49.08 kB / 0.5016 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.908e-05/0.6365, allocations: 39.81 kB / 0.5016 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.127e-05/0.6365, allocations: 31.88 kB / 0.5016 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/0.6416, allocations: 5.289 MB / 0.5068 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.6429, allocations: 0.5238 MB / 0.5073 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/0.6432, allocations: 57.27 kB / 0.5074 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.6444, allocations: 61.7 kB / 0.5074 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.6445, allocations: 151.5 kB / 0.5076 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.827e-05/0.6446, allocations: 65.48 kB / 0.5076 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004155/0.6488, allocations: 2.619 MB / 0.5102 GB, free: 11.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6488, allocations: 0 / 0.5102 GB, free: 11.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004856/0.6537, allocations: 0.8828 MB / 0.511 GB, free: 10.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 4 (p1.s,p1.v,p2.s,p2.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 (142): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004887/0.6542, allocations: 228.3 kB / 0.5113 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005749/0.6599, allocations: 3.577 MB / 0.5148 GB, free: 6.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.66, allocations: 4 kB / 0.5148 GB, free: 6.812 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.661, allocations: 0.7264 MB / 0.5155 GB, free: 6.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.6634, allocations: 427.6 kB / 0.5159 GB, free: 5.672 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.6801, allocations: 10.14 MB / 0.5258 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003635/0.6838, allocations: 3.197 MB / 0.5289 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004497/0.6883, allocations: 1.762 MB / 0.5306 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/0.6888, allocations: 243.4 kB / 0.5308 GB, free: 6.016 MB / 446.1 MB Notification: Performance of SimCode: time 3.146e-06/0.6889, allocations: 0 / 0.5308 GB, free: 6.016 MB / 446.1 MB Notification: Performance of Templates: time 0.2667/0.9555, allocations: 26.21 MB / 0.5564 GB, free: 153.3 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringMassSystem/SpringMassSystem.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches