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.00576/0.00576, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001163/0.001163, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.482/1.482, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3563/0.3563, allocations: 39.94 MB / 309.8 MB, free: 9.297 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.001817/0.001817, allocations: 76.45 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3771, allocations: 56.88 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02015/0.3973, allocations: 17.63 MB / 0.4983 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.4135, allocations: 5.208 MB / 0.5034 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006/0.4195, allocations: 107.4 kB / 0.5035 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.4304, allocations: 5.232 MB / 0.5086 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.442, allocations: 2.735 MB / 0.5113 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.4462, allocations: 1.188 MB / 0.5125 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01481/0.4611, allocations: 7.034 MB / 0.5193 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01108/0.4722, allocations: 6.539 MB / 0.5257 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007066/0.4793, allocations: 2.788 MB / 0.5284 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007307/0.4866, allocations: 3.996 MB / 0.5323 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002923/0.4896, allocations: 0.625 MB / 0.533 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005332/0.495, allocations: 1.319 MB / 0.5342 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006029/0.501, allocations: 3.53 MB / 0.5377 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009925/0.511, allocations: 4.005 MB / 0.5416 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02316/0.5342, allocations: 12.23 MB / 0.5536 GB, free: 5.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.5343, allocations: 4 kB / 0.5536 GB, free: 5.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5343, allocations: 0 / 0.5536 GB, free: 5.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006504/0.5349, allocations: 0 / 0.5536 GB, free: 5.918 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02754/0.5625, allocations: 8.194 MB / 0.5616 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.5626, allocations: 11.89 kB / 0.5616 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/0.5759, allocations: 2.721 MB / 0.5642 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.5867, allocations: 4.006 MB / 0.5681 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005277/0.5873, allocations: 463.9 kB / 0.5686 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002675/0.59, allocations: 0.5854 MB / 0.5692 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05273/0.6427, allocations: 21.22 MB / 0.5899 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004433/0.6432, allocations: 71.34 kB / 0.5899 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003244/0.6465, allocations: 291.7 kB / 0.5902 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006587/0.6531, allocations: 3.537 MB / 0.5937 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04626/0.6994, allocations: 17.2 MB / 0.6105 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7328/1.432, allocations: 67.5 MB / 0.6764 GB, free: 77.55 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01988/1.452, allocations: 6.666 MB / 0.6829 GB, free: 75.56 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005021/1.457, allocations: 2.326 MB / 0.6852 GB, free: 74.73 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02196/1.479, allocations: 9.791 MB / 0.6947 GB, free: 69.57 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.737e-05/1.479, allocations: 67.56 kB / 0.6948 GB, free: 69.51 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=296): time 6.803e-06/1.479, allocations: 0 / 0.6948 GB, free: 69.51 MB / 0.4982 GB Notification: Performance of matching and sorting (n=330): time 0.05874/1.538, allocations: 22.76 MB / 0.717 GB, free: 57.29 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/1.538, allocations: 168 kB / 0.7172 GB, free: 57.13 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008126/1.546, allocations: 6.03 MB / 0.7231 GB, free: 51.74 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.000838/1.547, allocations: 77.7 kB / 0.7232 GB, free: 51.66 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002795/1.55, allocations: 5.185 MB / 0.7282 GB, free: 46.48 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001528/1.552, allocations: 1.254 MB / 0.7294 GB, free: 45.23 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002248/1.554, allocations: 1.932 MB / 0.7313 GB, free: 43.29 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 6.339e-05/1.554, allocations: 301.1 kB / 0.7316 GB, free: 42.99 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003896/1.558, allocations: 2.854 MB / 0.7344 GB, free: 40.13 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006557/1.564, allocations: 8.675 MB / 0.7429 GB, free: 28.63 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/1.578, allocations: 12.52 MB / 0.7551 GB, free: 13.2 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002471/1.578, allocations: 60 kB / 0.7552 GB, free: 13.14 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02198/1.6, allocations: 11.26 MB / 0.7661 GB, free: 1.844 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/1.6, allocations: 96 kB / 0.7662 GB, free: 1.75 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002115/1.6, allocations: 204 kB / 0.7664 GB, free: 1.551 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/1.601, allocations: 272 kB / 0.7667 GB, free: 1.285 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00886/1.609, allocations: 2.36 MB / 0.769 GB, free: 14.92 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004442/1.61, allocations: 406.4 kB / 0.7694 GB, free: 14.52 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00761/1.618, allocations: 475.5 kB / 0.7698 GB, free: 14.06 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/1.619, allocations: 0.5796 MB / 0.7704 GB, free: 13.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007326/1.627, allocations: 3.389 MB / 0.7737 GB, free: 10.08 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.628, allocations: 0.5437 MB / 0.7742 GB, free: 9.527 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007183/1.635, allocations: 3.45 MB / 0.7776 GB, free: 6.027 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.84e-05/1.635, allocations: 39.98 kB / 0.7777 GB, free: 5.988 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.809e-05/1.635, allocations: 3.938 kB / 0.7777 GB, free: 5.984 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.925e-05/1.635, allocations: 11.95 kB / 0.7777 GB, free: 5.973 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03432/1.67, allocations: 13.75 MB / 0.7911 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.345e-05/1.67, allocations: 32 kB / 0.7911 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/1.672, allocations: 0.6123 MB / 0.7917 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.105e-05/1.672, allocations: 48.5 kB / 0.7918 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/1.673, allocations: 108 kB / 0.7919 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.985e-05/1.673, allocations: 63.8 kB / 0.7919 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.845e-05/1.673, allocations: 51.75 kB / 0.792 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009211/1.682, allocations: 6.314 MB / 0.7982 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003253/1.685, allocations: 0.8413 MB / 0.799 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001335/1.687, allocations: 99.97 kB / 0.7991 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002937/1.689, allocations: 147.8 kB / 0.7992 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004027/1.69, allocations: 296.2 kB / 0.7995 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.69, allocations: 128 kB / 0.7996 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007312/1.697, allocations: 3.755 MB / 0.8033 GB, free: 10.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.02e-07/1.697, allocations: 0 / 0.8033 GB, free: 10.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01079/1.708, allocations: 1.571 MB / 0.8048 GB, free: 9.055 MB / 0.545 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.001102/1.709, allocations: 279.1 kB / 0.8051 GB, free: 8.781 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.722, allocations: 6.59 MB / 0.8115 GB, free: 2.238 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.219e-05/1.722, allocations: 9.75 kB / 0.8115 GB, free: 2.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002905/1.725, allocations: 1.577 MB / 0.8131 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006411/1.732, allocations: 0.7877 MB / 0.8138 GB, free: 15.88 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03329/1.765, allocations: 15.61 MB / 0.8291 GB, free: 15.78 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00992/1.775, allocations: 5.143 MB / 0.8341 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007518/1.783, allocations: 2.754 MB / 0.8368 GB, free: 7.832 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/1.784, allocations: 415.4 kB / 0.8372 GB, free: 7.426 MB / 0.5763 GB Notification: Performance of SimCode: time 1.182e-06/1.784, allocations: 3.938 kB / 0.8372 GB, free: 7.422 MB / 0.5763 GB Notification: Performance of Templates: time 0.4256/2.21, allocations: 44.96 MB / 0.8811 GB, free: 189.6 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.makefile (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)