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.008121/0.008121, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001687/0.001687, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.631/1.631, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.4466/0.4466, allocations: 39.95 MB / 309.8 MB, free: 9.414 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.00166/0.00166, allocations: 63.91 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.387, 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.01886/0.4059, allocations: 17.63 MB / 0.4983 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01736/0.4233, allocations: 5.206 MB / 0.5034 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006744/0.4301, allocations: 104.8 kB / 0.5035 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01107/0.4413, allocations: 5.24 MB / 0.5086 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.4521, allocations: 2.73 MB / 0.5113 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004471/0.4566, allocations: 1.189 MB / 0.5125 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01309/0.4698, allocations: 7.018 MB / 0.5193 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00906/0.4789, allocations: 6.544 MB / 0.5257 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005969/0.4849, allocations: 2.784 MB / 0.5284 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007451/0.4923, allocations: 3.992 MB / 0.5323 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003142/0.4955, allocations: 0.625 MB / 0.5329 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005643/0.5012, allocations: 1.335 MB / 0.5343 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006444/0.5077, allocations: 3.503 MB / 0.5377 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009932/0.5176, allocations: 4.008 MB / 0.5416 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.5364, allocations: 12.28 MB / 0.5536 GB, free: 5.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.5365, allocations: 0 / 0.5536 GB, free: 5.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5365, allocations: 0 / 0.5536 GB, free: 5.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004675/0.537, allocations: 0 / 0.5536 GB, free: 5.891 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.02368/0.5607, allocations: 8.415 MB / 0.5618 GB, free: 13.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.5607, allocations: 15.89 kB / 0.5618 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.5724, allocations: 2.769 MB / 0.5645 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009531/0.582, allocations: 4.019 MB / 0.5684 GB, free: 6.508 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005583/0.5826, allocations: 460 kB / 0.5689 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002859/0.5855, allocations: 0.5933 MB / 0.5695 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04401/0.6295, allocations: 21.21 MB / 0.5902 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002814/0.6298, allocations: 79.44 kB / 0.5902 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001227/0.6311, allocations: 283.7 kB / 0.5905 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006121/0.6372, allocations: 3.537 MB / 0.594 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04393/0.6812, allocations: 17.21 MB / 0.6108 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6313/1.313, allocations: 67.63 MB / 0.6768 GB, free: 77.13 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/1.33, allocations: 6.68 MB / 0.6833 GB, free: 75.13 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003846/1.334, allocations: 2.323 MB / 0.6856 GB, free: 74.3 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01676/1.351, allocations: 9.806 MB / 0.6952 GB, free: 69.27 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/1.351, allocations: 63.97 kB / 0.6953 GB, free: 69.22 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=296): time 5.571e-06/1.351, allocations: 0 / 0.6953 GB, free: 69.22 MB / 0.4982 GB Notification: Performance of matching and sorting (n=330): time 0.05737/1.408, allocations: 23.16 MB / 0.7179 GB, free: 57.03 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/1.408, allocations: 163 kB / 0.718 GB, free: 56.87 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007375/1.416, allocations: 6.049 MB / 0.7239 GB, free: 51.62 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0005835/1.416, allocations: 77.98 kB / 0.724 GB, free: 51.54 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003685/1.42, allocations: 5.404 MB / 0.7293 GB, free: 46.41 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002049/1.422, allocations: 1.299 MB / 0.7306 GB, free: 45.12 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003313/1.426, allocations: 1.954 MB / 0.7325 GB, free: 43.16 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.028e-05/1.426, allocations: 301.1 kB / 0.7328 GB, free: 42.86 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00389/1.429, allocations: 2.858 MB / 0.7355 GB, free: 40 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007183/1.437, allocations: 8.672 MB / 0.744 GB, free: 28.5 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/1.449, allocations: 12.51 MB / 0.7562 GB, free: 13.08 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001978/1.449, allocations: 60 kB / 0.7563 GB, free: 13.02 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.01971/1.469, allocations: 11.29 MB / 0.7673 GB, free: 1.688 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.469, allocations: 92 kB / 0.7674 GB, free: 1.598 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/1.469, allocations: 204 kB / 0.7676 GB, free: 1.398 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/1.469, allocations: 276 kB / 0.7679 GB, free: 1.129 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008353/1.478, allocations: 2.363 MB / 0.7702 GB, free: 14.76 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003647/1.478, allocations: 402.5 kB / 0.7705 GB, free: 14.37 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00782/1.486, allocations: 475.6 kB / 0.771 GB, free: 13.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/1.488, allocations: 0.5781 MB / 0.7716 GB, free: 13.32 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.008701/1.496, allocations: 3.393 MB / 0.7749 GB, free: 9.914 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/1.498, allocations: 0.5704 MB / 0.7754 GB, free: 9.34 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/1.509, allocations: 3.45 MB / 0.7788 GB, free: 5.836 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-05/1.509, allocations: 35.98 kB / 0.7788 GB, free: 5.801 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/1.509, allocations: 4 kB / 0.7788 GB, free: 5.797 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.426e-05/1.509, allocations: 11.95 kB / 0.7789 GB, free: 5.785 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0287/1.538, allocations: 13.77 MB / 0.7923 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.964e-05/1.538, allocations: 32 kB / 0.7923 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/1.54, allocations: 0.605 MB / 0.7929 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.532e-05/1.54, allocations: 52 kB / 0.793 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/1.541, allocations: 107.9 kB / 0.7931 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.924e-05/1.541, allocations: 67.73 kB / 0.7931 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.099e-05/1.541, allocations: 47.81 kB / 0.7932 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008424/1.549, allocations: 6.336 MB / 0.7994 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002837/1.552, allocations: 0.868 MB / 0.8002 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008905/1.553, allocations: 113.9 kB / 0.8003 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.555, allocations: 147.8 kB / 0.8005 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004033/1.556, allocations: 292.2 kB / 0.8008 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/1.556, allocations: 132 kB / 0.8009 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00666/1.563, allocations: 3.752 MB / 0.8045 GB, free: 10.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.11e-07/1.563, allocations: 0 / 0.8045 GB, free: 10.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009073/1.572, allocations: 1.573 MB / 0.8061 GB, free: 8.797 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.0007835/1.572, allocations: 294.5 kB / 0.8064 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.584, allocations: 6.593 MB / 0.8128 GB, free: 1.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.039e-05/1.584, allocations: 4 kB / 0.8128 GB, free: 1.945 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002839/1.587, allocations: 1.572 MB / 0.8143 GB, free: 388 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005353/1.592, allocations: 0.7872 MB / 0.8151 GB, free: 15.61 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03191/1.624, allocations: 15.86 MB / 0.8306 GB, free: 15.24 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009753/1.634, allocations: 5.139 MB / 0.8356 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007667/1.642, allocations: 2.754 MB / 0.8383 GB, free: 7.301 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.643, allocations: 419.4 kB / 0.8387 GB, free: 6.891 MB / 0.5763 GB Notification: Performance of SimCode: time 2.735e-06/1.643, allocations: 0 / 0.8387 GB, free: 6.891 MB / 0.5763 GB Notification: Performance of Templates: time 0.3961/2.04, allocations: 45.34 MB / 0.883 GB, free: 189.4 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)