Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001045/0.001045, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 241.8 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 54.17 kB / 300.6 MB, free: 6.297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1047, allocations: 49.45 MB / 350.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2132/0.3179, allocations: 34.69 MB / 384.7 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01838/0.3363, allocations: 7.889 MB / 392.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008373/0.3447, allocations: 151.6 kB / 392.8 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004264/0.3491, allocations: 1.925 MB / 394.7 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00468/0.3538, allocations: 1.552 MB / 396.3 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.3552, allocations: 0.5512 MB / 396.8 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005801/0.3611, allocations: 4.743 MB / 401.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003518/0.3646, allocations: 2.536 MB / 404.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.3667, allocations: 1.092 MB / 405.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/0.3695, allocations: 1.799 MB / 407 MB, free: 12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006073/0.3702, allocations: 176 kB / 407.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.3724, allocations: 1.018 MB / 408.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001752/0.3742, allocations: 1.515 MB / 409.7 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.3764, allocations: 1.762 MB / 411.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005843/0.3823, allocations: 4.533 MB / 416 MB, free: 2.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.3823, allocations: 0 / 416 MB, free: 2.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3823, allocations: 4 kB / 416 MB, free: 2.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001672/0.3825, allocations: 4 kB / 416 MB, free: 2.969 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008462/0.391, allocations: 4.003 MB / 420 MB, free: 14.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.391, allocations: 8.031 kB / 420 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006163/0.3972, allocations: 1.774 MB / 421.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00413/0.4014, allocations: 1.912 MB / 423.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.4016, allocations: 192.8 kB / 423.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004718/0.402, allocations: 255.8 kB / 424.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.415, allocations: 8.435 MB / 432.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-05/0.4151, allocations: 43.59 kB / 432.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000342/0.4155, allocations: 123.9 kB / 432.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002692/0.4182, allocations: 1.699 MB / 434.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.4312, allocations: 7.094 MB / 441.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04543/0.4767, allocations: 34.16 MB / 475.7 MB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/0.4847, allocations: 3.268 MB / 478.9 MB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.4869, allocations: 1.474 MB / 480.4 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007283/0.4942, allocations: 4.361 MB / 484.8 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.4943, allocations: 51.06 kB / 484.8 MB, free: 11.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 4.529e-06/0.4943, allocations: 0 / 484.8 MB, free: 11.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02969/0.524, allocations: 11.51 MB / 496.3 MB, free: 288 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.5241, allocations: 141.1 kB / 496.5 MB, free: 116 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005622/0.5297, allocations: 3.717 MB / 0.4885 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002505/0.53, allocations: 41.7 kB / 0.4885 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002143/0.5322, allocations: 2.756 MB / 0.4912 GB, free: 9.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007512/0.5329, allocations: 0.5171 MB / 0.4917 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/0.5348, allocations: 1.075 MB / 0.4928 GB, free: 7.949 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5349, allocations: 309.1 kB / 0.493 GB, free: 7.645 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/0.5376, allocations: 1.709 MB / 0.4947 GB, free: 5.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005035/0.5426, allocations: 5.124 MB / 0.4997 GB, free: 15.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008665/0.5513, allocations: 7.422 MB / 0.507 GB, free: 5.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001265/0.5515, allocations: 39.94 kB / 0.507 GB, free: 5.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01303/0.5645, allocations: 6.717 MB / 0.5136 GB, free: 15.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.5647, allocations: 59.94 kB / 0.5136 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002066/0.5649, allocations: 124 kB / 0.5137 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007186/0.5657, allocations: 325.5 kB / 0.5141 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004037/0.5697, allocations: 1.24 MB / 0.5153 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.5724, allocations: 2.278 MB / 0.5175 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004094/0.5766, allocations: 295.5 kB / 0.5178 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008215/0.5774, allocations: 332 kB / 0.5181 GB, free: 10.4 MB / 446.1 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.003416/0.5808, allocations: 1.787 MB / 0.5198 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006854/0.5815, allocations: 308 kB / 0.5201 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004851/0.5864, allocations: 2.363 MB / 0.5224 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/0.5864, allocations: 19.84 kB / 0.5225 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.5864, allocations: 4 kB / 0.5225 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.5865, allocations: 7.984 kB / 0.5225 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2235/0.81, allocations: 5.919 MB / 0.5282 GB, free: 147.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.14e-05/0.8101, allocations: 2.188 kB / 0.5282 GB, free: 147.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009947/0.8111, allocations: 173.9 kB / 0.5284 GB, free: 147.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/0.8135, allocations: 0.7132 MB / 0.5291 GB, free: 147.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.8136, allocations: 25.39 kB / 0.5291 GB, free: 147.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005607/0.8192, allocations: 4.461 MB / 0.5335 GB, free: 145.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8192, allocations: 5.188 kB / 0.5335 GB, free: 145.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007228/0.8265, allocations: 4.322 MB / 0.5377 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.8275, allocations: 362.2 kB / 0.5381 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003689/0.8279, allocations: 26.91 kB / 0.5381 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.829, allocations: 68.66 kB / 0.5381 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/0.8293, allocations: 73.84 kB / 0.5382 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.8295, allocations: 35.06 kB / 0.5383 GB, free: 144 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004637/0.8341, allocations: 2.319 MB / 0.5405 GB, free: 143.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8341, allocations: 0 / 0.5405 GB, free: 143.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005552/0.8397, allocations: 0.8178 MB / 0.5413 GB, free: 143.1 MB / 446.1 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.0004608/0.8402, allocations: 161.8 kB / 0.5415 GB, free: 143 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005896/0.8461, allocations: 4.03 MB / 0.5454 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.319e-06/0.8461, allocations: 1.375 kB / 0.5454 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.8475, allocations: 1.117 MB / 0.5465 GB, free: 141.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.8498, allocations: 367.8 kB / 0.5468 GB, free: 141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.8613, allocations: 9.326 MB / 0.556 GB, free: 136.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/0.8639, allocations: 2.784 MB / 0.5587 GB, free: 134.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008765/0.8648, allocations: 248.4 kB / 0.5589 GB, free: 134.9 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.8648, allocations: 0 / 0.5589 GB, free: 134.9 MB / 446.1 MB Notification: Performance of Templates: time 0.07404/0.9388, allocations: 63.9 MB / 0.6213 GB, free: 74.24 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches