Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.SpringMassSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00177/0.00177, allocations: 165.2 kB / 7.635 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.258/1.258, 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.001625/0.001625, allocations: 122.1 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.425e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06535/0.06538, allocations: 38.77 MB / 301 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.251/0.3164, allocations: 81.72 MB / 382.7 MB, free: 2.918 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.3167, allocations: 80.89 kB / 382.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2212/0.5379, allocations: 81.93 MB / 464.7 MB, free: 6.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.538, allocations: 0 / 464.7 MB, free: 6.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002111/0.5382, allocations: 76.17 kB / 464.8 MB, free: 6.34 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: 1450 * Number of variables: 1450 Notification: Performance of Generate backend data structure: time 0.01138/0.5496, allocations: 3.802 MB / 468.6 MB, free: 2.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5496, allocations: 8.031 kB / 468.6 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.5611, allocations: 2.424 MB / 471 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1688/0.7299, allocations: 5.025 MB / 476.1 MB, free: 74.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.7302, allocations: 130.5 kB / 476.2 MB, free: 74.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.7317, allocations: 237.7 kB / 476.4 MB, free: 74.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0103/0.742, allocations: 5.739 MB / 482.2 MB, free: 74.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/0.7551, allocations: 8.899 MB / 491.1 MB, free: 71.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/0.7553, allocations: 60.75 kB / 491.1 MB, free: 71.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004558/0.7557, allocations: 32.28 kB / 491.1 MB, free: 71.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001316/0.7571, allocations: 0.9878 MB / 492.1 MB, free: 71.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03492/0.792, allocations: 44.58 MB / 0.5241 GB, free: 40.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.7939, allocations: 1.835 MB / 0.5259 GB, free: 39.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007379/0.7947, allocations: 0.74 MB / 0.5266 GB, free: 38.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.795, allocations: 457.7 kB / 0.5271 GB, free: 38.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.7951, allocations: 54.55 kB / 0.5271 GB, free: 38.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 4.138e-06/0.7951, allocations: 4.5 kB / 0.5271 GB, free: 38.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=142): time 0.01278/0.8079, allocations: 6.86 MB / 0.5338 GB, free: 34.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.8079, allocations: 143.2 kB / 0.534 GB, free: 34.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00451/0.8125, allocations: 2.977 MB / 0.5369 GB, free: 33.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002613/0.8128, allocations: 29.67 kB / 0.5369 GB, free: 33.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.8143, allocations: 3.126 MB / 0.54 GB, free: 31.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005104/0.8148, allocations: 0.5607 MB / 0.5405 GB, free: 30.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.815, allocations: 0 / 0.5405 GB, free: 30.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.8152, allocations: 0.5589 MB / 0.5411 GB, free: 30.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.8169, allocations: 1.4 MB / 0.5424 GB, free: 29.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/0.8197, allocations: 5.226 MB / 0.5475 GB, free: 23.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/0.8227, allocations: 2.698 MB / 0.5502 GB, free: 22.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.319e-05/0.8228, allocations: 39.69 kB / 0.5502 GB, free: 22.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.008134/0.8309, allocations: 5.719 MB / 0.5558 GB, free: 19.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/0.8311, allocations: 64 kB / 0.5558 GB, free: 19.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/0.8312, allocations: 140 kB / 0.556 GB, free: 19.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.8314, allocations: 204 kB / 0.5562 GB, free: 19.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004162/0.8355, allocations: 1.43 MB / 0.5576 GB, free: 17.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001498/0.8357, allocations: 274 kB / 0.5578 GB, free: 17.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00391/0.8396, allocations: 265.6 kB / 0.5581 GB, free: 17.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005188/0.8402, allocations: 372 kB / 0.5584 GB, free: 17.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (750): * Single equations (assignments): 747 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006232/0.8408, allocations: 444.1 kB / 0.5589 GB, free: 16.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/0.8412, allocations: 304.1 kB / 0.5592 GB, free: 16.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.8427, allocations: 1.007 MB / 0.5601 GB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.8427, allocations: 16 kB / 0.5602 GB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/0.8427, allocations: 7.703 kB / 0.5602 GB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.8427, allocations: 3.844 kB / 0.5602 GB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007096/0.8498, allocations: 4.717 MB / 0.5648 GB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.8499, allocations: 15.94 kB / 0.5648 GB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009689/0.8509, allocations: 261.5 kB / 0.565 GB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.357e-05/0.8509, allocations: 24 kB / 0.5651 GB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.426e-05/0.851, allocations: 27.75 kB / 0.5651 GB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/0.851, allocations: 31.88 kB / 0.5651 GB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/0.851, allocations: 27.81 kB / 0.5651 GB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.854, allocations: 4.619 MB / 0.5697 GB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/0.8548, allocations: 490.7 kB / 0.5701 GB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.8551, allocations: 27.84 kB / 0.5701 GB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.8562, allocations: 58.47 kB / 0.5702 GB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.8563, allocations: 133 kB / 0.5703 GB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.8564, allocations: 61.92 kB / 0.5704 GB, free: 5.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002413/0.8588, allocations: 1.967 MB / 0.5723 GB, free: 3.629 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8588, allocations: 0 / 0.5723 GB, free: 3.629 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004242/0.8631, allocations: 0.7268 MB / 0.573 GB, free: 2.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 132 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003534/0.8634, allocations: 183.9 kB / 0.5732 GB, free: 2.734 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005067/0.8685, allocations: 3.273 MB / 0.5764 GB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.8686, allocations: 4 kB / 0.5764 GB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009071/0.8695, allocations: 0.6578 MB / 0.577 GB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.8718, allocations: 337.4 kB / 0.5774 GB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.8847, allocations: 6.752 MB / 0.584 GB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003259/0.888, allocations: 3.144 MB / 0.587 GB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004569/0.8926, allocations: 1.827 MB / 0.5888 GB, free: 5.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/0.8932, allocations: 216.9 kB / 0.589 GB, free: 4.996 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.8932, allocations: 0 / 0.589 GB, free: 4.996 MB / 362.7 MB Notification: Performance of Templates: time 0.2233/1.117, allocations: 21.72 MB / 0.6102 GB, free: 74.72 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1)