Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01456/0.01456, allocations: 165.4 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.717/1.717, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003081/0.003081, allocations: 107.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4484/0.4484, allocations: 38.05 MB / 303.7 MB, free: 42.7 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004582, allocations: 11.98 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1037, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5305, allocations: 94.9 MB / 0.4947 GB, free: 9.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.5309, allocations: 78.39 kB / 0.4948 GB, free: 9.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9059/1.437, allocations: 144.8 MB / 0.6362 GB, free: 72.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.226e-06/1.437, allocations: 0 / 0.6362 GB, free: 72.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003766/1.437, allocations: 143.3 kB / 0.6364 GB, free: 72.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.02733/1.465, allocations: 6.98 MB / 0.6432 GB, free: 69.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.465, allocations: 11.62 kB / 0.6432 GB, free: 69.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006939/1.472, allocations: 1.362 MB / 0.6445 GB, free: 69.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02919/1.501, allocations: 3.62 MB / 0.6481 GB, free: 68.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02625/1.527, allocations: 7.665 MB / 0.6556 GB, free: 67.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008716/1.528, allocations: 0.5944 MB / 0.6561 GB, free: 67.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004627/1.533, allocations: 0.7872 MB / 0.6569 GB, free: 67.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07607/1.609, allocations: 21.83 MB / 0.6782 GB, free: 58.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005147/1.609, allocations: 95.03 kB / 0.6783 GB, free: 58.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004007/1.613, allocations: 384.8 kB / 0.6787 GB, free: 58.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005509/1.619, allocations: 1.937 MB / 0.6806 GB, free: 58.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06497/1.684, allocations: 17.69 MB / 0.6979 GB, free: 45.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5093/2.193, allocations: 79.41 MB / 0.7754 GB, free: 45.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03275/2.226, allocations: 6.672 MB / 0.7819 GB, free: 45.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02719/2.253, allocations: 9.777 MB / 0.7915 GB, free: 43.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02709/2.281, allocations: 4.407 MB / 0.7958 GB, free: 42.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=287): time 1.241e-05/2.281, allocations: 0 / 0.7958 GB, free: 42.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=323): time 0.14/2.421, allocations: 25.11 MB / 0.8203 GB, free: 37.87 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/2.421, allocations: 163.2 kB / 0.8205 GB, free: 37.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01562/2.437, allocations: 5.412 MB / 0.8257 GB, free: 37.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007868/2.437, allocations: 76.36 kB / 0.8258 GB, free: 37.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006189/2.444, allocations: 5.273 MB / 0.831 GB, free: 34.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002174/2.446, allocations: 1.231 MB / 0.8322 GB, free: 33.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001803/2.448, allocations: 192.9 kB / 0.8324 GB, free: 33.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001411/2.449, allocations: 0.7186 MB / 0.8331 GB, free: 33.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01073/2.46, allocations: 2.916 MB / 0.8359 GB, free: 33.04 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01553/2.475, allocations: 8.634 MB / 0.8443 GB, free: 24.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/2.49, allocations: 4.877 MB / 0.8491 GB, free: 23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002858/2.49, allocations: 59.09 kB / 0.8492 GB, free: 23 MB / 458.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0355/2.526, allocations: 11.33 MB / 0.8602 GB, free: 19.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000187/2.526, allocations: 123.4 kB / 0.8603 GB, free: 19.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000405/2.526, allocations: 202.2 kB / 0.8605 GB, free: 19.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004697/2.527, allocations: 298.5 kB / 0.8608 GB, free: 19.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01527/2.542, allocations: 2.405 MB / 0.8632 GB, free: 19.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004852/2.542, allocations: 401.4 kB / 0.8635 GB, free: 18.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/2.555, allocations: 0.645 MB / 0.8642 GB, free: 18.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002461/2.557, allocations: 0.5615 MB / 0.8647 GB, free: 18.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * Number of states: 0 () * Number of discrete variables: 74 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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.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 (1240): * Single equations (assignments): 1236 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01048/2.568, allocations: 3.382 MB / 0.868 GB, free: 17.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/2.569, allocations: 0.5431 MB / 0.8686 GB, free: 16.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/2.582, allocations: 3.478 MB / 0.872 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.504e-05/2.582, allocations: 32.44 kB / 0.872 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/2.582, allocations: 3.469 kB / 0.872 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.849e-05/2.582, allocations: 16.17 kB / 0.872 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04217/2.624, allocations: 13.64 MB / 0.8853 GB, free: 4.996 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.085e-05/2.624, allocations: 32 kB / 0.8854 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004921/2.629, allocations: 0.6124 MB / 0.886 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/2.63, allocations: 52 kB / 0.886 GB, free: 4.391 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000769/2.63, allocations: 98.75 kB / 0.8861 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-05/2.63, allocations: 67.69 kB / 0.8862 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-05/2.631, allocations: 47.81 kB / 0.8862 GB, free: 4.191 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/2.651, allocations: 12.09 MB / 0.898 GB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00367/2.655, allocations: 0.8338 MB / 0.8988 GB, free: 6.121 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001791/2.657, allocations: 95.78 kB / 0.8989 GB, free: 6.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005713/2.662, allocations: 228 kB / 0.8991 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/2.664, allocations: 304.1 kB / 0.8994 GB, free: 5.641 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005127/2.664, allocations: 127.9 kB / 0.8995 GB, free: 5.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01302/2.677, allocations: 3.791 MB / 0.9032 GB, free: 2.422 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.82e-07/2.677, allocations: 0 / 0.9032 GB, free: 2.422 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01289/2.69, allocations: 1.564 MB / 0.9048 GB, free: 0.8672 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * 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 (304): * Single equations (assignments): 299 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02577/2.716, allocations: 18.7 MB / 0.923 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02154/2.737, allocations: 6.588 MB / 0.9295 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-05/2.738, allocations: 8 kB / 0.9295 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006864/2.744, allocations: 1.85 MB / 0.9313 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006549/2.751, allocations: 0.7056 MB / 0.932 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4865/3.238, allocations: 175.7 MB / 1.104 GB, free: 42.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01575/3.253, allocations: 5.26 MB / 1.109 GB, free: 41.36 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01492/3.268, allocations: 2.746 MB / 1.111 GB, free: 41.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009329/3.278, allocations: 3.402 MB / 1.115 GB, free: 41.11 MB / 0.5573 GB Notification: Performance of SimCode: time 2.324e-06/3.278, allocations: 0 / 1.115 GB, free: 41.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6495/3.927, allocations: 111.6 MB / 1.224 GB, free: 167.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/3.928, allocations: 167.2 kB / 1.224 GB, free: 167.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/12.21, allocations: 0 / 1.224 GB, free: 167.6 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat