Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.00745/0.00745, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.581/1.581, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3611/0.3611, allocations: 40 MB / 310.7 MB, free: 9.922 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006301/0.0006303, allocations: 15.98 kB / 379.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1525, allocations: 57.96 MB / 437.4 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.393/0.5455, allocations: 85.46 MB / 0.5106 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05052/0.5961, allocations: 16.66 MB / 0.5269 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02485/0.621, allocations: 366.7 kB / 0.5272 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003848/0.6249, allocations: 0.6815 MB / 0.5279 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.6369, allocations: 2.591 MB / 0.5304 GB, free: 256 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00426/0.6412, allocations: 1.086 MB / 0.5315 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02064/0.6619, allocations: 10.25 MB / 0.5415 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01738/0.6793, allocations: 9.478 MB / 0.5508 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00583/0.6852, allocations: 2.007 MB / 0.5527 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007574/0.6928, allocations: 3.632 MB / 0.5563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002154/0.695, allocations: 276 kB / 0.5565 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004922/0.6999, allocations: 1.018 MB / 0.5575 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005514/0.7055, allocations: 3.112 MB / 0.5606 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008869/0.7144, allocations: 3.53 MB / 0.564 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01932/0.7338, allocations: 11.27 MB / 0.575 GB, free: 10.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.7338, allocations: 0 / 0.575 GB, free: 10.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.7339, allocations: 0 / 0.575 GB, free: 10.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006746/0.7345, allocations: 4 kB / 0.575 GB, free: 10.56 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01803/0.7526, allocations: 6.607 MB / 0.5815 GB, free: 3.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.7527, allocations: 8.031 kB / 0.5815 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.7651, allocations: 2.783 MB / 0.5842 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.7765, allocations: 3.939 MB / 0.588 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005422/0.7771, allocations: 460.1 kB / 0.5885 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002663/0.7798, allocations: 0.5933 MB / 0.5891 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05327/0.8331, allocations: 21.27 MB / 0.6098 GB, free: 5.602 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004602/0.8336, allocations: 83.23 kB / 0.6099 GB, free: 5.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002622/0.8363, allocations: 287.7 kB / 0.6102 GB, free: 5.238 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005923/0.8422, allocations: 3.537 MB / 0.6136 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04609/0.8883, allocations: 17.25 MB / 0.6305 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7628/1.651, allocations: 67.83 MB / 0.6967 GB, free: 28.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01935/1.671, allocations: 6.701 MB / 0.7033 GB, free: 25.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004617/1.675, allocations: 2.293 MB / 0.7055 GB, free: 24.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01965/1.695, allocations: 9.789 MB / 0.7151 GB, free: 17.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/1.695, allocations: 70.92 kB / 0.7151 GB, free: 17.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 6.683e-06/1.695, allocations: 0 / 0.7151 GB, free: 17.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.06336/1.758, allocations: 22.84 MB / 0.7375 GB, free: 15 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/1.759, allocations: 162.7 kB / 0.7376 GB, free: 14.81 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/1.77, allocations: 6.025 MB / 0.7435 GB, free: 8.777 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.000956/1.771, allocations: 77.7 kB / 0.7436 GB, free: 8.695 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00544/1.777, allocations: 5.188 MB / 0.7486 GB, free: 3.531 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002676/1.78, allocations: 1.256 MB / 0.7499 GB, free: 2.285 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/1.781, allocations: 0.8281 MB / 0.7507 GB, free: 1.453 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.781, allocations: 305.1 kB / 0.751 GB, free: 1.152 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005667/1.787, allocations: 2.858 MB / 0.7538 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/1.797, allocations: 8.673 MB / 0.7622 GB, free: 2.852 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01726/1.814, allocations: 12.51 MB / 0.7744 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002115/1.815, allocations: 63.94 kB / 0.7745 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02667/1.841, allocations: 11.26 MB / 0.7855 GB, free: 10.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/1.842, allocations: 96.03 kB / 0.7856 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002984/1.842, allocations: 208 kB / 0.7858 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/1.842, allocations: 272 kB / 0.786 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008554/1.851, allocations: 2.361 MB / 0.7884 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003844/1.851, allocations: 403.1 kB / 0.7887 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008407/1.86, allocations: 479.4 kB / 0.7892 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00258/1.862, allocations: 0.5781 MB / 0.7898 GB, free: 6.059 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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.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 (1267): * Single equations (assignments): 1264 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01025/1.873, allocations: 3.397 MB / 0.7931 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002039/1.875, allocations: 0.536 MB / 0.7936 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009246/1.884, allocations: 3.46 MB / 0.797 GB, free: 14.8 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.379e-05/1.884, allocations: 37.62 kB / 0.797 GB, free: 14.77 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.459e-05/1.884, allocations: 4 kB / 0.797 GB, free: 14.76 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.212e-05/1.884, allocations: 14.67 kB / 0.797 GB, free: 14.75 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03296/1.917, allocations: 13.8 MB / 0.8105 GB, free: 0.6797 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001191/1.917, allocations: 32 kB / 0.8105 GB, free: 0.6484 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/1.92, allocations: 0.6156 MB / 0.8111 GB, free: 76 kB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.458e-05/1.92, allocations: 47.94 kB / 0.8112 GB, free: 28 kB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004215/1.92, allocations: 107 kB / 0.8113 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-05/1.921, allocations: 68.59 kB / 0.8114 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.589e-05/1.921, allocations: 55.75 kB / 0.8114 GB, free: 15.84 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.931, allocations: 6.309 MB / 0.8176 GB, free: 8.945 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/1.934, allocations: 0.849 MB / 0.8184 GB, free: 8.07 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001739/1.936, allocations: 103.9 kB / 0.8185 GB, free: 7.969 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00391/1.94, allocations: 159.9 kB / 0.8187 GB, free: 7.812 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00072/1.941, allocations: 296 kB / 0.8189 GB, free: 7.551 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003863/1.941, allocations: 139.5 kB / 0.8191 GB, free: 7.418 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01026/1.951, allocations: 3.744 MB / 0.8227 GB, free: 3.676 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.236e-06/1.951, allocations: 0 / 0.8227 GB, free: 3.676 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01109/1.962, allocations: 1.573 MB / 0.8243 GB, free: 2.109 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.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 (317): * Single equations (assignments): 314 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/1.964, allocations: 285.9 kB / 0.8245 GB, free: 1.871 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01519/1.979, allocations: 6.508 MB / 0.8309 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.561e-05/1.979, allocations: 4.375 kB / 0.8309 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00339/1.982, allocations: 1.577 MB / 0.8324 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03098/2.013, allocations: 0.7691 MB / 0.8332 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3229/2.336, allocations: 19.57 MB / 0.8523 GB, free: 226.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008519/2.345, allocations: 5.136 MB / 0.8573 GB, free: 226.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007302/2.352, allocations: 2.756 MB / 0.86 GB, free: 226 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/2.354, allocations: 422.5 kB / 0.8604 GB, free: 226 MB / 0.5919 GB Notification: Performance of SimCode: time 1.263e-06/2.354, allocations: 3.219 kB / 0.8604 GB, free: 226 MB / 0.5919 GB Notification: Performance of Templates: time 0.1223/2.476, allocations: 48.6 MB / 0.9079 GB, free: 211.1 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) Environment - environmentSimulation: