Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01065/0.01065, allocations: 174.7 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.031/2.031, allocations: 194.5 MB / 210.3 MB, free: 7.805 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00214/0.00214, allocations: 116.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2552/0.2552, allocations: 40.02 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004835, allocations: 11.44 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 54.87 MB / 461.1 MB, free: 3.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5083/0.6091, allocations: 101.6 MB / 0.5496 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.6094, allocations: 80.28 kB / 0.5496 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6938/1.303, allocations: 144.8 MB / 0.6911 GB, free: 14.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.303, allocations: 0 / 0.6911 GB, free: 14.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004621/1.304, allocations: 151.9 kB / 0.6912 GB, free: 14.65 MB / 474.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.02823/1.332, allocations: 6.963 MB / 0.698 GB, free: 7.594 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/1.332, allocations: 8.031 kB / 0.6981 GB, free: 7.586 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006332/1.338, allocations: 1.375 MB / 0.6994 GB, free: 6.199 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03059/1.369, allocations: 3.617 MB / 0.7029 GB, free: 2.566 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02821/1.397, allocations: 7.687 MB / 0.7104 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009895/1.398, allocations: 0.5936 MB / 0.711 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004763/1.403, allocations: 0.7849 MB / 0.7118 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.425/1.828, allocations: 21.83 MB / 0.7331 GB, free: 78.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009412/1.829, allocations: 94.28 kB / 0.7332 GB, free: 78.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005232/1.834, allocations: 381.1 kB / 0.7335 GB, free: 78.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006852/1.841, allocations: 1.942 MB / 0.7354 GB, free: 78.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07169/1.913, allocations: 17.69 MB / 0.7527 GB, free: 78.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1321/2.045, allocations: 79.4 MB / 0.8303 GB, free: 45.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03192/2.077, allocations: 6.669 MB / 0.8368 GB, free: 43.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02781/2.105, allocations: 9.782 MB / 0.8463 GB, free: 38.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02643/2.132, allocations: 4.412 MB / 0.8506 GB, free: 38.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=287): time 1.094e-05/2.132, allocations: 0 / 0.8506 GB, free: 38.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=323): time 0.1384/2.27, allocations: 25.11 MB / 0.8752 GB, free: 26.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/2.27, allocations: 166.6 kB / 0.8753 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01682/2.287, allocations: 5.409 MB / 0.8806 GB, free: 21.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007754/2.288, allocations: 88.42 kB / 0.8807 GB, free: 21.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006072/2.294, allocations: 5.27 MB / 0.8858 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001995/2.296, allocations: 1.232 MB / 0.887 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/2.298, allocations: 192 kB / 0.8872 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001184/2.299, allocations: 0.7137 MB / 0.8879 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01074/2.31, allocations: 2.912 MB / 0.8908 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01621/2.326, allocations: 8.632 MB / 0.8992 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4021/2.728, allocations: 4.915 MB / 0.904 GB, free: 89.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002328/2.729, allocations: 57.94 kB / 0.904 GB, free: 89.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03929/2.768, allocations: 11.33 MB / 0.9151 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/2.768, allocations: 124.2 kB / 0.9152 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004247/2.769, allocations: 207.1 kB / 0.9154 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/2.769, allocations: 298.1 kB / 0.9157 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01608/2.785, allocations: 2.41 MB / 0.9181 GB, free: 88.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000521/2.786, allocations: 402.5 kB / 0.9184 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/2.8, allocations: 0.6344 MB / 0.9191 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002407/2.802, allocations: 0.5718 MB / 0.9196 GB, free: 88.77 MB / 0.4948 GB 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.01129/2.813, allocations: 3.372 MB / 0.9229 GB, free: 88.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/2.815, allocations: 0.5385 MB / 0.9234 GB, free: 88.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01779/2.833, allocations: 3.486 MB / 0.9268 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.475e-05/2.833, allocations: 34.92 kB / 0.9269 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/2.833, allocations: 5.484 kB / 0.9269 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.89e-05/2.833, allocations: 14.3 kB / 0.9269 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03968/2.873, allocations: 13.64 MB / 0.9402 GB, free: 86.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.623e-05/2.873, allocations: 32.53 kB / 0.9402 GB, free: 86.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004769/2.878, allocations: 0.6079 MB / 0.9408 GB, free: 86.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.188e-05/2.878, allocations: 53.03 kB / 0.9409 GB, free: 86.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005345/2.878, allocations: 98.7 kB / 0.941 GB, free: 86.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.619e-05/2.878, allocations: 66.92 kB / 0.941 GB, free: 86.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.469e-05/2.878, allocations: 51.28 kB / 0.9411 GB, free: 86.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/2.896, allocations: 12.09 MB / 0.9529 GB, free: 77.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003639/2.9, allocations: 0.8455 MB / 0.9537 GB, free: 76.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002013/2.902, allocations: 98.28 kB / 0.9538 GB, free: 76.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005813/2.908, allocations: 219.7 kB / 0.954 GB, free: 76.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/2.909, allocations: 306 kB / 0.9543 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004433/2.91, allocations: 127.5 kB / 0.9544 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01209/2.922, allocations: 3.795 MB / 0.9581 GB, free: 76.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.81e-07/2.922, allocations: 0 / 0.9581 GB, free: 76.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01293/2.935, allocations: 1.556 MB / 0.9597 GB, free: 76.67 MB / 0.4948 GB 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.02027/2.955, allocations: 18.59 MB / 0.9778 GB, free: 61.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02014/2.975, allocations: 6.588 MB / 0.9843 GB, free: 61.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-05/2.975, allocations: 11.12 kB / 0.9843 GB, free: 61.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006619/2.982, allocations: 1.852 MB / 0.9861 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006634/2.989, allocations: 0.7018 MB / 0.9868 GB, free: 60.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5035/3.492, allocations: 175.7 MB / 1.158 GB, free: 61.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01735/3.51, allocations: 5.254 MB / 1.163 GB, free: 60.17 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0155/3.525, allocations: 2.752 MB / 1.166 GB, free: 60.11 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009261/3.535, allocations: 3.406 MB / 1.169 GB, free: 60.11 MB / 0.5417 GB Notification: Performance of SimCode: time 1.583e-06/3.535, allocations: 0 / 1.169 GB, free: 60.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6698/4.204, allocations: 111.6 MB / 1.278 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/4.205, allocations: 182.5 kB / 1.279 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/12.54, allocations: 6.438 kB / 1.279 GB, free: 100.7 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat