Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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.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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6585/0.6585, allocations: 110.9 MB / 125.9 MB, free: 6.199 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001676/0.001676, allocations: 146.5 kB / 151.8 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002506, allocations: 4 kB / 184.9 MB, free: 3.902 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1297, allocations: 25.15 MB / 210.1 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05424/0.184, allocations: 47.84 MB / 257.9 MB, free: 1.949 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.1843, allocations: 75.95 kB / 258 MB, free: 1.875 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6578/0.842, allocations: 182.6 MB / 440.6 MB, free: 33.2 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.8421, allocations: 3.781 kB / 440.6 MB, free: 33.2 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001598/0.8423, allocations: 110.6 kB / 440.7 MB, free: 33.19 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2050 * Number of variables: 2050 Notification: Performance of Generate backend data structure: time 0.0245/0.8668, allocations: 7.78 MB / 448.5 MB, free: 25.77 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8668, allocations: 12.03 kB / 448.5 MB, free: 25.75 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1105/0.9773, allocations: 24.89 MB / 473.4 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01988/0.9973, allocations: 7.075 MB / 480.4 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000655/0.9979, allocations: 443.2 kB / 480.9 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005304/1.003, allocations: 0.5551 MB / 481.4 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2099/1.213, allocations: 29.97 MB / 0.4994 GB, free: 40.04 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/1.213, allocations: 42.12 kB / 0.4995 GB, free: 40.04 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/1.215, allocations: 258.2 kB / 0.4997 GB, free: 40.04 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04015/1.255, allocations: 10 MB / 0.5095 GB, free: 39.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08335/1.338, allocations: 31.78 MB / 0.5405 GB, free: 29.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5573/1.896, allocations: 126.7 MB / 0.6642 GB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02395/1.92, allocations: 8.534 MB / 0.6725 GB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1932/2.113, allocations: 23.05 MB / 0.6951 GB, free: 51.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/2.113, allocations: 61.89 kB / 0.6951 GB, free: 51.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=195): time 7.384e-06/2.113, allocations: 0.9375 kB / 0.6951 GB, free: 51.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=213): time 0.07552/2.189, allocations: 25.22 MB / 0.7197 GB, free: 46.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/2.189, allocations: 152 kB / 0.7199 GB, free: 46.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007754/2.197, allocations: 4.832 MB / 0.7246 GB, free: 46.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006565/2.197, allocations: 54.08 kB / 0.7247 GB, free: 46.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002206/2.2, allocations: 4.109 MB / 0.7287 GB, free: 43.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001033/2.201, allocations: 0.8339 MB / 0.7295 GB, free: 43.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005445/2.201, allocations: 155.9 kB / 0.7296 GB, free: 43.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003198/2.201, allocations: 0.6402 MB / 0.7303 GB, free: 43.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01976/2.221, allocations: 6.37 MB / 0.7365 GB, free: 43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0225/2.244, allocations: 11.32 MB / 0.7475 GB, free: 35.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01886/2.263, allocations: 6.856 MB / 0.7542 GB, free: 29.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001616/2.263, allocations: 52 kB / 0.7543 GB, free: 29.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.04758/2.31, allocations: 16.39 MB / 0.7703 GB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/2.311, allocations: 80 kB / 0.7704 GB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002488/2.311, allocations: 176 kB / 0.7705 GB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/2.311, allocations: 260 kB / 0.7708 GB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006363/2.317, allocations: 1.954 MB / 0.7727 GB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000207/2.318, allocations: 350.7 kB / 0.773 GB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1455/2.463, allocations: 1.871 MB / 0.7749 GB, free: 43.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002172/2.465, allocations: 0.6856 MB / 0.7755 GB, free: 43.31 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (984): * Single equations (assignments): 971 * Array equations: 13 * 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.005566/2.471, allocations: 2.589 MB / 0.7781 GB, free: 43.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/2.472, allocations: 435.6 kB / 0.7785 GB, free: 43.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009564/2.482, allocations: 3.022 MB / 0.7814 GB, free: 43.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01169/2.493, allocations: 2.658 MB / 0.784 GB, free: 43.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/2.494, allocations: 1.344 kB / 0.784 GB, free: 43.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.212e-05/2.494, allocations: 13.5 kB / 0.784 GB, free: 43.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05532/2.549, allocations: 17.27 MB / 0.8009 GB, free: 41.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.119e-05/2.549, allocations: 20.97 kB / 0.8009 GB, free: 41.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/2.55, allocations: 374.9 kB / 0.8013 GB, free: 41.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.366e-05/2.55, allocations: 30.94 kB / 0.8013 GB, free: 41.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003007/2.551, allocations: 133.4 kB / 0.8014 GB, free: 41.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.371e-05/2.551, allocations: 37.92 kB / 0.8015 GB, free: 41.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/2.551, allocations: 33.25 kB / 0.8015 GB, free: 41.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04541/2.596, allocations: 18.08 MB / 0.8191 GB, free: 37.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00306/2.599, allocations: 1.01 MB / 0.8201 GB, free: 37.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008985/2.6, allocations: 58.42 kB / 0.8202 GB, free: 37.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008051/2.608, allocations: 1.406 MB / 0.8216 GB, free: 37.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/2.609, allocations: 176.6 kB / 0.8217 GB, free: 37.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003963/2.609, allocations: 259.2 kB / 0.822 GB, free: 37.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.005794/2.615, allocations: 3.381 MB / 0.8253 GB, free: 36.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.4e-07/2.615, allocations: 3.969 kB / 0.8253 GB, free: 36.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.007461/2.622, allocations: 1.281 MB / 0.8265 GB, free: 36.71 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * 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 (187): * Single equations (assignments): 174 * Array equations: 13 * 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.0005706/2.623, allocations: 224.7 kB / 0.8267 GB, free: 36.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.03676/2.66, allocations: 13.11 MB / 0.8395 GB, free: 31.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/2.66, allocations: 4 kB / 0.8396 GB, free: 31.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01517/2.675, allocations: 4.898 MB / 0.8443 GB, free: 27.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/2.678, allocations: 459.7 kB / 0.8448 GB, free: 26.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/2.709, allocations: 17.28 MB / 0.8616 GB, free: 9.234 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003524/2.712, allocations: 4.118 MB / 0.8657 GB, free: 5.113 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.008023/2.721, allocations: 2.91 MB / 0.8685 GB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/2.723, allocations: 0.6707 MB / 0.8692 GB, free: 1.527 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/2.723, allocations: 0 / 0.8692 GB, free: 1.527 MB / 266.7 MB Notification: Performance of Templates: time 0.2316/2.954, allocations: 58.59 MB / 0.9264 GB, free: 47.11 MB / 282.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1)