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.001078/0.001078, allocations: 107.5 kB / 18.4 MB, free: 4.652 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.001098/0.001098, allocations: 183 kB / 19.34 MB, free: 3.727 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.252/1.252, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001092/0.001092, allocations: 51.92 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07189/0.07299, allocations: 46.61 MB / 375.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.1565/0.2295, allocations: 10.74 MB / 386.6 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00667/0.2362, allocations: 3.87 MB / 390.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.2378, allocations: 64.06 kB / 390.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004087/0.2419, allocations: 2.238 MB / 392.8 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004321/0.2463, allocations: 1.882 MB / 394.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.2478, allocations: 0.7129 MB / 395.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005315/0.2531, allocations: 4.272 MB / 399.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/0.2565, allocations: 2.912 MB / 402.5 MB, free: 0 / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.259, allocations: 1.491 MB / 404 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.2621, allocations: 2.096 MB / 406.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008772/0.263, allocations: 292.9 kB / 406.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.2652, allocations: 0.9361 MB / 407.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002258/0.2675, allocations: 1.832 MB / 409.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002456/0.27, allocations: 2.106 MB / 411.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006253/0.2762, allocations: 6.451 MB / 417.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2762, allocations: 0 / 417.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2763, allocations: 0 / 417.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.62e-05/0.2763, allocations: 0 / 417.7 MB, free: 5.516 MB / 334.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.00686/0.2832, allocations: 4.743 MB / 422.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2832, allocations: 15.88 kB / 422.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006711/0.29, allocations: 1.945 MB / 424.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/0.2936, allocations: 2.403 MB / 426.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.2938, allocations: 229.6 kB / 427.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004734/0.2942, allocations: 295.8 kB / 427.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/0.3066, allocations: 9.631 MB / 437 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.499e-05/0.3067, allocations: 51.58 kB / 437 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003241/0.307, allocations: 143.8 kB / 437.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002585/0.3096, allocations: 1.915 MB / 439.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/0.3222, allocations: 7.641 MB / 446.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03446/0.3567, allocations: 37.67 MB / 484.4 MB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006214/0.3629, allocations: 2.879 MB / 487.3 MB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.3642, allocations: 0.8691 MB / 488.2 MB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005125/0.3693, allocations: 3.792 MB / 491.9 MB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3694, allocations: 43.22 kB / 492 MB, free: 8.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.146e-06/0.3694, allocations: 0 / 492 MB, free: 8.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=152): time 0.02028/0.3897, allocations: 9.292 MB / 0.4895 GB, free: 15.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.3897, allocations: 145.5 kB / 0.4897 GB, free: 15.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005001/0.3948, allocations: 3.95 MB / 0.4935 GB, free: 11.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/0.3948, allocations: 45.7 kB / 0.4936 GB, free: 11.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002138/0.397, allocations: 3.209 MB / 0.4967 GB, free: 8.016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004987/0.3975, allocations: 0.6397 MB / 0.4973 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/0.3989, allocations: 1.175 MB / 0.4985 GB, free: 6.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.399, allocations: 309.1 kB / 0.4988 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/0.4014, allocations: 1.585 MB / 0.5003 GB, free: 4.289 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004767/0.4062, allocations: 5.347 MB / 0.5055 GB, free: 13.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008507/0.4147, allocations: 7.557 MB / 0.5129 GB, free: 3.605 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.143e-05/0.4148, allocations: 36 kB / 0.513 GB, free: 3.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01053/0.4253, allocations: 6.666 MB / 0.5195 GB, free: 12.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.679e-05/0.4254, allocations: 63.94 kB / 0.5195 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/0.4256, allocations: 136 kB / 0.5197 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.4258, allocations: 184 kB / 0.5198 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005869/0.4317, allocations: 1.38 MB / 0.5212 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003202/0.432, allocations: 263 kB / 0.5214 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004949/0.437, allocations: 287.7 kB / 0.5217 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005552/0.4376, allocations: 368 kB / 0.5221 GB, free: 10.24 MB / 462.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.002765/0.4404, allocations: 1.982 MB / 0.524 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004324/0.4408, allocations: 357.6 kB / 0.5243 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.4428, allocations: 1.242 MB / 0.5255 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.4428, allocations: 11.97 kB / 0.5256 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4428, allocations: 7.938 kB / 0.5256 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007462/0.4436, allocations: 0.5142 MB / 0.5261 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/0.4439, allocations: 23.98 kB / 0.5261 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009455/0.4449, allocations: 51.89 kB / 0.5261 GB, free: 6.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.445, allocations: 72.89 kB / 0.5262 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002886/0.4479, allocations: 1.866 MB / 0.528 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003642/0.4516, allocations: 3.038 MB / 0.531 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008754/0.4525, allocations: 0.6836 MB / 0.5317 GB, free: 332 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003354/0.4558, allocations: 2.454 MB / 0.5341 GB, free: 13.89 MB / 478.1 MB Notification: Performance of Backend: time 4.5e-07/0.4558, allocations: 0 / 0.5341 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005796/0.4616, allocations: 3.321 MB / 0.5373 GB, free: 10.59 MB / 478.1 MB Notification: Performance of SimCode: time 0.01401/0.4757, allocations: 8.676 MB / 0.5458 GB, free: 1.855 MB / 478.1 MB Notification: Performance of Templates: time 0.216/0.6917, allocations: 33.56 MB / 0.5786 GB, free: 141.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringMassSystem/SpringMassSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches