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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 113.3 kB / 18.4 MB, free: 4.699 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: 189.3 kB / 19.33 MB, free: 3.781 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.535/1.535, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001333/0.001333, allocations: 47.94 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1028, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2733/0.3761, allocations: 10.24 MB / 386.1 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009465/0.3856, allocations: 3.78 MB / 389.8 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.3888, allocations: 57.94 kB / 389.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004874/0.3937, allocations: 1.949 MB / 391.8 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007622/0.4013, allocations: 1.658 MB / 393.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.404, allocations: 0.6119 MB / 394.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008263/0.4122, allocations: 3.336 MB / 397.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004981/0.4173, allocations: 2.589 MB / 400 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.4208, allocations: 1.246 MB / 401.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004125/0.4249, allocations: 1.682 MB / 403 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001479/0.4264, allocations: 253.4 kB / 403.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.4303, allocations: 1.026 MB / 404.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00346/0.4338, allocations: 1.58 MB / 405.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004172/0.438, allocations: 1.835 MB / 407.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.4484, allocations: 5.826 MB / 413.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.4485, allocations: 0 / 413.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.33e-06/0.4485, allocations: 5.359 kB / 413.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003046/0.4488, allocations: 0 / 413.5 MB, free: 9.148 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01359/0.4624, allocations: 4.017 MB / 417.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4625, allocations: 15.89 kB / 417.5 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007018/0.4695, allocations: 1.766 MB / 419.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006086/0.4756, allocations: 1.994 MB / 421.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.4759, allocations: 200.8 kB / 421.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.477, allocations: 255.8 kB / 421.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.4945, allocations: 8.431 MB / 430.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/0.4947, allocations: 39.59 kB / 430.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003984/0.4951, allocations: 135.8 kB / 430.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00294/0.498, allocations: 1.695 MB / 432 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/0.5121, allocations: 7.094 MB / 439.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04965/0.5618, allocations: 34.01 MB / 473.1 MB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008541/0.5704, allocations: 3.294 MB / 476.4 MB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002454/0.5729, allocations: 1.464 MB / 477.9 MB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009214/0.5822, allocations: 4.346 MB / 482.2 MB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.139e-05/0.5823, allocations: 59 kB / 482.3 MB, free: 2.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 6.061e-06/0.5823, allocations: 0 / 482.3 MB, free: 2.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.03586/0.6182, allocations: 11.52 MB / 493.8 MB, free: 7.129 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.6184, allocations: 149.2 kB / 494 MB, free: 6.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008741/0.6271, allocations: 3.725 MB / 497.7 MB, free: 3.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003956/0.6276, allocations: 45.69 kB / 497.7 MB, free: 3.184 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002429/0.63, allocations: 2.748 MB / 0.4887 GB, free: 404 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007936/0.6308, allocations: 0.5172 MB / 0.4893 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001647/0.6325, allocations: 1.083 MB / 0.4903 GB, free: 14.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6326, allocations: 309.1 kB / 0.4906 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002503/0.6351, allocations: 1.705 MB / 0.4923 GB, free: 12.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004877/0.64, allocations: 5.124 MB / 0.4973 GB, free: 5.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009219/0.6493, allocations: 7.421 MB / 0.5045 GB, free: 12.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/0.6494, allocations: 36 kB / 0.5046 GB, free: 12.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01435/0.6638, allocations: 6.726 MB / 0.5111 GB, free: 6.004 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-05/0.664, allocations: 60 kB / 0.5112 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/0.6641, allocations: 120 kB / 0.5113 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006971/0.6648, allocations: 329.1 kB / 0.5116 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/0.6687, allocations: 1.244 MB / 0.5128 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.6721, allocations: 2.49 MB / 0.5153 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00496/0.677, allocations: 295.5 kB / 0.5155 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/0.6782, allocations: 332 kB / 0.5159 GB, free: 1.016 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.004819/0.683, allocations: 1.787 MB / 0.5176 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009192/0.684, allocations: 308 kB / 0.5179 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/0.6894, allocations: 2.367 MB / 0.5202 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.126e-05/0.6895, allocations: 16 kB / 0.5202 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/0.6895, allocations: 4 kB / 0.5202 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.6895, allocations: 3.984 kB / 0.5202 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.7064, allocations: 5.917 MB / 0.526 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/0.7065, allocations: 0 / 0.526 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009991/0.7075, allocations: 183.6 kB / 0.5262 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/0.7099, allocations: 0.7148 MB / 0.5269 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/0.7101, allocations: 19.98 kB / 0.5269 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006549/0.7167, allocations: 4.808 MB / 0.5316 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7167, allocations: 0 / 0.5316 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008102/0.7249, allocations: 4.329 MB / 0.5358 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/0.7268, allocations: 0.5244 MB / 0.5363 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009786/0.7278, allocations: 35.88 kB / 0.5364 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/0.7297, allocations: 63.91 kB / 0.5364 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.7301, allocations: 68.5 kB / 0.5365 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.7302, allocations: 40.06 kB / 0.5365 GB, free: 11.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005645/0.7359, allocations: 2.327 MB / 0.5388 GB, free: 9.223 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7359, allocations: 0 / 0.5388 GB, free: 9.223 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006426/0.7423, allocations: 0.8164 MB / 0.5396 GB, free: 8.406 MB / 478.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.0006782/0.743, allocations: 155 kB / 0.5397 GB, free: 8.246 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008708/0.7517, allocations: 4.046 MB / 0.5437 GB, free: 4.211 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.7518, allocations: 0.5625 kB / 0.5437 GB, free: 4.211 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.7542, allocations: 1.119 MB / 0.5448 GB, free: 3.082 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004315/0.7585, allocations: 389 kB / 0.5452 GB, free: 2.699 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2669/1.026, allocations: 7.636 MB / 0.5526 GB, free: 150.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004182/1.03, allocations: 2.791 MB / 0.5553 GB, free: 149.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.031, allocations: 250.6 kB / 0.5556 GB, free: 149.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.432e-06/1.031, allocations: 0 / 0.5556 GB, free: 149.5 MB / 478.1 MB Notification: Performance of Templates: time 0.09945/1.131, allocations: 64.54 MB / 0.6186 GB, free: 101.6 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches