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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001384/0.001384, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.525/1.525, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001693/0.001693, allocations: 113.4 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.939e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09009, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3156/0.4058, allocations: 90.25 MB / 432.8 MB, free: 5.824 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4061, allocations: 99.45 kB / 432.9 MB, free: 5.773 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1872/0.5932, allocations: 70.3 MB / 0.4914 GB, free: 6.461 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5933, allocations: 0 / 0.4914 GB, free: 6.461 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.000193/0.5935, allocations: 68 kB / 0.4915 GB, free: 6.395 MB / 379.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01052/0.604, allocations: 3.353 MB / 0.4948 GB, free: 2.98 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.6041, allocations: 8.031 kB / 0.4948 GB, free: 2.973 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.6142, allocations: 2.085 MB / 0.4968 GB, free: 0.8828 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/0.6261, allocations: 4.011 MB / 0.5007 GB, free: 12.8 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.6264, allocations: 115.9 kB / 0.5008 GB, free: 12.69 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/0.6285, allocations: 203.9 kB / 0.501 GB, free: 12.49 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01066/0.6391, allocations: 5.03 MB / 0.506 GB, free: 7.457 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2184/0.8576, allocations: 7.94 MB / 0.5137 GB, free: 75.79 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002061/0.8578, allocations: 51 kB / 0.5138 GB, free: 75.79 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001039/0.8589, allocations: 37.33 kB / 0.5138 GB, free: 75.79 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001075/0.86, allocations: 0.8658 MB / 0.5146 GB, free: 75.79 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03361/0.8936, allocations: 40.96 MB / 0.5546 GB, free: 49.28 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.8962, allocations: 2.467 MB / 0.557 GB, free: 48.59 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.8976, allocations: 1.375 MB / 0.5584 GB, free: 48.55 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.8979, allocations: 329.2 kB / 0.5587 GB, free: 48.26 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.8979, allocations: 52.41 kB / 0.5588 GB, free: 48.22 MB / 395.1 MB Notification: Performance of pre-optimization done (n=122): time 3.226e-06/0.8979, allocations: 3.312 kB / 0.5588 GB, free: 48.22 MB / 395.1 MB Notification: Performance of matching and sorting (n=130): time 0.0228/0.9207, allocations: 11.25 MB / 0.5697 GB, free: 45.37 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.9209, allocations: 169.4 kB / 0.5699 GB, free: 45.18 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00544/0.9263, allocations: 2.788 MB / 0.5726 GB, free: 44.23 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000346/0.9267, allocations: 27.08 kB / 0.5726 GB, free: 44.2 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.9286, allocations: 2.767 MB / 0.5754 GB, free: 42.15 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00063/0.9292, allocations: 0.5218 MB / 0.5759 GB, free: 41.78 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.9294, allocations: 0.8438 kB / 0.5759 GB, free: 41.78 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002553/0.9297, allocations: 0.5364 MB / 0.5764 GB, free: 41.38 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.9317, allocations: 1.591 MB / 0.5779 GB, free: 40.82 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/0.9352, allocations: 5.099 MB / 0.5829 GB, free: 35.49 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.9392, allocations: 2.835 MB / 0.5857 GB, free: 34.46 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.921e-05/0.9393, allocations: 37.31 kB / 0.5857 GB, free: 34.46 MB / 395.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01085/0.9501, allocations: 5.996 MB / 0.5916 GB, free: 32.39 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.553e-05/0.9503, allocations: 60.69 kB / 0.5916 GB, free: 32.39 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.9504, allocations: 131.5 kB / 0.5918 GB, free: 32.39 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/0.951, allocations: 351.7 kB / 0.5921 GB, free: 32.34 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004079/0.9551, allocations: 1.324 MB / 0.5934 GB, free: 32.18 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.9574, allocations: 2.251 MB / 0.5956 GB, free: 30.54 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005061/0.9624, allocations: 182.6 kB / 0.5958 GB, free: 30.52 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/0.9636, allocations: 347.3 kB / 0.5961 GB, free: 30.48 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (686): * Single equations (assignments): 682 * 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.001599/0.9652, allocations: 422.2 kB / 0.5965 GB, free: 30.12 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008759/0.9661, allocations: 278.8 kB / 0.5968 GB, free: 29.97 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/0.971, allocations: 2.255 MB / 0.599 GB, free: 29.22 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.108e-05/0.971, allocations: 17.17 kB / 0.599 GB, free: 29.22 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.971, allocations: 4.75 kB / 0.599 GB, free: 29.22 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.9711, allocations: 6.469 kB / 0.599 GB, free: 29.22 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.9826, allocations: 5.603 MB / 0.6045 GB, free: 27.13 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.9827, allocations: 3.438 kB / 0.6045 GB, free: 27.13 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/0.9835, allocations: 172 kB / 0.6046 GB, free: 27.12 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/0.9856, allocations: 0.7142 MB / 0.6053 GB, free: 26.99 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.9857, allocations: 3.344 kB / 0.6053 GB, free: 26.99 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004721/0.9904, allocations: 4.287 MB / 0.6095 GB, free: 24.55 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.9905, allocations: 5.031 kB / 0.6095 GB, free: 24.55 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/0.9966, allocations: 4.396 MB / 0.6138 GB, free: 22.64 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/0.998, allocations: 0.4991 MB / 0.6143 GB, free: 22.32 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006468/0.9986, allocations: 0 / 0.6143 GB, free: 22.32 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1, allocations: 54.73 kB / 0.6144 GB, free: 22.32 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1, allocations: 76.39 kB / 0.6144 GB, free: 22.29 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.29e-05/1, allocations: 37 kB / 0.6145 GB, free: 22.29 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00374/1.004, allocations: 1.844 MB / 0.6163 GB, free: 21.6 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.004, allocations: 0 / 0.6163 GB, free: 21.6 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.005291/1.009, allocations: 0.6956 MB / 0.6169 GB, free: 21.59 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * 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.0004452/1.01, allocations: 145.4 kB / 0.6171 GB, free: 21.48 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005912/1.016, allocations: 3.759 MB / 0.6208 GB, free: 20.14 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.016, allocations: 4.25 kB / 0.6208 GB, free: 20.14 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/1.017, allocations: 1.077 MB / 0.6218 GB, free: 19.67 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.019, allocations: 289 kB / 0.6221 GB, free: 19.54 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/1.032, allocations: 5.823 MB / 0.6278 GB, free: 17.38 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003827/1.036, allocations: 2.84 MB / 0.6305 GB, free: 16.21 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.00454/1.04, allocations: 1.714 MB / 0.6322 GB, free: 15.3 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007181/1.041, allocations: 191.5 kB / 0.6324 GB, free: 15.12 MB / 395.1 MB Notification: Performance of SimCode: time 9.32e-07/1.041, allocations: 4 kB / 0.6324 GB, free: 15.11 MB / 395.1 MB Notification: Performance of Templates: time 0.0467/1.088, allocations: 25.03 MB / 0.6568 GB, free: 11.49 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (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)