Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.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.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForce",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.01562/0.01562, allocations: 169.2 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.907/1.907, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002057/0.002057, allocations: 122.9 kB / 226.2 MB, free: 10.08 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.4516/0.4516, allocations: 38.06 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004748, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 48.7 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4327/0.5447, allocations: 92.06 MB / 0.4919 GB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.5451, allocations: 77.89 kB / 0.492 GB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019/1.564, allocations: 158.9 MB / 0.6472 GB, free: 69.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.327e-06/1.564, allocations: 0 / 0.6472 GB, free: 69.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004505/1.564, allocations: 150.5 kB / 0.6474 GB, free: 69.05 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03323/1.597, allocations: 8.3 MB / 0.6555 GB, free: 65.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.597, allocations: 9.938 kB / 0.6555 GB, free: 65.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006944/1.604, allocations: 1.393 MB / 0.6568 GB, free: 65.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0314/1.636, allocations: 3.626 MB / 0.6604 GB, free: 65.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03237/1.668, allocations: 9.594 MB / 0.6698 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008491/1.669, allocations: 0.601 MB / 0.6703 GB, free: 62.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004716/1.674, allocations: 0.7836 MB / 0.6711 GB, free: 62.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06281/1.737, allocations: 18.95 MB / 0.6896 GB, free: 52.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005227/1.737, allocations: 94.02 kB / 0.6897 GB, free: 52.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004633/1.742, allocations: 384.2 kB / 0.6901 GB, free: 52.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005898/1.748, allocations: 1.774 MB / 0.6918 GB, free: 51.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06652/1.815, allocations: 14.97 MB / 0.7064 GB, free: 36.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5076/2.322, allocations: 78.99 MB / 0.7836 GB, free: 43.78 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02887/2.351, allocations: 6.1 MB / 0.7895 GB, free: 43.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03283/2.384, allocations: 11 MB / 0.8003 GB, free: 39.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/2.384, allocations: 61.38 kB / 0.8003 GB, free: 39.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=238): time 6.883e-06/2.384, allocations: 0 / 0.8003 GB, free: 39.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=262): time 0.08163/2.466, allocations: 16.26 MB / 0.8162 GB, free: 35.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/2.466, allocations: 159.7 kB / 0.8163 GB, free: 34.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01969/2.486, allocations: 5.906 MB / 0.8221 GB, free: 34.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006274/2.486, allocations: 64.33 kB / 0.8222 GB, free: 34.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005552/2.492, allocations: 5.585 MB / 0.8276 GB, free: 31.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001581/2.494, allocations: 1.017 MB / 0.8286 GB, free: 30.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/2.495, allocations: 178.2 kB / 0.8288 GB, free: 30.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007454/2.496, allocations: 0.6712 MB / 0.8294 GB, free: 30.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00891/2.505, allocations: 2.569 MB / 0.832 GB, free: 30.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01309/2.518, allocations: 8.164 MB / 0.8399 GB, free: 23.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01247/2.53, allocations: 4.436 MB / 0.8443 GB, free: 21.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002402/2.531, allocations: 59.12 kB / 0.8443 GB, free: 21.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.03212/2.563, allocations: 10.44 MB / 0.8545 GB, free: 18.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/2.563, allocations: 89.47 kB / 0.8546 GB, free: 18.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003695/2.563, allocations: 201.9 kB / 0.8548 GB, free: 18.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003096/2.564, allocations: 293.2 kB / 0.8551 GB, free: 18.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01403/2.578, allocations: 2.185 MB / 0.8572 GB, free: 18.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004352/2.578, allocations: 388.5 kB / 0.8576 GB, free: 18.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/2.59, allocations: 0.6115 MB / 0.8582 GB, free: 18.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002117/2.592, allocations: 0.538 MB / 0.8587 GB, free: 17.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1128): * Single equations (assignments): 1125 * 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.603, allocations: 3.608 MB / 0.8622 GB, free: 16.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001803/2.604, allocations: 0.5788 MB / 0.8628 GB, free: 16.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009593/2.614, allocations: 2.802 MB / 0.8655 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.867e-05/2.614, allocations: 29.75 kB / 0.8655 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/2.614, allocations: 6.75 kB / 0.8656 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/2.614, allocations: 10.41 kB / 0.8656 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06378/2.678, allocations: 26.45 MB / 0.8914 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002321/2.678, allocations: 52 kB / 0.8914 GB, free: 3.051 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004054/2.682, allocations: 0.5156 MB / 0.8919 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/2.683, allocations: 79.84 kB / 0.892 GB, free: 2.527 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006818/2.683, allocations: 113.8 kB / 0.8921 GB, free: 2.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001273/2.683, allocations: 105.9 kB / 0.8922 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.806e-05/2.684, allocations: 83.62 kB / 0.8923 GB, free: 2.246 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/2.7, allocations: 14.59 MB / 0.9066 GB, free: 1.805 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002836/2.703, allocations: 0.6967 MB / 0.9072 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00225/2.705, allocations: 126.4 kB / 0.9074 GB, free: 1.004 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005899/2.711, allocations: 199.2 kB / 0.9075 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/2.712, allocations: 342.3 kB / 0.9079 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003667/2.712, allocations: 155.6 kB / 0.908 GB, free: 444 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.02925/2.742, allocations: 5.083 MB / 0.913 GB, free: 15.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.22e-07/2.742, allocations: 4 kB / 0.913 GB, free: 15.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01307/2.755, allocations: 1.487 MB / 0.9144 GB, free: 13.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * Number of states: 0 () * 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 (270): * Single equations (assignments): 267 * 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.0203/2.775, allocations: 25.14 MB / 0.939 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.337/3.112, allocations: 6.014 MB / 0.9449 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.025e-05/3.112, allocations: 10.16 kB / 0.9449 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004379/3.117, allocations: 1.474 MB / 0.9463 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008122/3.125, allocations: 0.8559 MB / 0.9471 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1968/3.322, allocations: 198.7 MB / 1.141 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01791/3.34, allocations: 5.739 MB / 1.147 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01428/3.354, allocations: 2.787 MB / 1.15 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01044/3.364, allocations: 3.664 MB / 1.153 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of SimCode: time 1.473e-06/3.365, allocations: 0 / 1.153 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6797/4.044, allocations: 116.8 MB / 1.267 GB, free: 168.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/4.044, allocations: 175.2 kB / 1.267 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/11.47, allocations: 0 / 1.267 GB, free: 167.9 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat