Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001024/0.001025, allocations: 165.9 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.313/1.313, allocations: 170.6 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001649/0.001649, allocations: 103.5 kB / 218 MB, free: 8.418 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.681e-05/1.693e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0767/0.07674, allocations: 38.77 MB / 301 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2733/0.3501, allocations: 84.51 MB / 385.5 MB, free: 148 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.3504, allocations: 83.08 kB / 385.6 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1833/0.5337, allocations: 70.33 MB / 455.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5338, allocations: 0 / 455.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002019/0.534, allocations: 68 kB / 456 MB, free: 15.27 MB / 346.7 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.00986/0.5439, allocations: 3.346 MB / 459.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5439, allocations: 12.03 kB / 459.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009822/0.5538, allocations: 2.086 MB / 461.4 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.565, allocations: 4.01 MB / 465.4 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.5653, allocations: 108 kB / 465.5 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/0.5669, allocations: 199.9 kB / 465.7 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01001/0.5769, allocations: 5.038 MB / 470.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1994/0.7763, allocations: 7.939 MB / 478.7 MB, free: 74.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.7765, allocations: 55.84 kB / 478.8 MB, free: 74.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000428/0.777, allocations: 29.53 kB / 478.8 MB, free: 74.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001355/0.7783, allocations: 0.8667 MB / 479.7 MB, free: 74.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/0.8106, allocations: 40.96 MB / 0.5084 GB, free: 48.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.8132, allocations: 2.467 MB / 0.5108 GB, free: 47.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.8145, allocations: 1.384 MB / 0.5122 GB, free: 47.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003143/0.8148, allocations: 333.6 kB / 0.5125 GB, free: 46.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.8148, allocations: 49.03 kB / 0.5125 GB, free: 46.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 4.238e-06/0.8148, allocations: 0 / 0.5125 GB, free: 46.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=130): time 0.01816/0.833, allocations: 11.24 MB / 0.5235 GB, free: 41.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.8331, allocations: 171.9 kB / 0.5237 GB, free: 41.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003499/0.8366, allocations: 2.788 MB / 0.5264 GB, free: 40.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.8368, allocations: 25.7 kB / 0.5264 GB, free: 40.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.8379, allocations: 2.77 MB / 0.5291 GB, free: 38.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/0.8383, allocations: 0.5128 MB / 0.5296 GB, free: 38.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.8385, allocations: 0 / 0.5296 GB, free: 38.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.8387, allocations: 0.5323 MB / 0.5302 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.8405, allocations: 1.59 MB / 0.5317 GB, free: 37.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003073/0.8436, allocations: 5.099 MB / 0.5367 GB, free: 31.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.8465, allocations: 2.845 MB / 0.5395 GB, free: 30.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.818e-05/0.8466, allocations: 37.31 kB / 0.5395 GB, free: 30.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.007627/0.8542, allocations: 5.996 MB / 0.5454 GB, free: 28.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.8543, allocations: 65.53 kB / 0.5454 GB, free: 28.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.737e-05/0.8544, allocations: 127.9 kB / 0.5455 GB, free: 28.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005492/0.855, allocations: 355 kB / 0.5459 GB, free: 28.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003706/0.8587, allocations: 1.318 MB / 0.5472 GB, free: 28.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.8605, allocations: 2.243 MB / 0.5494 GB, free: 26.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/0.8641, allocations: 192.3 kB / 0.5495 GB, free: 26.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005791/0.8647, allocations: 349 kB / 0.5499 GB, free: 26.77 MB / 346.7 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.0005946/0.8653, allocations: 414.6 kB / 0.5503 GB, free: 26.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/0.8657, allocations: 283.8 kB / 0.5505 GB, free: 26.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.8696, allocations: 2.253 MB / 0.5527 GB, free: 24.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.8696, allocations: 19.69 kB / 0.5528 GB, free: 24.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.8696, allocations: 4 kB / 0.5528 GB, free: 24.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.8696, allocations: 14.92 kB / 0.5528 GB, free: 24.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009398/0.879, allocations: 5.59 MB / 0.5582 GB, free: 20.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.8791, allocations: 0 / 0.5582 GB, free: 20.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000835/0.8799, allocations: 183.7 kB / 0.5584 GB, free: 19.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/0.8819, allocations: 0.7085 MB / 0.5591 GB, free: 19.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.8821, allocations: 7.953 kB / 0.5591 GB, free: 19.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004294/0.8864, allocations: 4.291 MB / 0.5633 GB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.8864, allocations: 0 / 0.5633 GB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00588/0.8923, allocations: 4.392 MB / 0.5676 GB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.8934, allocations: 0.4949 MB / 0.5681 GB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/0.8937, allocations: 11.48 kB / 0.5681 GB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.8947, allocations: 59.34 kB / 0.5681 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.8949, allocations: 68.27 kB / 0.5682 GB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.411e-05/0.895, allocations: 36 kB / 0.5682 GB, free: 11.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002423/0.8974, allocations: 1.847 MB / 0.57 GB, free: 9.523 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8974, allocations: 0 / 0.57 GB, free: 9.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003779/0.9012, allocations: 0.696 MB / 0.5707 GB, free: 8.836 MB / 346.7 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.0003196/0.9015, allocations: 149.2 kB / 0.5709 GB, free: 8.691 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004463/0.906, allocations: 3.76 MB / 0.5745 GB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.906, allocations: 0 / 0.5745 GB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.9072, allocations: 1.066 MB / 0.5756 GB, free: 4.309 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.9089, allocations: 295.7 kB / 0.5759 GB, free: 4.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009164/0.9181, allocations: 5.814 MB / 0.5815 GB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002808/0.921, allocations: 2.848 MB / 0.5843 GB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004014/0.925, allocations: 1.711 MB / 0.586 GB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006225/0.9256, allocations: 199.2 kB / 0.5862 GB, free: 11.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.9256, allocations: 0 / 0.5862 GB, free: 11.41 MB / 362.7 MB Notification: Performance of Templates: time 0.2116/1.137, allocations: 25.01 MB / 0.6106 GB, free: 79.04 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)