Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008375/0.008375, allocations: 164.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.35/1.35, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001609/0.001609, allocations: 115.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3732/0.3732, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004588, allocations: 15.98 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1293, allocations: 48.69 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.5001, allocations: 94.91 MB / 0.4946 GB, free: 9.129 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.5003, allocations: 82.33 kB / 0.4947 GB, free: 9.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5914/1.092, allocations: 144.8 MB / 0.6361 GB, free: 72.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.558e-06/1.092, allocations: 3.938 kB / 0.6361 GB, free: 72.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000397/1.092, allocations: 143.7 kB / 0.6363 GB, free: 72.14 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.02714/1.119, allocations: 6.976 MB / 0.6431 GB, free: 69.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/1.119, allocations: 11.12 kB / 0.6431 GB, free: 69.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01858/1.138, allocations: 3.619 MB / 0.6466 GB, free: 68.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02026/1.158, allocations: 7.662 MB / 0.6541 GB, free: 67.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001114/1.16, allocations: 0.5938 MB / 0.6547 GB, free: 67.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005102/1.165, allocations: 0.7809 MB / 0.6554 GB, free: 67.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05989/1.225, allocations: 21.83 MB / 0.6768 GB, free: 59.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006667/1.225, allocations: 103.6 kB / 0.6769 GB, free: 59.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004489/1.23, allocations: 379.1 kB / 0.6772 GB, free: 58.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003667/1.233, allocations: 1.939 MB / 0.6791 GB, free: 58.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04253/1.276, allocations: 17.7 MB / 0.6964 GB, free: 46.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3712/1.647, allocations: 79.41 MB / 0.774 GB, free: 45.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01748/1.665, allocations: 6.667 MB / 0.7805 GB, free: 45.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01696/1.682, allocations: 9.775 MB / 0.79 GB, free: 42.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01434/1.696, allocations: 4.404 MB / 0.7943 GB, free: 42.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=287): time 6.803e-06/1.696, allocations: 3.25 kB / 0.7943 GB, free: 42.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=323): time 0.07309/1.769, allocations: 25.11 MB / 0.8188 GB, free: 37.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/1.769, allocations: 166.9 kB / 0.819 GB, free: 37.63 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008733/1.778, allocations: 5.413 MB / 0.8243 GB, free: 37.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007256/1.779, allocations: 80.58 kB / 0.8244 GB, free: 37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004696/1.784, allocations: 5.275 MB / 0.8295 GB, free: 34.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001647/1.785, allocations: 1.229 MB / 0.8307 GB, free: 33.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007351/1.786, allocations: 195.8 kB / 0.8309 GB, free: 33.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005365/1.787, allocations: 0.7161 MB / 0.8316 GB, free: 32.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005545/1.792, allocations: 2.915 MB / 0.8344 GB, free: 32.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008263/1.801, allocations: 8.632 MB / 0.8429 GB, free: 24.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008551/1.809, allocations: 4.881 MB / 0.8476 GB, free: 23.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002366/1.809, allocations: 59.41 kB / 0.8477 GB, free: 23.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02413/1.834, allocations: 11.32 MB / 0.8588 GB, free: 19.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003534/1.834, allocations: 130.8 kB / 0.8589 GB, free: 19.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005421/1.834, allocations: 203.8 kB / 0.8591 GB, free: 19.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004884/1.835, allocations: 301.4 kB / 0.8594 GB, free: 19.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008937/1.844, allocations: 2.4 MB / 0.8617 GB, free: 19.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005081/1.844, allocations: 399.5 kB / 0.8621 GB, free: 19.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009402/1.854, allocations: 0.6434 MB / 0.8627 GB, free: 18.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002122/1.856, allocations: 0.5673 MB / 0.8633 GB, free: 18.86 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * Number of states: 0 () * Number of discrete variables: 74 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1240): * Single equations (assignments): 1236 * Array equations: 3 * Algorithm blocks: 1 * 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.009085/1.865, allocations: 3.379 MB / 0.8666 GB, free: 17.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/1.867, allocations: 0.5437 MB / 0.8671 GB, free: 16.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00803/1.875, allocations: 3.479 MB / 0.8705 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.441e-05/1.875, allocations: 33.16 kB / 0.8705 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/1.875, allocations: 7.938 kB / 0.8705 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.159e-05/1.875, allocations: 16.92 kB / 0.8706 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03122/1.906, allocations: 13.63 MB / 0.8839 GB, free: 5.035 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001187/1.906, allocations: 36 kB / 0.8839 GB, free: 5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002812/1.909, allocations: 0.6084 MB / 0.8845 GB, free: 4.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.477e-05/1.909, allocations: 52 kB / 0.8845 GB, free: 4.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000459/1.91, allocations: 100.6 kB / 0.8846 GB, free: 4.336 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.17e-05/1.91, allocations: 69.61 kB / 0.8847 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.915e-05/1.91, allocations: 51.75 kB / 0.8848 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.923, allocations: 12.08 MB / 0.8966 GB, free: 6.949 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/1.926, allocations: 0.8453 MB / 0.8974 GB, free: 6.152 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001728/1.928, allocations: 98.33 kB / 0.8975 GB, free: 6.062 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003694/1.932, allocations: 219.7 kB / 0.8977 GB, free: 5.898 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006125/1.933, allocations: 300.2 kB / 0.898 GB, free: 5.676 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003239/1.933, allocations: 127.7 kB / 0.8981 GB, free: 5.555 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009193/1.942, allocations: 3.793 MB / 0.9018 GB, free: 2.453 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.942, allocations: 0 / 0.9018 GB, free: 2.453 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01134/1.954, allocations: 1.558 MB / 0.9033 GB, free: 0.9062 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 299 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001082/1.955, allocations: 275.4 kB / 0.9036 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01481/1.969, allocations: 6.699 MB / 0.9101 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.993e-05/1.97, allocations: 6.953 kB / 0.9101 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003931/1.973, allocations: 1.852 MB / 0.9119 GB, free: 9.496 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004787/1.978, allocations: 0.7011 MB / 0.9126 GB, free: 8.895 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03854/2.017, allocations: 18.55 MB / 0.9307 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01267/2.03, allocations: 5.256 MB / 0.9359 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008928/2.039, allocations: 2.747 MB / 0.9386 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/2.04, allocations: 407.4 kB / 0.9389 GB, free: 364 kB / 0.4948 GB Notification: Performance of SimCode: time 1.243e-06/2.04, allocations: 0 / 0.9389 GB, free: 364 kB / 0.4948 GB Notification: Performance of Templates: time 0.3282/2.368, allocations: 46.97 MB / 0.9848 GB, free: 139.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1)