Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001086/0.001086, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.4 MB / 222.1 MB, free: 5.594 MB / 174.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.0004565/0.0004564, allocations: 8 kB / 278.9 MB, free: 12.94 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2564, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.04057/0.297, allocations: 42.54 MB / 369 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0253/0.3224, allocations: 9.435 MB / 378.5 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008546/0.331, allocations: 199.5 kB / 378.7 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007248/0.3382, allocations: 2.193 MB / 380.8 MB, free: 13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01812/0.3564, allocations: 6.599 MB / 387.4 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.3601, allocations: 0.6943 MB / 388.1 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007625/0.3677, allocations: 5.217 MB / 393.4 MB, free: 456 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007905/0.3756, allocations: 4.512 MB / 397.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/0.3794, allocations: 1.393 MB / 399.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004287/0.3837, allocations: 2.196 MB / 401.5 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.3849, allocations: 164 kB / 401.6 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.3876, allocations: 0.983 MB / 402.6 MB, free: 7.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002842/0.3905, allocations: 1.87 MB / 404.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002281/0.3928, allocations: 0.9011 MB / 405.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007393/0.4002, allocations: 5.713 MB / 411.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4002, allocations: 0 / 411.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4002, allocations: 0 / 411.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001274/0.4004, allocations: 4 kB / 411.1 MB, free: 14.61 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.007627/0.408, allocations: 4.392 MB / 415.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.408, allocations: 12.03 kB / 415.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00716/0.4152, allocations: 2.166 MB / 417.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004234/0.4195, allocations: 2.536 MB / 420.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.4197, allocations: 278.8 kB / 420.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008109/0.4205, allocations: 435.5 kB / 420.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02296/0.4435, allocations: 12.22 MB / 433.1 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001664/0.4437, allocations: 47.53 kB / 433.2 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006176/0.4443, allocations: 171.8 kB / 433.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003197/0.4475, allocations: 2.166 MB / 435.5 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/0.4687, allocations: 10.19 MB / 445.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2536/0.7224, allocations: 44.28 MB / 490 MB, free: 79.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009721/0.7321, allocations: 4.61 MB / 494.6 MB, free: 77.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.7342, allocations: 1.718 MB / 496.3 MB, free: 76.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009742/0.744, allocations: 8.228 MB / 0.4927 GB, free: 70.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.7441, allocations: 63.25 kB / 0.4927 GB, free: 70.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=183): time 4.799e-06/0.7441, allocations: 0 / 0.4927 GB, free: 70.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.03334/0.7774, allocations: 15.95 MB / 0.5083 GB, free: 54.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001015/0.7785, allocations: 1.601 MB / 0.5099 GB, free: 52.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005185/0.7837, allocations: 4.191 MB / 0.514 GB, free: 48.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003479/0.784, allocations: 59.27 kB / 0.514 GB, free: 48.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.7857, allocations: 3.401 MB / 0.5174 GB, free: 45.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007401/0.7864, allocations: 0.8163 MB / 0.5181 GB, free: 44.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.7867, allocations: 136 kB / 0.5183 GB, free: 44.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002475/0.7869, allocations: 0.5914 MB / 0.5189 GB, free: 43.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/0.7898, allocations: 2.239 MB / 0.521 GB, free: 41.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004818/0.7946, allocations: 6.371 MB / 0.5273 GB, free: 32.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/0.7989, allocations: 3.659 MB / 0.5308 GB, free: 29.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-05/0.799, allocations: 47.94 kB / 0.5309 GB, free: 29.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01896/0.8179, allocations: 10 MB / 0.5407 GB, free: 19.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.572e-05/0.818, allocations: 68 kB / 0.5407 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008785/0.8268, allocations: 3.777 MB / 0.5444 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008291/0.8351, allocations: 2.187 MB / 0.5465 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004911/0.8401, allocations: 1.583 MB / 0.5481 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.8468, allocations: 6.052 MB / 0.554 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005107/0.852, allocations: 431.5 kB / 0.5544 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008817/0.8529, allocations: 415.8 kB / 0.5548 GB, free: 4.383 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],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],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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003643/0.8565, allocations: 2.216 MB / 0.557 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006448/0.8572, allocations: 383.1 kB / 0.5573 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005754/0.863, allocations: 3.283 MB / 0.5605 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005009/0.868, allocations: 2.738 MB / 0.5632 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.868, allocations: 4 kB / 0.5632 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/0.8681, allocations: 7.969 kB / 0.5632 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/0.8854, allocations: 10.34 MB / 0.5733 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/0.8855, allocations: 12 kB / 0.5733 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/0.8869, allocations: 367.4 kB / 0.5737 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002727/0.8897, allocations: 0.9846 MB / 0.5747 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.8899, allocations: 63.97 kB / 0.5747 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004777/0.8947, allocations: 4.597 MB / 0.5792 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001018/0.8957, allocations: 1.482 MB / 0.5806 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009218/0.9049, allocations: 5.894 MB / 0.5864 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/0.9069, allocations: 0.6639 MB / 0.5871 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004895/0.9074, allocations: 59.98 kB / 0.5871 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/0.909, allocations: 139.8 kB / 0.5872 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003404/0.9093, allocations: 180.5 kB / 0.5874 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.9095, allocations: 75.97 kB / 0.5875 GB, free: 1.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004459/0.9139, allocations: 2.582 MB / 0.59 GB, free: 15.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.914, allocations: 0 / 0.59 GB, free: 15.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006771/0.9207, allocations: 1.165 MB / 0.5911 GB, free: 14.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007357/0.9215, allocations: 223.2 kB / 0.5914 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01524/0.9368, allocations: 5.933 MB / 0.5972 GB, free: 8.012 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.152e-05/0.9368, allocations: 4 kB / 0.5972 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004516/0.9414, allocations: 2.177 MB / 0.5993 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005105/0.9465, allocations: 491.1 kB / 0.5998 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.216/1.163, allocations: 12.63 MB / 0.6121 GB, free: 143.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003384/1.166, allocations: 3.463 MB / 0.6155 GB, free: 142.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004462/1.171, allocations: 2.027 MB / 0.6174 GB, free: 142.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006072/1.171, allocations: 276.1 kB / 0.6177 GB, free: 142.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/1.171, allocations: 0 / 0.6177 GB, free: 142.6 MB / 430.1 MB Notification: Performance of Templates: time 0.06092/1.232, allocations: 39.41 MB / 0.6562 GB, free: 109 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)