Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",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.01572/0.01572, 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.792/1.792, 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.002161/0.002161, allocations: 115.3 kB / 226.2 MB, free: 10.09 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.4603/0.4603, allocations: 38.06 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007357/0.0007358, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1319, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.442/0.5739, allocations: 97.9 MB / 0.4976 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.5743, allocations: 82.64 kB / 0.4977 GB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.181/1.756, allocations: 234.6 MB / 0.7268 GB, free: 19.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.756, allocations: 0 / 0.7268 GB, free: 19.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007827/1.757, allocations: 371.9 kB / 0.7272 GB, free: 19.16 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: 5712 * Number of variables: 5712 Notification: Performance of Generate backend data structure: time 0.05369/1.81, allocations: 13.52 MB / 0.7404 GB, free: 5.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.81, allocations: 12.03 kB / 0.7404 GB, free: 5.508 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01358/1.824, allocations: 2.958 MB / 0.7433 GB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4863/2.31, allocations: 5.801 MB / 0.7489 GB, free: 31.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03789/2.348, allocations: 10.52 MB / 0.7592 GB, free: 31.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001785/2.35, allocations: 1.479 MB / 0.7607 GB, free: 31.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008711/2.359, allocations: 1.945 MB / 0.7626 GB, free: 31.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1399/2.499, allocations: 41.55 MB / 0.8031 GB, free: 21.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001625/2.501, allocations: 203 kB / 0.8033 GB, free: 21.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007914/2.508, allocations: 0.9023 MB / 0.8042 GB, free: 21.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00445/2.513, allocations: 2.048 MB / 0.8062 GB, free: 21.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1031/2.616, allocations: 30.26 MB / 0.8358 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6817/3.298, allocations: 165.2 MB / 0.9971 GB, free: 29.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07908/3.377, allocations: 13.33 MB / 1.01 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02791/3.405, allocations: 15.28 MB / 1.025 GB, free: 16.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/3.405, allocations: 65.88 kB / 1.025 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=274): time 1.303e-05/3.405, allocations: 0 / 1.025 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=309): time 0.4094/3.815, allocations: 79.47 MB / 1.103 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/3.815, allocations: 224.7 kB / 1.103 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03062/3.845, allocations: 9.516 MB / 1.112 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009899/3.846, allocations: 75.16 kB / 1.112 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01355/3.86, allocations: 11.06 MB / 1.123 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002561/3.863, allocations: 1.357 MB / 1.124 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003144/3.866, allocations: 368.4 kB / 1.125 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.003019/3.869, allocations: 1.077 MB / 1.126 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01839/3.887, allocations: 6.096 MB / 1.132 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4585/4.346, allocations: 18.49 MB / 1.15 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03241/4.378, allocations: 10.64 MB / 1.16 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001517/4.38, allocations: 127.8 kB / 1.16 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.06435/4.444, allocations: 23.42 MB / 1.183 GB, free: 141 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007303/4.445, allocations: 198.5 kB / 1.183 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001216/4.446, allocations: 445.1 kB / 1.184 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/4.449, allocations: 0.8287 MB / 1.185 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02741/4.477, allocations: 4.457 MB / 1.189 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006022/4.483, allocations: 3.644 MB / 1.192 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01898/4.502, allocations: 1.125 MB / 1.194 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004255/4.506, allocations: 1.151 MB / 1.195 GB, free: 139.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2037 * Number of states: 0 () * Number of discrete variables: 30 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (2304): * Single equations (assignments): 2296 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02066/4.527, allocations: 7.862 MB / 1.202 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001648/4.528, allocations: 0.8269 MB / 1.203 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/4.545, allocations: 6.153 MB / 1.209 GB, free: 138 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001305/4.545, allocations: 33.44 kB / 1.209 GB, free: 138 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/4.545, allocations: 3.125 kB / 1.209 GB, free: 138 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.742e-05/4.545, allocations: 13.08 kB / 1.209 GB, free: 138 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06629/4.611, allocations: 21.2 MB / 1.23 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/4.611, allocations: 3.562 kB / 1.23 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006041/4.617, allocations: 0.6786 MB / 1.231 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008542/4.618, allocations: 170.6 kB / 1.231 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006551/4.619, allocations: 62.64 kB / 1.231 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004309/4.623, allocations: 2.198 MB / 1.233 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/4.623, allocations: 7.5 kB / 1.233 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03171/4.655, allocations: 11.17 MB / 1.244 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005904/4.661, allocations: 1.279 MB / 1.245 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002998/4.664, allocations: 56.41 kB / 1.245 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009747/4.674, allocations: 436.8 kB / 1.246 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/4.675, allocations: 176 kB / 1.246 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006715/4.676, allocations: 99.31 kB / 1.246 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.02415/4.7, allocations: 6.514 MB / 1.252 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.72e-07/4.7, allocations: 0 / 1.252 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02275/4.723, allocations: 2.907 MB / 1.255 GB, free: 120.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (rev.phi,rev.w) * 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 (279): * Single equations (assignments): 271 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02502/4.748, allocations: 12.38 MB / 1.267 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03096/4.779, allocations: 13.57 MB / 1.28 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/4.779, allocations: 4.438 kB / 1.28 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00665/4.786, allocations: 2.932 MB / 1.283 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009639/4.796, allocations: 1.368 MB / 1.285 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.176/5.971, allocations: 421.7 MB / 1.696 GB, free: 49.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03626/6.008, allocations: 10.77 MB / 1.707 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.03555/6.043, allocations: 5.393 MB / 1.712 GB, free: 48.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0187/6.062, allocations: 6.894 MB / 1.719 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of SimCode: time 2.044e-06/6.062, allocations: 0 / 1.719 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.048/7.11, allocations: 204.2 MB / 1.918 GB, free: 177.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/7.111, allocations: 208.1 kB / 1.919 GB, free: 177.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/17.6, allocations: 0 / 1.919 GB, free: 177.3 MB / 0.6355 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat