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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009737/0.0009738, allocations: 177.3 kB / 15.95 MB, free: 216 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.764/1.764, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4072/0.4072, allocations: 38.03 MB / 308.4 MB, free: 10.37 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.1. 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.0006318/0.0006318, allocations: 15.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1396, allocations: 57.51 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3452/0.4849, allocations: 75.03 MB / 0.497 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0472/0.5321, allocations: 16.83 MB / 0.5134 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02267/0.5548, allocations: 364.8 kB / 0.5138 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01578/0.5706, allocations: 3.74 MB / 0.5174 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04668/0.6173, allocations: 10.55 MB / 0.5278 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008124/0.6255, allocations: 1.076 MB / 0.5288 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.6377, allocations: 3.957 MB / 0.5327 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01732/0.6551, allocations: 8.505 MB / 0.541 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005448/0.6606, allocations: 1.775 MB / 0.5427 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005694/0.6663, allocations: 2.57 MB / 0.5452 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002446/0.6688, allocations: 276 kB / 0.5455 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004343/0.6732, allocations: 0.8623 MB / 0.5463 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0056/0.6788, allocations: 2.833 MB / 0.5491 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003665/0.6825, allocations: 1.427 MB / 0.5505 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.698, allocations: 9.399 MB / 0.5597 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6981, allocations: 4 kB / 0.5597 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6981, allocations: 0 / 0.5597 GB, free: 11.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00063/0.6987, allocations: 0 / 0.5597 GB, free: 11.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.02021/0.719, allocations: 6.833 MB / 0.5663 GB, free: 4.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.719, allocations: 8.031 kB / 0.5663 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/0.7331, allocations: 3.275 MB / 0.5695 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.7461, allocations: 4.405 MB / 0.5738 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007904/0.7469, allocations: 467.5 kB / 0.5743 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003301/0.7503, allocations: 0.5856 MB / 0.5749 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05175/0.802, allocations: 21.5 MB / 0.5959 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004537/0.8025, allocations: 67.41 kB / 0.5959 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002287/0.8048, allocations: 287.7 kB / 0.5962 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006152/0.811, allocations: 3.541 MB / 0.5997 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04618/0.8572, allocations: 17.52 MB / 0.6168 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6979/1.555, allocations: 70.48 MB / 0.6856 GB, free: 34.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04417/1.599, allocations: 14.56 MB / 0.6998 GB, free: 31.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02275/1.622, allocations: 14.53 MB / 0.714 GB, free: 27.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03675/1.659, allocations: 12.44 MB / 0.7262 GB, free: 20.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=303): time 1.261e-05/1.659, allocations: 0 / 0.7262 GB, free: 20.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=337): time 0.1213/1.78, allocations: 41.72 MB / 0.7669 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/1.78, allocations: 171.3 kB / 0.7671 GB, free: 15.23 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01537/1.796, allocations: 6.381 MB / 0.7733 GB, free: 10.46 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.797, allocations: 84.05 kB / 0.7734 GB, free: 10.41 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.005966/1.803, allocations: 5.303 MB / 0.7786 GB, free: 6.117 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002269/1.805, allocations: 1.282 MB / 0.7798 GB, free: 5.047 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008289/1.806, allocations: 197.1 kB / 0.78 GB, free: 5.008 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0005808/1.807, allocations: 0.7223 MB / 0.7807 GB, free: 4.438 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005605/1.812, allocations: 3.239 MB / 0.7839 GB, free: 2.188 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009852/1.822, allocations: 9.028 MB / 0.7927 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009706/1.832, allocations: 5.232 MB / 0.7978 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002486/1.832, allocations: 64 kB / 0.7979 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1288) (initialization): time 0.03049/1.863, allocations: 12.22 MB / 0.8098 GB, free: 11.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000479/1.863, allocations: 131.4 kB / 0.8099 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004766/1.864, allocations: 204.1 kB / 0.8101 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/1.865, allocations: 0.5316 MB / 0.8106 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/1.875, allocations: 2.421 MB / 0.813 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/1.879, allocations: 2.716 MB / 0.8156 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008951/1.888, allocations: 0.5599 MB / 0.8162 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002289/1.89, allocations: 0.5781 MB / 0.8167 GB, free: 4.246 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: 77 ($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.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 (1260): * Single equations (assignments): 1255 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008826/1.899, allocations: 3.396 MB / 0.8201 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/1.901, allocations: 0.5476 MB / 0.8206 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/1.911, allocations: 4.453 MB / 0.8249 GB, free: 12.04 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.098e-05/1.911, allocations: 36 kB / 0.825 GB, free: 12.01 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.911, allocations: 0 / 0.825 GB, free: 12.01 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.446e-05/1.911, allocations: 15.94 kB / 0.825 GB, free: 11.99 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03083/1.942, allocations: 13.68 MB / 0.8384 GB, free: 14.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-05/1.942, allocations: 28 kB / 0.8384 GB, free: 14.06 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002947/1.945, allocations: 0.7056 MB / 0.8391 GB, free: 13.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.372e-05/1.945, allocations: 48 kB / 0.8391 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003635/1.945, allocations: 99.94 kB / 0.8392 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-05/1.945, allocations: 62.06 kB / 0.8393 GB, free: 13.21 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.877e-05/1.945, allocations: 45.03 kB / 0.8393 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.262/2.207, allocations: 11.81 MB / 0.8508 GB, free: 219.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003644/2.211, allocations: 0.8864 MB / 0.8517 GB, free: 219.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/2.212, allocations: 97.27 kB / 0.8518 GB, free: 219.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002395/2.215, allocations: 197.3 kB / 0.852 GB, free: 219.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/2.215, allocations: 294.5 kB / 0.8523 GB, free: 219.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/2.215, allocations: 126.7 kB / 0.8524 GB, free: 219.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006698/2.222, allocations: 4.013 MB / 0.8563 GB, free: 219.2 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.61e-07/2.222, allocations: 0 / 0.8563 GB, free: 219.2 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008967/2.231, allocations: 1.624 MB / 0.8579 GB, free: 219.2 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 128 * 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 (322): * Single equations (assignments): 317 * 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.0008253/2.232, allocations: 287.1 kB / 0.8582 GB, free: 219.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0125/2.244, allocations: 7.326 MB / 0.8653 GB, free: 217.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-05/2.244, allocations: 3.344 kB / 0.8653 GB, free: 217.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003643/2.248, allocations: 1.976 MB / 0.8673 GB, free: 217.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004035/2.252, allocations: 0.7108 MB / 0.868 GB, free: 216.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03363/2.286, allocations: 18.81 MB / 0.8863 GB, free: 206.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008253/2.294, allocations: 5.301 MB / 0.8915 GB, free: 204.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00904/2.303, allocations: 2.804 MB / 0.8942 GB, free: 204.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002018/2.305, allocations: 418.4 kB / 0.8946 GB, free: 204.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.343e-06/2.305, allocations: 3.938 kB / 0.8946 GB, free: 204.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.09787/2.403, allocations: 52.19 MB / 0.9456 GB, free: 170.5 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: