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.001135/0.001135, allocations: 182.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.657/1.657, allocations: 194.2 MB / 208.4 MB, free: 6.637 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001736/0.001736, allocations: 122.2 kB / 253.5 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.868e-05, allocations: 4 kB / 304.9 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08877/0.08881, allocations: 44.5 MB / 349.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3364/0.4253, allocations: 90.92 MB / 440.4 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.4256, allocations: 85.77 kB / 440.4 MB, free: 4.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1841/0.6096, allocations: 71.72 MB / 0.5002 GB, free: 3.562 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6097, allocations: 3.938 kB / 0.5002 GB, free: 3.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001639/0.6099, allocations: 71.94 kB / 0.5002 GB, free: 3.488 MB / 362.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.0101/0.62, allocations: 3.35 MB / 0.5035 GB, free: 80 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.62, allocations: 16.02 kB / 0.5035 GB, free: 64 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009614/0.6296, allocations: 2.074 MB / 0.5055 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.6405, allocations: 4.025 MB / 0.5095 GB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00025/0.6408, allocations: 258.8 kB / 0.5097 GB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.6423, allocations: 339.8 kB / 0.51 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01829/0.6606, allocations: 8.796 MB / 0.5186 GB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001798/0.6608, allocations: 59.47 kB / 0.5187 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007912/0.6616, allocations: 171.9 kB / 0.5189 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001283/0.6629, allocations: 0.8681 MB / 0.5197 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.6772, allocations: 7.059 MB / 0.5266 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2779/0.9551, allocations: 42.59 MB / 0.5682 GB, free: 72.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006625/0.9618, allocations: 3.157 MB / 0.5713 GB, free: 71.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.9639, allocations: 1.415 MB / 0.5727 GB, free: 71.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008055/0.9719, allocations: 4.091 MB / 0.5766 GB, free: 69.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.972, allocations: 46.62 kB / 0.5767 GB, free: 69.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=114): time 5.28e-06/0.9721, allocations: 2.219 kB / 0.5767 GB, free: 69.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.02388/0.9959, allocations: 9.396 MB / 0.5859 GB, free: 67.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.996, allocations: 145.8 kB / 0.586 GB, free: 67.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004898/1.001, allocations: 3.269 MB / 0.5892 GB, free: 66.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/1.001, allocations: 46.48 kB / 0.5892 GB, free: 66.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/1.003, allocations: 2.729 MB / 0.5919 GB, free: 65.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/1.003, allocations: 0.4928 MB / 0.5924 GB, free: 65.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/1.003, allocations: 105.3 kB / 0.5925 GB, free: 65.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/1.004, allocations: 0.5279 MB / 0.593 GB, free: 64.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/1.006, allocations: 1.628 MB / 0.5946 GB, free: 64.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003369/1.009, allocations: 5.017 MB / 0.5995 GB, free: 60.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/1.012, allocations: 2.846 MB / 0.6023 GB, free: 60.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-05/1.012, allocations: 35.56 kB / 0.6023 GB, free: 60.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.008648/1.021, allocations: 6.557 MB / 0.6087 GB, free: 59.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.035e-05/1.021, allocations: 58.88 kB / 0.6088 GB, free: 59.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.901e-05/1.021, allocations: 121.8 kB / 0.6089 GB, free: 59.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005762/1.022, allocations: 343 kB / 0.6092 GB, free: 59.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/1.025, allocations: 1.271 MB / 0.6105 GB, free: 58.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/1.027, allocations: 2.335 MB / 0.6127 GB, free: 57.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003143/1.03, allocations: 281.4 kB / 0.613 GB, free: 57.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/1.031, allocations: 331.6 kB / 0.6133 GB, free: 57.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * 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 (656): * Single equations (assignments): 652 * 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.0005233/1.031, allocations: 0.5157 MB / 0.6138 GB, free: 56.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/1.031, allocations: 305.5 kB / 0.6141 GB, free: 56.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/1.036, allocations: 2.308 MB / 0.6164 GB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/1.036, allocations: 16.45 kB / 0.6164 GB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.036, allocations: 3.906 kB / 0.6164 GB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/1.036, allocations: 6.844 kB / 0.6164 GB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009765/1.045, allocations: 5.826 MB / 0.6221 GB, free: 53.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.045, allocations: 3.938 kB / 0.6221 GB, free: 53.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/1.046, allocations: 165.5 kB / 0.6222 GB, free: 53.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/1.048, allocations: 0.7151 MB / 0.6229 GB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/1.048, allocations: 18.97 kB / 0.623 GB, free: 53.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004569/1.053, allocations: 4.45 MB / 0.6273 GB, free: 50.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.053, allocations: 3.062 kB / 0.6273 GB, free: 50.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005906/1.059, allocations: 4.359 MB / 0.6316 GB, free: 49.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.06, allocations: 0.5241 MB / 0.6321 GB, free: 48.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00039/1.061, allocations: 15.59 kB / 0.6321 GB, free: 48.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009895/1.062, allocations: 74.97 kB / 0.6322 GB, free: 48.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.062, allocations: 65.2 kB / 0.6322 GB, free: 48.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/1.062, allocations: 37.47 kB / 0.6323 GB, free: 48.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003123/1.065, allocations: 2.272 MB / 0.6345 GB, free: 47.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.065, allocations: 0 / 0.6345 GB, free: 47.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003875/1.069, allocations: 0.8073 MB / 0.6353 GB, free: 47.24 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * 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.0003657/1.069, allocations: 157.7 kB / 0.6354 GB, free: 47.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005046/1.075, allocations: 3.905 MB / 0.6392 GB, free: 43.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.075, allocations: 0 / 0.6392 GB, free: 43.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.076, allocations: 1.069 MB / 0.6403 GB, free: 42.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/1.078, allocations: 353.8 kB / 0.6406 GB, free: 42.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009204/1.087, allocations: 5.83 MB / 0.6463 GB, free: 37.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/1.089, allocations: 2.832 MB / 0.6491 GB, free: 34.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003829/1.093, allocations: 1.642 MB / 0.6507 GB, free: 33.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/1.094, allocations: 202.8 kB / 0.6509 GB, free: 33.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/1.094, allocations: 0 / 0.6509 GB, free: 33.63 MB / 410.7 MB Notification: Performance of Templates: time 0.04448/1.138, allocations: 28.68 MB / 0.6789 GB, free: 10.04 MB / 410.7 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)