Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.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.Damper,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Damper",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.01016/0.01016, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.686/1.686, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001926/0.001926, allocations: 106 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.4888/0.4888, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004956, allocations: 8 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1068, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.535, allocations: 94.48 MB / 0.4943 GB, free: 9.535 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.5353, allocations: 75.66 kB / 0.4944 GB, free: 9.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8763/1.412, allocations: 144.4 MB / 0.6354 GB, free: 72.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.376e-06/1.412, allocations: 0 / 0.6354 GB, free: 72.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003751/1.412, allocations: 150.7 kB / 0.6355 GB, free: 72.11 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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02835/1.44, allocations: 6.877 MB / 0.6422 GB, free: 69.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.441, allocations: 19.41 kB / 0.6422 GB, free: 69.18 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006881/1.447, allocations: 1.368 MB / 0.6436 GB, free: 69.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02995/1.477, allocations: 3.611 MB / 0.6471 GB, free: 68.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02685/1.504, allocations: 7.653 MB / 0.6546 GB, free: 67.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008987/1.505, allocations: 0.5924 MB / 0.6552 GB, free: 67.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004796/1.51, allocations: 0.7828 MB / 0.6559 GB, free: 67.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08057/1.591, allocations: 21.78 MB / 0.6772 GB, free: 58.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006321/1.591, allocations: 98.03 kB / 0.6773 GB, free: 58.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004564/1.596, allocations: 388.2 kB / 0.6776 GB, free: 58.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005576/1.602, allocations: 1.943 MB / 0.6795 GB, free: 58.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06596/1.668, allocations: 17.61 MB / 0.6967 GB, free: 46.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4907/2.158, allocations: 79.34 MB / 0.7742 GB, free: 45.87 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03166/2.19, allocations: 6.562 MB / 0.7806 GB, free: 45.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02676/2.217, allocations: 9.744 MB / 0.7901 GB, free: 43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.8e-05/2.217, allocations: 67.34 kB / 0.7902 GB, free: 42.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=284): time 7.333e-06/2.217, allocations: 0 / 0.7902 GB, free: 42.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=320): time 0.1366/2.354, allocations: 24.94 MB / 0.8146 GB, free: 37.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/2.354, allocations: 164.3 kB / 0.8147 GB, free: 37.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01542/2.369, allocations: 5.401 MB / 0.82 GB, free: 37.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007429/2.37, allocations: 67.61 kB / 0.8201 GB, free: 37.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004827/2.375, allocations: 5.178 MB / 0.8251 GB, free: 34.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001987/2.377, allocations: 1.215 MB / 0.8263 GB, free: 33.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/2.378, allocations: 195.7 kB / 0.8265 GB, free: 33.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009609/2.379, allocations: 0.7143 MB / 0.8272 GB, free: 33.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01003/2.389, allocations: 2.864 MB / 0.83 GB, free: 33.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01388/2.403, allocations: 8.582 MB / 0.8384 GB, free: 25.49 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/2.417, allocations: 4.81 MB / 0.8431 GB, free: 23.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002268/2.417, allocations: 59.47 kB / 0.8431 GB, free: 23.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.03616/2.453, allocations: 11.2 MB / 0.8541 GB, free: 20.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000172/2.453, allocations: 94.03 kB / 0.8541 GB, free: 20.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000377/2.454, allocations: 202.3 kB / 0.8543 GB, free: 20.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/2.454, allocations: 304 kB / 0.8546 GB, free: 20.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01532/2.47, allocations: 2.393 MB / 0.857 GB, free: 20.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004321/2.47, allocations: 403.4 kB / 0.8574 GB, free: 20.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/2.482, allocations: 0.6152 MB / 0.858 GB, free: 19.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/2.485, allocations: 0.5662 MB / 0.8585 GB, free: 19.86 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: 69 (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 (1236): * Single equations (assignments): 1233 * Array equations: 3 * Algorithm blocks: 0 * 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.01035/2.495, allocations: 3.371 MB / 0.8618 GB, free: 18.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/2.496, allocations: 0.5384 MB / 0.8623 GB, free: 17.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/2.508, allocations: 3.393 MB / 0.8656 GB, free: 16.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.459e-05/2.508, allocations: 32.75 kB / 0.8657 GB, free: 16.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/2.509, allocations: 1.375 kB / 0.8657 GB, free: 16.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.622e-05/2.509, allocations: 16.73 kB / 0.8657 GB, free: 16.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0417/2.55, allocations: 13.69 MB / 0.8791 GB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.115e-05/2.55, allocations: 33 kB / 0.8791 GB, free: 8.918 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004845/2.555, allocations: 0.5932 MB / 0.8797 GB, free: 8.406 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-05/2.555, allocations: 52 kB / 0.8797 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004873/2.556, allocations: 99.28 kB / 0.8798 GB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.551e-05/2.556, allocations: 66.66 kB / 0.8799 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.935e-05/2.556, allocations: 51.75 kB / 0.8799 GB, free: 8.152 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/2.575, allocations: 12.13 MB / 0.8918 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00376/2.578, allocations: 0.8344 MB / 0.8926 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001902/2.58, allocations: 105.2 kB / 0.8927 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005394/2.586, allocations: 197.1 kB / 0.8929 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000981/2.587, allocations: 295.1 kB / 0.8932 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003364/2.587, allocations: 125.3 kB / 0.8933 GB, free: 9.422 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01332/2.601, allocations: 3.79 MB / 0.897 GB, free: 6.324 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.11e-07/2.601, allocations: 0 / 0.897 GB, free: 6.324 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01284/2.613, allocations: 1.543 MB / 0.8985 GB, free: 4.785 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * 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 (301): * Single equations (assignments): 298 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.02314/2.637, allocations: 18.66 MB / 0.9167 GB, free: 1.562 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02234/2.659, allocations: 6.515 MB / 0.9231 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.535e-05/2.659, allocations: 8.125 kB / 0.9231 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004838/2.664, allocations: 1.535 MB / 0.9246 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005792/2.67, allocations: 0.6922 MB / 0.9253 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4313/3.101, allocations: 175.5 MB / 1.097 GB, free: 46.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01399/3.115, allocations: 5.245 MB / 1.102 GB, free: 45.71 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01399/3.129, allocations: 2.755 MB / 1.104 GB, free: 45.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008451/3.138, allocations: 3.47 MB / 1.108 GB, free: 45.45 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/3.138, allocations: 1.094 kB / 1.108 GB, free: 45.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6095/3.747, allocations: 110.8 MB / 1.216 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/3.748, allocations: 163.1 kB / 1.216 GB, free: 163 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/11.97, allocations: 4 kB / 1.216 GB, free: 163 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat