Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.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.Damper,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01053/0.01054, allocations: 175.6 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 1.99/1.99, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.00203/0.002029, allocations: 124.6 kB / 255.6 MB, free: 10.23 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.2931/0.2931, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00065/0.0006501, allocations: 10.44 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1128, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5483/0.6612, allocations: 101.2 MB / 0.5491 GB, free: 21.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.6615, allocations: 82.67 kB / 0.5492 GB, free: 21.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6124/1.274, allocations: 144.4 MB / 0.6902 GB, free: 15.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.274, allocations: 0 / 0.6902 GB, free: 15.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004517/1.274, allocations: 148 kB / 0.6903 GB, free: 15.45 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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02877/1.303, allocations: 6.882 MB / 0.6971 GB, free: 8.488 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.303, allocations: 12.03 kB / 0.6971 GB, free: 8.477 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006819/1.31, allocations: 1.364 MB / 0.6984 GB, free: 7.102 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03057/1.341, allocations: 3.617 MB / 0.7019 GB, free: 3.469 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0286/1.369, allocations: 7.659 MB / 0.7094 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001029/1.37, allocations: 0.5897 MB / 0.71 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004878/1.375, allocations: 0.7848 MB / 0.7108 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7313/2.107, allocations: 21.78 MB / 0.732 GB, free: 77.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007102/2.107, allocations: 94.39 kB / 0.7321 GB, free: 77.2 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004112/2.112, allocations: 384.1 kB / 0.7325 GB, free: 77.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00602/2.118, allocations: 1.938 MB / 0.7344 GB, free: 77.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06639/2.184, allocations: 17.61 MB / 0.7516 GB, free: 77.13 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1237/2.308, allocations: 79.32 MB / 0.829 GB, free: 44.24 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03085/2.339, allocations: 6.587 MB / 0.8355 GB, free: 42.36 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02741/2.366, allocations: 9.744 MB / 0.845 GB, free: 37.59 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/2.366, allocations: 69.84 kB / 0.845 GB, free: 37.52 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=284): time 9.067e-06/2.366, allocations: 0 / 0.845 GB, free: 37.52 MB / 0.4949 GB Notification: Performance of matching and sorting (n=320): time 0.1279/2.494, allocations: 24.95 MB / 0.8694 GB, free: 28.88 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/2.494, allocations: 158.6 kB / 0.8696 GB, free: 28.69 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0147/2.509, allocations: 5.396 MB / 0.8748 GB, free: 24.2 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006773/2.51, allocations: 77.3 kB / 0.8749 GB, free: 24.12 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004351/2.514, allocations: 5.171 MB / 0.88 GB, free: 19.52 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00171/2.516, allocations: 1.213 MB / 0.8811 GB, free: 18.45 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/2.517, allocations: 196 kB / 0.8813 GB, free: 18.25 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006331/2.518, allocations: 0.7077 MB / 0.882 GB, free: 17.66 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009069/2.527, allocations: 2.865 MB / 0.8848 GB, free: 15.3 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01424/2.541, allocations: 8.584 MB / 0.8932 GB, free: 4.672 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/2.556, allocations: 4.81 MB / 0.8979 GB, free: 372 kB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001848/2.556, allocations: 60 kB / 0.898 GB, free: 312 kB / 0.4949 GB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.03655/2.593, allocations: 11.22 MB / 0.9089 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/2.593, allocations: 91.12 kB / 0.909 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004001/2.593, allocations: 204 kB / 0.9092 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004076/2.594, allocations: 300 kB / 0.9095 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01569/2.609, allocations: 2.391 MB / 0.9118 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00054/2.61, allocations: 402.4 kB / 0.9122 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/2.622, allocations: 0.6225 MB / 0.9128 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00279/2.625, allocations: 0.5621 MB / 0.9134 GB, free: 2.305 MB / 0.5105 GB 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.372/2.997, allocations: 3.428 MB / 0.9167 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002221/2.999, allocations: 0.5383 MB / 0.9172 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01969/3.019, allocations: 3.38 MB / 0.9205 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000114/3.019, allocations: 33.41 kB / 0.9206 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/3.019, allocations: 0.9062 kB / 0.9206 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001272/3.019, allocations: 19.94 kB / 0.9206 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06256/3.082, allocations: 13.7 MB / 0.934 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001482/3.082, allocations: 30.97 kB / 0.934 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006494/3.088, allocations: 0.5895 MB / 0.9346 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/3.089, allocations: 53.34 kB / 0.9346 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008204/3.089, allocations: 102.6 kB / 0.9347 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001046/3.09, allocations: 71.02 kB / 0.9348 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.338e-05/3.09, allocations: 49.84 kB / 0.9348 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02248/3.112, allocations: 12.13 MB / 0.9467 GB, free: 91.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004923/3.117, allocations: 0.8365 MB / 0.9475 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002614/3.12, allocations: 104.8 kB / 0.9476 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008124/3.128, allocations: 198.1 kB / 0.9478 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001281/3.129, allocations: 292.1 kB / 0.948 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007293/3.13, allocations: 130.3 kB / 0.9482 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01604/3.146, allocations: 3.773 MB / 0.9519 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.283e-06/3.146, allocations: 0 / 0.9519 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01912/3.165, allocations: 1.556 MB / 0.9534 GB, free: 91.59 MB / 0.5105 GB 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.02613/3.192, allocations: 18.66 MB / 0.9716 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02483/3.216, allocations: 6.443 MB / 0.9779 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.968e-05/3.217, allocations: 6.906 kB / 0.9779 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006228/3.223, allocations: 1.533 MB / 0.9794 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008197/3.231, allocations: 0.7062 MB / 0.9801 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.535/3.766, allocations: 175.5 MB / 1.151 GB, free: 122.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01528/3.781, allocations: 5.25 MB / 1.157 GB, free: 121.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01394/3.795, allocations: 2.755 MB / 1.159 GB, free: 121.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008656/3.804, allocations: 3.468 MB / 1.163 GB, free: 121.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.693e-06/3.804, allocations: 3.844 kB / 1.163 GB, free: 121.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2962/4.1, allocations: 110.8 MB / 1.271 GB, free: 77.68 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/4.101, allocations: 172 kB / 1.271 GB, free: 77.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/12.05, allocations: 64 / 1.271 GB, free: 77.43 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat