Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001184/0.001184, allocations: 91.84 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.008303/0.008303, allocations: 169.6 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.643/1.643, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4012/0.4012, allocations: 40 MB / 310.7 MB, free: 9.953 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.0005413/0.0005413, allocations: 20 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1421, allocations: 57.95 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3342/0.4764, allocations: 85.52 MB / 0.5107 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05314/0.5296, allocations: 16.72 MB / 0.527 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02665/0.5563, allocations: 367.8 kB / 0.5274 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004083/0.5604, allocations: 0.6853 MB / 0.528 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01233/0.5728, allocations: 2.588 MB / 0.5305 GB, free: 252 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005041/0.5779, allocations: 1.104 MB / 0.5316 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02132/0.5992, allocations: 10.29 MB / 0.5417 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01763/0.6169, allocations: 9.508 MB / 0.551 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006038/0.623, allocations: 2.011 MB / 0.5529 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00681/0.6299, allocations: 3.648 MB / 0.5565 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.6315, allocations: 280 kB / 0.5568 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/0.6353, allocations: 1.03 MB / 0.5578 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003962/0.6393, allocations: 3.112 MB / 0.5608 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005823/0.6451, allocations: 3.545 MB / 0.5643 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.6598, allocations: 11.31 MB / 0.5753 GB, free: 10.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.6598, allocations: 0 / 0.5753 GB, free: 10.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6598, allocations: 0 / 0.5753 GB, free: 10.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004794/0.6603, allocations: 4 kB / 0.5753 GB, free: 10.28 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.0199/0.6802, allocations: 6.689 MB / 0.5818 GB, free: 3.504 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6803, allocations: 16.02 kB / 0.5819 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.6927, allocations: 2.775 MB / 0.5846 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009773/0.7025, allocations: 3.959 MB / 0.5884 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005457/0.7031, allocations: 460.2 kB / 0.5889 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002439/0.7055, allocations: 0.5971 MB / 0.5895 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05316/0.7587, allocations: 21.32 MB / 0.6103 GB, free: 5.152 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003116/0.7591, allocations: 71.39 kB / 0.6104 GB, free: 5.082 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/0.7606, allocations: 287.7 kB / 0.6106 GB, free: 4.801 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006241/0.7669, allocations: 3.545 MB / 0.6141 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3311/1.098, allocations: 17.33 MB / 0.631 GB, free: 135.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09089/1.189, allocations: 67.91 MB / 0.6973 GB, free: 92.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02016/1.209, allocations: 6.793 MB / 0.704 GB, free: 90.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00465/1.214, allocations: 2.337 MB / 0.7062 GB, free: 90.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01902/1.233, allocations: 9.825 MB / 0.7158 GB, free: 84.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01317/1.246, allocations: 4.425 MB / 0.7202 GB, free: 81.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 4.859e-06/1.246, allocations: 0 / 0.7202 GB, free: 81.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.05862/1.305, allocations: 23.23 MB / 0.7429 GB, free: 64.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/1.305, allocations: 162.7 kB / 0.743 GB, free: 64.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008013/1.313, allocations: 6.05 MB / 0.7489 GB, free: 58.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006677/1.314, allocations: 81.06 kB / 0.749 GB, free: 58.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003803/1.317, allocations: 5.302 MB / 0.7542 GB, free: 52.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001485/1.319, allocations: 1.267 MB / 0.7554 GB, free: 51.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008568/1.32, allocations: 0.8288 MB / 0.7562 GB, free: 50.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/1.32, allocations: 309.8 kB / 0.7565 GB, free: 50.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004268/1.324, allocations: 2.897 MB / 0.7593 GB, free: 47.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006774/1.331, allocations: 8.73 MB / 0.7679 GB, free: 35.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01397/1.345, allocations: 12.62 MB / 0.7802 GB, free: 20.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001961/1.345, allocations: 60 kB / 0.7803 GB, free: 20.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02327/1.368, allocations: 11.4 MB / 0.7914 GB, free: 8.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002273/1.369, allocations: 118.7 kB / 0.7915 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003639/1.369, allocations: 208 kB / 0.7917 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/1.369, allocations: 276 kB / 0.792 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008199/1.378, allocations: 2.371 MB / 0.7943 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002599/1.378, allocations: 402.5 kB / 0.7947 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007385/1.385, allocations: 499.4 kB / 0.7951 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001491/1.387, allocations: 0.5781 MB / 0.7957 GB, free: 4.344 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1271): * Single equations (assignments): 1267 * Array equations: 3 * Algorithm blocks: 1 * 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.006815/1.394, allocations: 3.405 MB / 0.799 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/1.395, allocations: 0.5437 MB / 0.7996 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008572/1.403, allocations: 3.549 MB / 0.803 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.297e-05/1.404, allocations: 36 kB / 0.8031 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/1.404, allocations: 0 / 0.8031 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.175e-05/1.404, allocations: 15.94 kB / 0.8031 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03401/1.438, allocations: 13.82 MB / 0.8166 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001018/1.438, allocations: 32 kB / 0.8166 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002905/1.441, allocations: 0.6753 MB / 0.8173 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.198e-05/1.441, allocations: 52 kB / 0.8173 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003887/1.441, allocations: 107.9 kB / 0.8174 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.64e-05/1.441, allocations: 71.72 kB / 0.8175 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.433e-05/1.441, allocations: 47.81 kB / 0.8175 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.453, allocations: 6.242 MB / 0.8236 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003769/1.457, allocations: 0.8529 MB / 0.8244 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002499/1.459, allocations: 107.9 kB / 0.8246 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00392/1.463, allocations: 175.9 kB / 0.8247 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009441/1.464, allocations: 304.2 kB / 0.825 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006125/1.465, allocations: 132.8 kB / 0.8251 GB, free: 5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01016/1.475, allocations: 3.768 MB / 0.8288 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.51e-07/1.475, allocations: 0 / 0.8288 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.3386/1.814, allocations: 1.575 MB / 0.8304 GB, free: 158 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001111/1.815, allocations: 276.7 kB / 0.8306 GB, free: 157.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.827, allocations: 6.656 MB / 0.8371 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.664e-05/1.827, allocations: 9.531 kB / 0.8371 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003599/1.831, allocations: 1.889 MB / 0.839 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0296/1.86, allocations: 0.7729 MB / 0.8397 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03046/1.891, allocations: 19.59 MB / 0.8589 GB, free: 146.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00763/1.899, allocations: 5.149 MB / 0.8639 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008734/1.907, allocations: 2.762 MB / 0.8666 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/1.909, allocations: 414.1 kB / 0.867 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/1.909, allocations: 1.188 kB / 0.867 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.1287/2.038, allocations: 49.35 MB / 0.9152 GB, free: 115.8 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) Environment - environmentSimulation: