Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001268/0.001268, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001434/0.001434, allocations: 183.7 kB / 17.2 MB, free: 5.914 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.408/1.408, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.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.0005071/0.0005072, allocations: 11.98 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2504, allocations: 47.59 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02875/0.2792, allocations: 29.65 MB / 357.4 MB, free: 5.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01746/0.2967, allocations: 7.715 MB / 365.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005406/0.3022, allocations: 143.6 kB / 365.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004242/0.3065, allocations: 1.427 MB / 366.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.3182, allocations: 4.356 MB / 371 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.3201, allocations: 0.4952 MB / 371.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003717/0.3238, allocations: 1.895 MB / 373.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003908/0.3278, allocations: 2.949 MB / 376.3 MB, free: 2.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.3291, allocations: 0.8642 MB / 377.2 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.3307, allocations: 1.129 MB / 378.3 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003/0.331, allocations: 112 kB / 378.4 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.3324, allocations: 0.7724 MB / 379.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.3336, allocations: 1.294 MB / 380.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006211/0.3342, allocations: 0.7103 MB / 381.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004019/0.3383, allocations: 4.438 MB / 385.7 MB, free: 9.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3383, allocations: 4 kB / 385.7 MB, free: 9.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3383, allocations: 0 / 385.7 MB, free: 9.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000104/0.3384, allocations: 0 / 385.7 MB, free: 9.379 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.005871/0.3443, allocations: 3.414 MB / 389.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3443, allocations: 8.031 kB / 389.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007269/0.3516, allocations: 2.113 MB / 391.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004523/0.3562, allocations: 2.147 MB / 393.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.3564, allocations: 192.8 kB / 393.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005411/0.3569, allocations: 251.8 kB / 393.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.3709, allocations: 8.482 MB / 402.3 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.371, allocations: 51.56 kB / 402.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/0.3714, allocations: 119.9 kB / 402.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002716/0.3741, allocations: 1.703 MB / 404.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.3874, allocations: 7.161 MB / 411.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04173/0.4292, allocations: 34.24 MB / 445.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007579/0.4368, allocations: 3.275 MB / 448.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007636/0.4445, allocations: 4.416 MB / 453.2 MB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.4446, allocations: 55.05 kB / 453.3 MB, free: 3.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.218e-06/0.4446, allocations: 0 / 453.3 MB, free: 3.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.1983/0.6429, allocations: 11.82 MB / 465.1 MB, free: 110 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.6429, allocations: 141 kB / 465.2 MB, free: 109.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/0.6477, allocations: 3.845 MB / 469.1 MB, free: 108.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.6479, allocations: 44.48 kB / 469.1 MB, free: 108.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.6492, allocations: 2.75 MB / 471.9 MB, free: 106.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.6495, allocations: 0.5286 MB / 472.4 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.6497, allocations: 105.5 kB / 472.5 MB, free: 105.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.6499, allocations: 0.5256 MB / 473 MB, free: 105.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/0.6518, allocations: 1.676 MB / 474.7 MB, free: 104.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002848/0.6547, allocations: 5.072 MB / 479.8 MB, free: 99.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/0.6576, allocations: 2.867 MB / 482.6 MB, free: 97.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.05e-05/0.6576, allocations: 36 kB / 482.7 MB, free: 97.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008053/0.6657, allocations: 6.656 MB / 489.3 MB, free: 90.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/0.6658, allocations: 60 kB / 489.4 MB, free: 90.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.801e-05/0.6659, allocations: 120 kB / 489.5 MB, free: 90.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/0.6664, allocations: 337.5 kB / 489.8 MB, free: 90.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/0.6696, allocations: 1.24 MB / 491.1 MB, free: 88.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.6715, allocations: 2.321 MB / 493.4 MB, free: 86.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003743/0.6753, allocations: 291.5 kB / 493.7 MB, free: 86.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004006/0.6757, allocations: 337.2 kB / 494 MB, free: 85.71 MB / 382.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 (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002376/0.6781, allocations: 1.777 MB / 495.8 MB, free: 83.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005355/0.6786, allocations: 315.9 kB / 496.1 MB, free: 83.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/0.6824, allocations: 2.359 MB / 498.5 MB, free: 81.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/0.6825, allocations: 16 kB / 498.5 MB, free: 81.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.6825, allocations: 5.688 kB / 498.5 MB, free: 81.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.6825, allocations: 3.984 kB / 498.5 MB, free: 81.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009302/0.6918, allocations: 5.931 MB / 0.4926 GB, free: 75.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.6918, allocations: 5.125 kB / 0.4926 GB, free: 75.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007266/0.6926, allocations: 175.7 kB / 0.4928 GB, free: 75.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.6944, allocations: 0.7124 MB / 0.4935 GB, free: 74.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-05/0.6945, allocations: 23.98 kB / 0.4935 GB, free: 74.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005064/0.6996, allocations: 4.574 MB / 0.4979 GB, free: 69.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.6996, allocations: 4 kB / 0.498 GB, free: 69.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006465/0.7061, allocations: 4.436 MB / 0.5023 GB, free: 65.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/0.7078, allocations: 0.5362 MB / 0.5028 GB, free: 64.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004031/0.7082, allocations: 25.3 kB / 0.5028 GB, free: 64.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.7092, allocations: 67.92 kB / 0.5029 GB, free: 64.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.7094, allocations: 72.48 kB / 0.503 GB, free: 64.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/0.7095, allocations: 33.16 kB / 0.503 GB, free: 64.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003295/0.7128, allocations: 2.422 MB / 0.5054 GB, free: 61.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7128, allocations: 4 kB / 0.5054 GB, free: 61.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0043/0.7171, allocations: 0.8438 MB / 0.5062 GB, free: 61.14 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003794/0.7175, allocations: 164.6 kB / 0.5063 GB, free: 60.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004832/0.7224, allocations: 3.985 MB / 0.5102 GB, free: 57.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7224, allocations: 0 / 0.5102 GB, free: 57.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.7235, allocations: 1.11 MB / 0.5113 GB, free: 55.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.7252, allocations: 356.6 kB / 0.5117 GB, free: 55.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.7358, allocations: 8.601 MB / 0.5201 GB, free: 46.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002224/0.738, allocations: 2.859 MB / 0.5229 GB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003658/0.7417, allocations: 1.663 MB / 0.5245 GB, free: 42.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/0.7424, allocations: 211.4 kB / 0.5247 GB, free: 42.15 MB / 382.1 MB Notification: Performance of SimCode: time 1.823e-06/0.7424, allocations: 0 / 0.5247 GB, free: 42.15 MB / 382.1 MB Notification: Performance of Templates: time 0.04643/0.7888, allocations: 29.51 MB / 0.5535 GB, free: 12.65 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) Environment - environmentSimulation: