Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008972/0.0008972, allocations: 102.5 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007572/0.0007575, allocations: 43.94 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1757, allocations: 46.61 MB / 373.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02067/0.1964, allocations: 34.7 MB / 408.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.2076, allocations: 7.898 MB / 416.4 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004335/0.212, allocations: 151.6 kB / 416.6 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002802/0.2148, allocations: 1.924 MB / 418.5 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.2176, allocations: 1.545 MB / 420 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009578/0.2185, allocations: 0.5538 MB / 420.6 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.2223, allocations: 4.78 MB / 425.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.225, allocations: 2.547 MB / 427.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.2265, allocations: 1.113 MB / 429 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/0.2286, allocations: 1.799 MB / 430.8 MB, free: 8.285 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000469/0.2291, allocations: 172 kB / 431 MB, free: 8.117 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.2307, allocations: 1.006 MB / 432 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.232, allocations: 1.515 MB / 433.5 MB, free: 5.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.2336, allocations: 1.762 MB / 435.3 MB, free: 3.816 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.2378, allocations: 5.572 MB / 440.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2378, allocations: 0 / 440.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2378, allocations: 7.938 kB / 440.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.789e-05/0.2379, allocations: 0 / 440.9 MB, free: 14.22 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.005202/0.2431, allocations: 4.01 MB / 444.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.2431, allocations: 12.03 kB / 444.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005364/0.2485, allocations: 1.77 MB / 446.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/0.2516, allocations: 1.967 MB / 448.6 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.2517, allocations: 192.8 kB / 448.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003588/0.252, allocations: 259.8 kB / 449.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009881/0.2619, allocations: 8.423 MB / 457.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-05/0.262, allocations: 43.59 kB / 457.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.2623, allocations: 131.8 kB / 457.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002319/0.2646, allocations: 1.695 MB / 459.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.2756, allocations: 7.094 MB / 466.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0321/0.3078, allocations: 34.17 MB / 0.4889 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1307/0.4385, allocations: 3.271 MB / 0.4921 GB, free: 109.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.44, allocations: 1.455 MB / 0.4935 GB, free: 108.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005102/0.4451, allocations: 4.379 MB / 0.4978 GB, free: 106.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.4451, allocations: 47.28 kB / 0.4978 GB, free: 106.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 3.046e-06/0.4451, allocations: 0 / 0.4978 GB, free: 106.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.02175/0.4669, allocations: 11.54 MB / 0.5091 GB, free: 101.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.4669, allocations: 136.9 kB / 0.5092 GB, free: 101.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/0.4701, allocations: 3.731 MB / 0.5129 GB, free: 98.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/0.4701, allocations: 41.7 kB / 0.5129 GB, free: 98.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008724/0.471, allocations: 2.75 MB / 0.5156 GB, free: 95.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.4712, allocations: 0.5201 MB / 0.5161 GB, free: 94.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008744/0.4721, allocations: 1.083 MB / 0.5172 GB, free: 93.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.878e-05/0.4722, allocations: 309.1 kB / 0.5174 GB, free: 93.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.4739, allocations: 1.706 MB / 0.5191 GB, free: 91.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.4764, allocations: 5.124 MB / 0.5241 GB, free: 84.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004378/0.4808, allocations: 7.419 MB / 0.5314 GB, free: 75.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.15e-05/0.4808, allocations: 36 kB / 0.5314 GB, free: 75.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00672/0.4875, allocations: 6.726 MB / 0.538 GB, free: 68.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.4876, allocations: 60 kB / 0.538 GB, free: 68.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-05/0.4877, allocations: 120 kB / 0.5381 GB, free: 68.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.4881, allocations: 325.4 kB / 0.5384 GB, free: 68.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/0.4909, allocations: 1.244 MB / 0.5397 GB, free: 67.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.4926, allocations: 2.282 MB / 0.5419 GB, free: 64.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.4952, allocations: 287.6 kB / 0.5422 GB, free: 64.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/0.4954, allocations: 332 kB / 0.5425 GB, free: 64.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00154/0.497, allocations: 1.787 MB / 0.5442 GB, free: 62.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.4973, allocations: 311.9 kB / 0.5445 GB, free: 62.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/0.5008, allocations: 2.359 MB / 0.5468 GB, free: 59.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.5008, allocations: 16 kB / 0.5468 GB, free: 59.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5009, allocations: 4 kB / 0.5468 GB, free: 59.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.5009, allocations: 7.969 kB / 0.5469 GB, free: 59.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007853/0.5087, allocations: 5.938 MB / 0.5527 GB, free: 53.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5087, allocations: 128 / 0.5527 GB, free: 53.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/0.5094, allocations: 175.8 kB / 0.5528 GB, free: 53.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.5112, allocations: 0.7147 MB / 0.5535 GB, free: 52.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.5113, allocations: 23.59 kB / 0.5535 GB, free: 52.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004075/0.5153, allocations: 4.467 MB / 0.5579 GB, free: 48.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5154, allocations: 112 / 0.5579 GB, free: 48.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0341/0.5495, allocations: 26.16 MB / 0.5835 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008242/0.5503, allocations: 0.5282 MB / 0.584 GB, free: 21.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.5506, allocations: 23.83 kB / 0.584 GB, free: 21.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009223/0.5515, allocations: 63.91 kB / 0.584 GB, free: 21.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.5517, allocations: 64.56 kB / 0.5841 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.5517, allocations: 39.94 kB / 0.5841 GB, free: 21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002235/0.554, allocations: 2.327 MB / 0.5864 GB, free: 18.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.554, allocations: 128 / 0.5864 GB, free: 18.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003256/0.5573, allocations: 1.099 MB / 0.5875 GB, free: 17.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002504/0.5575, allocations: 157.4 kB / 0.5876 GB, free: 17.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.5613, allocations: 4.031 MB / 0.5916 GB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5613, allocations: 3.938 kB / 0.5916 GB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.5624, allocations: 1.122 MB / 0.5927 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.5639, allocations: 369.1 kB / 0.593 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008187/0.5721, allocations: 9.957 MB / 0.6028 GB, free: 1.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002102/0.5742, allocations: 2.833 MB / 0.6055 GB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003446/0.5777, allocations: 1.672 MB / 0.6072 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.5782, allocations: 219.3 kB / 0.6074 GB, free: 13.16 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5782, allocations: 3.938 kB / 0.6074 GB, free: 13.16 MB / 394.7 MB Notification: Performance of Templates: time 0.05194/0.6302, allocations: 36.11 MB / 0.6426 GB, free: 9.094 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches