Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.SpringMassSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 100 kB / 16.3 MB, free: 5.551 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.001193/0.001193, allocations: 183.1 kB / 17.2 MB, free: 5.484 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.3 MB, free: 13.17 MB / 190.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.0004883/0.0004884, allocations: 12 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.03433/0.1479, allocations: 33.07 MB / 360.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/0.1694, allocations: 8.339 MB / 369.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008218/0.1777, allocations: 167.6 kB / 369.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006588/0.1843, allocations: 1.614 MB / 370.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01698/0.2013, allocations: 4.866 MB / 375.7 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.204, allocations: 0.6201 MB / 376.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004538/0.2085, allocations: 2.41 MB / 378.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.222/0.4305, allocations: 3.349 MB / 382.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.433, allocations: 1.053 MB / 383.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.436, allocations: 1.464 MB / 384.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008284/0.4368, allocations: 142.3 kB / 384.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.439, allocations: 0.6913 MB / 385.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001901/0.4409, allocations: 1.527 MB / 387 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.4421, allocations: 0.7922 MB / 387.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006666/0.4488, allocations: 4.869 MB / 392.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4488, allocations: 0 / 392.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4488, allocations: 4 kB / 392.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002495/0.4491, allocations: 0 / 392.7 MB, free: 10.36 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: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.01033/0.4594, allocations: 3.893 MB / 396.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4595, allocations: 13.62 kB / 396.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008723/0.4682, allocations: 2.263 MB / 398.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007311/0.4756, allocations: 2.7 MB / 401.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/0.4759, allocations: 227.2 kB / 401.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/0.4774, allocations: 293.9 kB / 402 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/0.4995, allocations: 9.704 MB / 411.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.4997, allocations: 49.38 kB / 411.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004604/0.5001, allocations: 144.8 kB / 411.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00281/0.503, allocations: 1.924 MB / 413.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.5199, allocations: 7.688 MB / 421.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05062/0.5705, allocations: 37.88 MB / 459.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007099/0.5777, allocations: 2.899 MB / 462.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007321/0.5851, allocations: 3.812 MB / 466.1 MB, free: 5.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.5851, allocations: 50.12 kB / 466.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=134): time 4.579e-06/0.5852, allocations: 4 kB / 466.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=152): time 0.02681/0.612, allocations: 9.427 MB / 475.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.6121, allocations: 158 kB / 475.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007916/0.6201, allocations: 4.164 MB / 479.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002542/0.6204, allocations: 45.7 kB / 480 MB, free: 7.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002422/0.6228, allocations: 3.097 MB / 483.1 MB, free: 4.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008668/0.6237, allocations: 0.6058 MB / 483.7 MB, free: 4.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.624, allocations: 117.6 kB / 483.8 MB, free: 4.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004462/0.6244, allocations: 0.5461 MB / 484.3 MB, free: 3.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/0.6274, allocations: 1.546 MB / 485.9 MB, free: 2.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005662/0.6331, allocations: 5.292 MB / 491.2 MB, free: 10.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00482/0.6379, allocations: 2.79 MB / 494 MB, free: 8.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001832/0.6381, allocations: 40 kB / 494 MB, free: 8.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.01345/0.6516, allocations: 6.575 MB / 0.4889 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.6518, allocations: 64 kB / 0.4889 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002201/0.652, allocations: 132 kB / 0.489 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002662/0.6523, allocations: 196 kB / 0.4892 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004641/0.6569, allocations: 1.365 MB / 0.4906 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002685/0.6572, allocations: 263.1 kB / 0.4908 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005337/0.6625, allocations: 293.5 kB / 0.4911 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009145/0.6635, allocations: 368 kB / 0.4914 GB, free: 15.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (738): * Single equations (assignments): 735 * 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.004789/0.6683, allocations: 1.982 MB / 0.4934 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008935/0.6692, allocations: 342.5 kB / 0.4937 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.6721, allocations: 1.239 MB / 0.4949 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.326e-05/0.6721, allocations: 22.73 kB / 0.4949 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.6721, allocations: 0 / 0.4949 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.6722, allocations: 3.984 kB / 0.4949 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/0.6902, allocations: 5.768 MB / 0.5006 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.347e-05/0.6903, allocations: 16 kB / 0.5006 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.6915, allocations: 283.6 kB / 0.5009 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.241e-05/0.6916, allocations: 28 kB / 0.5009 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.6918, allocations: 48 kB / 0.5009 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.196e-05/0.6918, allocations: 47.88 kB / 0.501 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.209e-05/0.6919, allocations: 28.42 kB / 0.501 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005938/0.6978, allocations: 5.281 MB / 0.5062 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/0.6998, allocations: 0.5316 MB / 0.5067 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/0.701, allocations: 51.94 kB / 0.5067 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.7029, allocations: 58.47 kB / 0.5068 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.7031, allocations: 147.5 kB / 0.5069 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.7033, allocations: 70.25 kB / 0.507 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.006057/0.7094, allocations: 2.623 MB / 0.5096 GB, free: 11.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7094, allocations: 0 / 0.5096 GB, free: 11.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007324/0.7167, allocations: 0.8828 MB / 0.5104 GB, free: 10.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * 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 (142): * Single equations (assignments): 139 * 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.0008483/0.7176, allocations: 222.2 kB / 0.5106 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008191/0.7258, allocations: 3.579 MB / 0.5141 GB, free: 6.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.939e-05/0.7259, allocations: 4 kB / 0.5141 GB, free: 6.812 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.7274, allocations: 0.7317 MB / 0.5148 GB, free: 6.086 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/0.731, allocations: 426.4 kB / 0.5153 GB, free: 5.672 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/0.7518, allocations: 10.14 MB / 0.5252 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004173/0.7561, allocations: 3.185 MB / 0.5283 GB, free: 8.027 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004881/0.761, allocations: 1.778 MB / 0.53 GB, free: 6.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006787/0.7617, allocations: 235.4 kB / 0.5302 GB, free: 6.012 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7617, allocations: 0 / 0.5302 GB, free: 6.012 MB / 446.1 MB Notification: Performance of Templates: time 0.279/1.041, allocations: 26.21 MB / 0.5558 GB, free: 156.8 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) Environment - environmentSimulation: