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.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001344/0.001344, allocations: 191.4 kB / 16.13 MB, free: 6.652 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.651/1.651, allocations: 205.1 MB / 222 MB, free: 4.742 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.3517/0.3517, allocations: 37.97 MB / 307.3 MB, free: 10.02 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.001499/0.001499, allocations: 63.92 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1426, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3158/0.4584, allocations: 87.59 MB / 0.5065 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0516/0.5101, allocations: 16.79 MB / 0.5229 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02742/0.5376, allocations: 370.8 kB / 0.5232 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01282/0.5505, allocations: 5.224 MB / 0.5283 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.563, allocations: 2.583 MB / 0.5308 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004561/0.5676, allocations: 1.098 MB / 0.5319 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01941/0.587, allocations: 10.31 MB / 0.542 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.5973, allocations: 6.556 MB / 0.5484 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006509/0.6039, allocations: 2.507 MB / 0.5508 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008971/0.6129, allocations: 4.257 MB / 0.555 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00318/0.6161, allocations: 484 kB / 0.5554 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005496/0.6216, allocations: 1.229 MB / 0.5566 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006272/0.6279, allocations: 3.409 MB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0101/0.6381, allocations: 3.895 MB / 0.5638 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.018/0.6561, allocations: 11.67 MB / 0.5752 GB, free: 9.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.6561, allocations: 0 / 0.5752 GB, free: 9.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6562, allocations: 0 / 0.5752 GB, free: 9.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006738/0.6568, allocations: 0 / 0.5752 GB, free: 9.418 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.02526/0.6821, allocations: 8.28 MB / 0.5833 GB, free: 1.047 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.6822, allocations: 8.031 kB / 0.5833 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.6947, allocations: 2.728 MB / 0.5859 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.7048, allocations: 3.955 MB / 0.5898 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000499/0.7053, allocations: 464.2 kB / 0.5902 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003046/0.7084, allocations: 0.5854 MB / 0.5908 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04829/0.7567, allocations: 21.26 MB / 0.6116 GB, free: 2.828 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003376/0.7571, allocations: 67.41 kB / 0.6116 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001755/0.7588, allocations: 287.7 kB / 0.6119 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005802/0.7646, allocations: 3.549 MB / 0.6154 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.469/1.234, allocations: 17.25 MB / 0.6322 GB, free: 140.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08519/1.319, allocations: 67.91 MB / 0.6985 GB, free: 95.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01854/1.338, allocations: 6.741 MB / 0.7051 GB, free: 93.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004375/1.342, allocations: 2.319 MB / 0.7074 GB, free: 92.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01649/1.358, allocations: 9.822 MB / 0.717 GB, free: 86.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01253/1.371, allocations: 4.392 MB / 0.7213 GB, free: 84.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 5.5e-06/1.371, allocations: 0 / 0.7213 GB, free: 84.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.05399/1.425, allocations: 23.1 MB / 0.7438 GB, free: 64.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/1.425, allocations: 166.7 kB / 0.744 GB, free: 64.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008101/1.433, allocations: 6.05 MB / 0.7499 GB, free: 58.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005706/1.434, allocations: 77.7 kB / 0.75 GB, free: 58.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003761/1.438, allocations: 5.305 MB / 0.7551 GB, free: 52.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.439, allocations: 1.269 MB / 0.7564 GB, free: 51.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002107/1.441, allocations: 1.94 MB / 0.7583 GB, free: 49.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.674e-05/1.441, allocations: 301.1 kB / 0.7586 GB, free: 49.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004119/1.445, allocations: 2.889 MB / 0.7614 GB, free: 46.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006421/1.452, allocations: 8.707 MB / 0.7699 GB, free: 34.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/1.465, allocations: 12.61 MB / 0.7822 GB, free: 19.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001578/1.466, allocations: 60 kB / 0.7823 GB, free: 19.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01969/1.485, allocations: 11.37 MB / 0.7934 GB, free: 7.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/1.485, allocations: 117.7 kB / 0.7935 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/1.486, allocations: 208.2 kB / 0.7937 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/1.486, allocations: 280 kB / 0.7939 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007001/1.493, allocations: 2.375 MB / 0.7963 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000214/1.493, allocations: 402.5 kB / 0.7966 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006829/1.5, allocations: 491.3 kB / 0.7971 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/1.501, allocations: 0.5781 MB / 0.7977 GB, free: 3.523 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.006575/1.508, allocations: 3.405 MB / 0.801 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/1.509, allocations: 0.5438 MB / 0.8015 GB, free: 15.55 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007955/1.517, allocations: 3.518 MB / 0.805 GB, free: 11.98 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.816e-05/1.517, allocations: 36 kB / 0.805 GB, free: 11.95 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/1.517, allocations: 0 / 0.805 GB, free: 11.95 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.288e-05/1.517, allocations: 19.94 kB / 0.805 GB, free: 11.93 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2777/1.795, allocations: 13.75 MB / 0.8185 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.65e-05/1.795, allocations: 33.44 kB / 0.8185 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/1.798, allocations: 0.6557 MB / 0.8191 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-05/1.798, allocations: 49.16 kB / 0.8192 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002506/1.798, allocations: 105.4 kB / 0.8193 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.525e-05/1.798, allocations: 67.42 kB / 0.8193 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.71e-05/1.798, allocations: 52.69 kB / 0.8194 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008109/1.806, allocations: 6.197 MB / 0.8254 GB, free: 143.6 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002595/1.809, allocations: 0.8445 MB / 0.8263 GB, free: 143.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/1.81, allocations: 112.7 kB / 0.8264 GB, free: 143.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002946/1.813, allocations: 157.7 kB / 0.8265 GB, free: 143.3 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004495/1.814, allocations: 307.1 kB / 0.8268 GB, free: 143.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002209/1.814, allocations: 135.3 kB / 0.8269 GB, free: 143.2 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006774/1.821, allocations: 3.76 MB / 0.8306 GB, free: 142 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3e-07/1.821, allocations: 3.656 kB / 0.8306 GB, free: 142 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01017/1.831, allocations: 1.577 MB / 0.8322 GB, free: 141.8 MB / 0.4982 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.0008812/1.832, allocations: 286.4 kB / 0.8324 GB, free: 141.6 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.843, allocations: 6.623 MB / 0.8389 GB, free: 139.4 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-05/1.843, allocations: 5.844 kB / 0.8389 GB, free: 139.4 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004101/1.847, allocations: 1.88 MB / 0.8407 GB, free: 138.8 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005495/1.853, allocations: 0.7641 MB / 0.8415 GB, free: 138.5 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03239/1.885, allocations: 19.44 MB / 0.8605 GB, free: 127.2 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009864/1.895, allocations: 5.15 MB / 0.8655 GB, free: 125.5 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01051/1.906, allocations: 2.759 MB / 0.8682 GB, free: 125.2 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/1.908, allocations: 416.7 kB / 0.8686 GB, free: 125.2 MB / 0.4982 GB Notification: Performance of SimCode: time 2.044e-06/1.908, allocations: 0 / 0.8686 GB, free: 125.2 MB / 0.4982 GB Notification: Performance of Templates: time 0.0971/2.005, allocations: 49.75 MB / 0.9172 GB, free: 85.73 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.makefile (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)