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.001009/0.001009, 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.001092/0.001092, 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.603/1.603, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3793/0.3793, allocations: 39.99 MB / 310.4 MB, free: 9.934 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.0006059/0.000606, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1366, allocations: 57.97 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3079/0.4446, allocations: 79.44 MB / 0.5041 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04893/0.4936, allocations: 15.97 MB / 0.5197 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02353/0.5172, allocations: 373.1 kB / 0.5201 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01928/0.5365, allocations: 4.171 MB / 0.5242 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04979/0.5864, allocations: 12.11 MB / 0.536 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007274/0.5937, allocations: 1.071 MB / 0.537 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01564/0.6093, allocations: 8.175 MB / 0.545 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/0.6251, allocations: 8.527 MB / 0.5534 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006644/0.6318, allocations: 2.176 MB / 0.5555 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007916/0.6397, allocations: 3.591 MB / 0.559 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00258/0.6423, allocations: 276 kB / 0.5593 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005076/0.6474, allocations: 0.8817 MB / 0.5601 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005404/0.6529, allocations: 3.043 MB / 0.5631 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004002/0.6569, allocations: 1.419 MB / 0.5645 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.6718, allocations: 9.344 MB / 0.5736 GB, free: 11.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.6719, allocations: 0 / 0.5736 GB, free: 11.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.6719, allocations: 3.938 kB / 0.5736 GB, free: 11.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006404/0.6725, allocations: 0 / 0.5736 GB, free: 11.8 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.01887/0.6914, allocations: 6.697 MB / 0.5801 GB, free: 5.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.6915, allocations: 8.031 kB / 0.5801 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.7029, allocations: 2.788 MB / 0.5829 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009823/0.7128, allocations: 3.877 MB / 0.5867 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004589/0.7133, allocations: 467.6 kB / 0.5871 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002598/0.7159, allocations: 0.5892 MB / 0.5877 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05011/0.766, allocations: 21.22 MB / 0.6084 GB, free: 6.848 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000354/0.7664, allocations: 75.33 kB / 0.6085 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001774/0.7682, allocations: 287.7 kB / 0.6087 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00593/0.7741, allocations: 3.549 MB / 0.6122 GB, free: 2.938 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04037/0.8146, allocations: 17.18 MB / 0.629 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7279/1.542, allocations: 67.8 MB / 0.6952 GB, free: 33.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01769/1.56, allocations: 6.678 MB / 0.7017 GB, free: 31.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004142/1.564, allocations: 2.286 MB / 0.704 GB, free: 31.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01933/1.584, allocations: 9.785 MB / 0.7135 GB, free: 27.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/1.584, allocations: 73.64 kB / 0.7136 GB, free: 27.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 6.412e-06/1.584, allocations: 0 / 0.7136 GB, free: 27.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.05844/1.642, allocations: 22.8 MB / 0.7358 GB, free: 11.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/1.642, allocations: 161.8 kB / 0.736 GB, free: 11.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008466/1.651, allocations: 5.996 MB / 0.7419 GB, free: 6.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006973/1.652, allocations: 80.81 kB / 0.7419 GB, free: 6.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003618/1.655, allocations: 5.182 MB / 0.747 GB, free: 2.559 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00217/1.658, allocations: 1.263 MB / 0.7482 GB, free: 1.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004694/1.658, allocations: 196.9 kB / 0.7484 GB, free: 1.469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004897/1.658, allocations: 0.7215 MB / 0.7491 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005286/1.664, allocations: 2.811 MB / 0.7519 GB, free: 14.94 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01132/1.675, allocations: 8.634 MB / 0.7603 GB, free: 4.719 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008584/1.684, allocations: 4.786 MB / 0.765 GB, free: 260 kB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001701/1.684, allocations: 63.95 kB / 0.765 GB, free: 196 kB / 0.4982 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02816/1.712, allocations: 11.18 MB / 0.776 GB, free: 6.184 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006353/1.713, allocations: 96.03 kB / 0.776 GB, free: 6.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008266/1.714, allocations: 208 kB / 0.7762 GB, free: 5.887 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006801/1.714, allocations: 300.9 kB / 0.7765 GB, free: 5.594 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009227/1.724, allocations: 2.355 MB / 0.7788 GB, free: 3.438 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006348/1.724, allocations: 408.5 kB / 0.7792 GB, free: 3.125 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00826/1.733, allocations: 475.4 kB / 0.7797 GB, free: 2.66 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002086/1.735, allocations: 0.5742 MB / 0.7802 GB, free: 2.086 MB / 0.5138 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009166/1.744, allocations: 3.396 MB / 0.7835 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001709/1.746, allocations: 0.5455 MB / 0.7841 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008544/1.754, allocations: 3.446 MB / 0.7874 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.398e-05/1.754, allocations: 36 kB / 0.7875 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/1.754, allocations: 0.875 kB / 0.7875 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/1.754, allocations: 12.52 kB / 0.7875 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03487/1.789, allocations: 13.78 MB / 0.801 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001628/1.789, allocations: 35.95 kB / 0.801 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002711/1.792, allocations: 0.6189 MB / 0.8016 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.715e-05/1.792, allocations: 52 kB / 0.8016 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004975/1.793, allocations: 105.4 kB / 0.8017 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.27e-05/1.793, allocations: 71.44 kB / 0.8018 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.745e-05/1.793, allocations: 50.25 kB / 0.8019 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.804, allocations: 6.283 MB / 0.808 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003178/1.807, allocations: 0.849 MB / 0.8088 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/1.809, allocations: 104 kB / 0.8089 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003408/1.812, allocations: 155.9 kB / 0.8091 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005326/1.813, allocations: 298.3 kB / 0.8094 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000318/1.813, allocations: 135.5 kB / 0.8095 GB, free: 3.512 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009428/1.823, allocations: 3.712 MB / 0.8131 GB, free: 15.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 6.81e-07/1.823, allocations: 1.781 kB / 0.8131 GB, free: 15.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01336/1.836, allocations: 1.572 MB / 0.8146 GB, free: 14.23 MB / 0.5607 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 (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.001244/1.837, allocations: 274.5 kB / 0.8149 GB, free: 14 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01462/1.852, allocations: 6.463 MB / 0.8212 GB, free: 8.168 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.276e-05/1.852, allocations: 8 kB / 0.8212 GB, free: 8.16 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.003331/1.855, allocations: 1.556 MB / 0.8227 GB, free: 6.738 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008116/1.864, allocations: 0.7697 MB / 0.8235 GB, free: 5.98 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04137/1.905, allocations: 18.76 MB / 0.8418 GB, free: 2.812 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2838/2.189, allocations: 5.134 MB / 0.8468 GB, free: 216.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008197/2.197, allocations: 2.768 MB / 0.8495 GB, free: 216.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/2.199, allocations: 417.2 kB / 0.8499 GB, free: 216.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.392e-06/2.199, allocations: 0 / 0.8499 GB, free: 216.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.1082/2.307, allocations: 47.51 MB / 0.8963 GB, free: 204 MB / 0.5763 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: