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.001437/0.001437, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.00159/0.00159, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.285/1.285, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009677/0.0009677, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2159, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0105/0.2265, allocations: 10.21 MB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006454/0.2329, allocations: 3.787 MB / 415.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.234, allocations: 55.88 kB / 415.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.2375, allocations: 1.95 MB / 417.4 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.2408, allocations: 1.695 MB / 419.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.242, allocations: 0.616 MB / 419.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003621/0.2457, allocations: 3.328 MB / 423.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/0.2484, allocations: 2.568 MB / 425.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.25, allocations: 1.25 MB / 426.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.2521, allocations: 1.67 MB / 428.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005409/0.2526, allocations: 256 kB / 428.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.2544, allocations: 1.034 MB / 429.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.2558, allocations: 1.578 MB / 431.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.2576, allocations: 1.825 MB / 433.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005065/0.2627, allocations: 5.836 MB / 439.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2627, allocations: 0 / 439.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2627, allocations: 0 / 439.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001414/0.2629, allocations: 0 / 439.1 MB, free: 3.039 MB / 350.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.006997/0.2699, allocations: 4.007 MB / 443.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2699, allocations: 11.89 kB / 443.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006314/0.2763, allocations: 1.778 MB / 444.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003397/0.2797, allocations: 1.951 MB / 446.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.2798, allocations: 192.8 kB / 447 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004078/0.2802, allocations: 251.8 kB / 447.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.2914, allocations: 8.427 MB / 455.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.423e-05/0.2915, allocations: 43.59 kB / 455.7 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003383/0.2918, allocations: 123.9 kB / 455.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00271/0.2946, allocations: 1.703 MB / 457.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.3062, allocations: 7.091 MB / 464.6 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03296/0.3391, allocations: 34.02 MB / 498.7 MB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007136/0.3463, allocations: 3.276 MB / 0.4902 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.348, allocations: 1.474 MB / 0.4916 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00614/0.3542, allocations: 4.357 MB / 0.4959 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.3542, allocations: 55.11 kB / 0.4959 GB, free: 12.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 2.675e-06/0.3542, allocations: 0 / 0.4959 GB, free: 12.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02702/0.3812, allocations: 11.5 MB / 0.5072 GB, free: 456 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.3813, allocations: 145.2 kB / 0.5073 GB, free: 280 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004198/0.3855, allocations: 3.721 MB / 0.5109 GB, free: 12.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.026e-05/0.3856, allocations: 41.7 kB / 0.511 GB, free: 12.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.3873, allocations: 2.748 MB / 0.5137 GB, free: 9.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000406/0.3878, allocations: 0.5171 MB / 0.5142 GB, free: 9.199 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/0.389, allocations: 1.075 MB / 0.5152 GB, free: 8.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.3891, allocations: 305.1 kB / 0.5155 GB, free: 7.812 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/0.3914, allocations: 1.709 MB / 0.5172 GB, free: 6.098 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004312/0.3957, allocations: 5.131 MB / 0.5222 GB, free: 15.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007328/0.4031, allocations: 7.421 MB / 0.5294 GB, free: 6.105 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.527e-05/0.4031, allocations: 36 kB / 0.5295 GB, free: 6.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.1834/0.5866, allocations: 6.724 MB / 0.536 GB, free: 124.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.5868, allocations: 57.16 kB / 0.5361 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002504/0.587, allocations: 121.6 kB / 0.5362 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008474/0.5879, allocations: 317.3 kB / 0.5365 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003957/0.5919, allocations: 1.249 MB / 0.5377 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.594, allocations: 2.497 MB / 0.5402 GB, free: 123.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/0.5975, allocations: 284.1 kB / 0.5404 GB, free: 123.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005568/0.598, allocations: 330.6 kB / 0.5407 GB, free: 123.1 MB / 462.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.002196/0.6002, allocations: 1.794 MB / 0.5425 GB, free: 123 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004541/0.6007, allocations: 307.3 kB / 0.5428 GB, free: 123 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.6047, allocations: 2.362 MB / 0.5451 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.6048, allocations: 7.609 kB / 0.5451 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6048, allocations: 3.969 kB / 0.5451 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000496/0.6053, allocations: 363.8 kB / 0.5455 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.6056, allocations: 21.02 kB / 0.5455 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.6066, allocations: 68.8 kB / 0.5455 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.6068, allocations: 76.12 kB / 0.5456 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004101/0.6109, allocations: 2.826 MB / 0.5484 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003221/0.6142, allocations: 3.664 MB / 0.5519 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008209/0.615, allocations: 0.8892 MB / 0.5528 GB, free: 119.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002234/0.6172, allocations: 2.318 MB / 0.5551 GB, free: 118.5 MB / 462.1 MB Notification: Performance of Backend: time 1.71e-07/0.6172, allocations: 0 / 0.5551 GB, free: 118.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00478/0.622, allocations: 3.489 MB / 0.5585 GB, free: 115.7 MB / 462.1 MB Notification: Performance of SimCode: time 0.007665/0.6297, allocations: 7.647 MB / 0.566 GB, free: 108.3 MB / 462.1 MB Notification: Performance of Templates: time 0.04871/0.6784, allocations: 36.42 MB / 0.6015 GB, free: 72.11 MB / 462.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