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.008214/0.008214, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.00188/0.001881, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.676/1.676, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3274/0.3274, allocations: 38 MB / 307.9 MB, free: 10.08 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.002352/0.002352, allocations: 76.45 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4092, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01594/0.4252, allocations: 17.7 MB / 0.4953 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.437, allocations: 5.255 MB / 0.5004 GB, free: 3.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007493/0.4446, allocations: 107.1 kB / 0.5005 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01145/0.4562, allocations: 5.239 MB / 0.5056 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.4664, allocations: 2.831 MB / 0.5084 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004153/0.4705, allocations: 1.198 MB / 0.5096 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01803/0.4886, allocations: 7.084 MB / 0.5165 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.4992, allocations: 6.558 MB / 0.5229 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00592/0.5051, allocations: 2.808 MB / 0.5256 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006421/0.5116, allocations: 4.019 MB / 0.5296 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001866/0.5135, allocations: 0.6289 MB / 0.5302 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.517, allocations: 1.319 MB / 0.5315 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003809/0.5208, allocations: 3.542 MB / 0.5349 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006174/0.527, allocations: 4.024 MB / 0.5388 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.5417, allocations: 12.27 MB / 0.5508 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.5417, allocations: 3.984 kB / 0.5508 GB, free: 8.715 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5418, allocations: 0 / 0.5508 GB, free: 8.715 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004224/0.5422, allocations: 0 / 0.5508 GB, free: 8.715 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.02115/0.5633, allocations: 8.28 MB / 0.5589 GB, free: 352 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.5634, allocations: 11.89 kB / 0.5589 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.5745, allocations: 2.728 MB / 0.5616 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/0.5846, allocations: 4.014 MB / 0.5655 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005261/0.5852, allocations: 472 kB / 0.566 GB, free: 9.051 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002317/0.5875, allocations: 0.5855 MB / 0.5665 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05042/0.638, allocations: 21.25 MB / 0.5873 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005846/0.6386, allocations: 79.25 kB / 0.5874 GB, free: 1.977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003584/0.6422, allocations: 283.7 kB / 0.5876 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006033/0.6483, allocations: 3.545 MB / 0.5911 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04228/0.6906, allocations: 17.25 MB / 0.6079 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6199/1.311, allocations: 67.57 MB / 0.6739 GB, free: 77.95 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/1.329, allocations: 6.744 MB / 0.6805 GB, free: 75.94 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004089/1.333, allocations: 2.362 MB / 0.6828 GB, free: 75.1 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01722/1.35, allocations: 9.811 MB / 0.6924 GB, free: 70.17 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01379/1.364, allocations: 4.387 MB / 0.6967 GB, free: 68.79 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=299): time 6.482e-06/1.364, allocations: 1.188 kB / 0.6967 GB, free: 68.79 MB / 0.4982 GB Notification: Performance of matching and sorting (n=333): time 0.05544/1.42, allocations: 23.09 MB / 0.7192 GB, free: 56.36 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/1.42, allocations: 170.6 kB / 0.7194 GB, free: 56.2 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007408/1.427, allocations: 6.049 MB / 0.7253 GB, free: 50.31 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0005667/1.428, allocations: 85.62 kB / 0.7254 GB, free: 50.22 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003352/1.431, allocations: 5.298 MB / 0.7306 GB, free: 44.92 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001485/1.433, allocations: 1.265 MB / 0.7318 GB, free: 43.67 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002188/1.435, allocations: 1.94 MB / 0.7337 GB, free: 41.71 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.787e-05/1.435, allocations: 305.1 kB / 0.734 GB, free: 41.41 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003853/1.439, allocations: 2.885 MB / 0.7368 GB, free: 38.52 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006459/1.445, allocations: 8.721 MB / 0.7453 GB, free: 27.01 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/1.458, allocations: 12.61 MB / 0.7576 GB, free: 11.48 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002012/1.458, allocations: 60 kB / 0.7577 GB, free: 11.43 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02102/1.479, allocations: 11.37 MB / 0.7688 GB, free: 8 kB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004742/1.48, allocations: 121.7 kB / 0.7689 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005078/1.48, allocations: 204 kB / 0.7691 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/1.48, allocations: 276 kB / 0.7694 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008975/1.489, allocations: 2.375 MB / 0.7717 GB, free: 13.04 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005449/1.49, allocations: 406.5 kB / 0.7721 GB, free: 12.64 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008157/1.498, allocations: 487.3 kB / 0.7725 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/1.5, allocations: 0.5781 MB / 0.7731 GB, free: 11.58 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: 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.00777/1.508, allocations: 3.393 MB / 0.7764 GB, free: 8.172 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.509, allocations: 0.5476 MB / 0.7769 GB, free: 7.617 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007761/1.517, allocations: 3.519 MB / 0.7804 GB, free: 4.047 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.834e-05/1.517, allocations: 36 kB / 0.7804 GB, free: 4.012 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/1.517, allocations: 0 / 0.7804 GB, free: 4.012 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.046e-05/1.517, allocations: 19.88 kB / 0.7804 GB, free: 3.992 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02794/1.545, allocations: 13.72 MB / 0.7938 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.234e-05/1.545, allocations: 40.03 kB / 0.7939 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/1.548, allocations: 0.6513 MB / 0.7945 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.855e-05/1.548, allocations: 51.98 kB / 0.7946 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/1.548, allocations: 104 kB / 0.7947 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-05/1.549, allocations: 67.8 kB / 0.7947 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.243e-05/1.549, allocations: 55.75 kB / 0.7948 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009986/1.559, allocations: 6.209 MB / 0.8008 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003014/1.562, allocations: 0.8413 MB / 0.8017 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001932/1.564, allocations: 103.9 kB / 0.8018 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003106/1.567, allocations: 155.9 kB / 0.8019 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005757/1.567, allocations: 308.2 kB / 0.8022 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003133/1.568, allocations: 138.2 kB / 0.8023 GB, free: 12.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008263/1.576, allocations: 3.76 MB / 0.806 GB, free: 8.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/1.576, allocations: 0 / 0.806 GB, free: 8.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00904/1.585, allocations: 1.576 MB / 0.8075 GB, free: 7.098 MB / 0.545 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.0008737/1.586, allocations: 291.8 kB / 0.8078 GB, free: 6.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01249/1.598, allocations: 6.72 MB / 0.8144 GB, free: 132 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.561e-05/1.598, allocations: 4 kB / 0.8144 GB, free: 128 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004206/1.603, allocations: 1.877 MB / 0.8162 GB, free: 14.25 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006623/1.609, allocations: 0.804 MB / 0.817 GB, free: 13.46 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03593/1.645, allocations: 15.64 MB / 0.8323 GB, free: 13.34 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/1.657, allocations: 5.143 MB / 0.8373 GB, free: 8.16 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009204/1.666, allocations: 2.762 MB / 0.84 GB, free: 5.391 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/1.668, allocations: 415.4 kB / 0.8404 GB, free: 4.984 MB / 0.5763 GB Notification: Performance of SimCode: time 1.993e-06/1.668, allocations: 0 / 0.8404 GB, free: 4.984 MB / 0.5763 GB Notification: Performance of Templates: time 0.3405/2.009, allocations: 46.19 MB / 0.8855 GB, free: 188.9 MB / 0.5919 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)