Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009525/0.009524, allocations: 177.4 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.082/2.082, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002073/0.002073, allocations: 120.7 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.259/0.2589, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004681, allocations: 14.19 kB / 406.3 MB, free: 51.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 54.86 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5159/0.6222, allocations: 104.7 MB / 0.5526 GB, free: 21.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.6225, allocations: 77.02 kB / 0.5527 GB, free: 21.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.189/1.811, allocations: 234.6 MB / 0.7818 GB, free: 63.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.807e-06/1.812, allocations: 3.719 kB / 0.7818 GB, free: 63.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007241/1.812, allocations: 373.9 kB / 0.7821 GB, free: 63.19 MB / 0.4948 GB 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.05394/1.866, allocations: 13.51 MB / 0.7953 GB, free: 58.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.866, allocations: 6.312 kB / 0.7953 GB, free: 58.09 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01526/1.882, allocations: 2.961 MB / 0.7982 GB, free: 57.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0406/1.922, allocations: 5.816 MB / 0.8039 GB, free: 56.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03642/1.959, allocations: 10.53 MB / 0.8142 GB, free: 55.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001816/1.961, allocations: 1.477 MB / 0.8156 GB, free: 55.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008742/1.969, allocations: 1.943 MB / 0.8175 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1369/2.106, allocations: 41.56 MB / 0.8581 GB, free: 39.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001503/2.108, allocations: 191.2 kB / 0.8583 GB, free: 39.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008158/2.116, allocations: 0.9045 MB / 0.8592 GB, free: 38.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003922/2.12, allocations: 2.048 MB / 0.8612 GB, free: 38.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1056/2.226, allocations: 30.25 MB / 0.8907 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6633/2.889, allocations: 165.2 MB / 1.052 GB, free: 22.24 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1087/2.998, allocations: 13.32 MB / 1.065 GB, free: 21.55 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03777/3.036, allocations: 15.28 MB / 1.08 GB, free: 24.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/3.036, allocations: 70.28 kB / 1.08 GB, free: 24.94 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=274): time 1.534e-05/3.036, allocations: 0 / 1.08 GB, free: 24.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=309): time 0.8583/3.894, allocations: 79.83 MB / 1.158 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/3.894, allocations: 211.2 kB / 1.158 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02923/3.924, allocations: 9.51 MB / 1.167 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0008095/3.924, allocations: 72.3 kB / 1.168 GB, free: 154 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.01025/3.935, allocations: 11.07 MB / 1.178 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.00223/3.937, allocations: 1.356 MB / 1.18 GB, free: 147.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002757/3.94, allocations: 361.6 kB / 1.18 GB, free: 147.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.002672/3.943, allocations: 1.081 MB / 1.181 GB, free: 147.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01618/3.959, allocations: 6.099 MB / 1.187 GB, free: 147.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02411/3.983, allocations: 18.49 MB / 1.205 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02329/4.006, allocations: 10.63 MB / 1.215 GB, free: 131 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005788/4.007, allocations: 126.5 kB / 1.216 GB, free: 131 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.05989/4.067, allocations: 23.43 MB / 1.238 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005397/4.067, allocations: 194.5 kB / 1.239 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008865/4.068, allocations: 447.5 kB / 1.239 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/4.07, allocations: 0.825 MB / 1.24 GB, free: 127 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02628/4.097, allocations: 4.457 MB / 1.244 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005688/4.102, allocations: 3.642 MB / 1.248 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01914/4.122, allocations: 1.124 MB / 1.249 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004298/4.126, allocations: 1.15 MB / 1.25 GB, free: 123.8 MB / 0.5886 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.0211/4.147, allocations: 7.861 MB / 1.258 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001994/4.149, allocations: 0.8276 MB / 1.259 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01643/4.166, allocations: 6.154 MB / 1.265 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001136/4.166, allocations: 35.88 kB / 1.265 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/4.166, allocations: 2.844 kB / 1.265 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/4.166, allocations: 13.84 kB / 1.265 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07378/4.24, allocations: 21.2 MB / 1.285 GB, free: 109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/4.24, allocations: 3.688 kB / 1.285 GB, free: 109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008306/4.248, allocations: 0.6895 MB / 1.286 GB, free: 109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/4.249, allocations: 167.1 kB / 1.286 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000776/4.25, allocations: 59.47 kB / 1.286 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004534/4.255, allocations: 2.204 MB / 1.288 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/4.255, allocations: 3.938 kB / 1.288 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03165/4.286, allocations: 11.17 MB / 1.299 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005593/4.292, allocations: 1.296 MB / 1.301 GB, free: 99.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002615/4.295, allocations: 51.28 kB / 1.301 GB, free: 99.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007576/4.302, allocations: 444.4 kB / 1.301 GB, free: 99.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/4.303, allocations: 174.4 kB / 1.301 GB, free: 99.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004547/4.304, allocations: 97.83 kB / 1.301 GB, free: 99.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01772/4.322, allocations: 6.518 MB / 1.308 GB, free: 93.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.31e-07/4.322, allocations: 4 kB / 1.308 GB, free: 93.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0213/4.343, allocations: 2.889 MB / 1.31 GB, free: 91.03 MB / 0.5886 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.02398/4.367, allocations: 12.38 MB / 1.323 GB, free: 79.72 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02984/4.397, allocations: 13.55 MB / 1.336 GB, free: 67.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/4.397, allocations: 4.438 kB / 1.336 GB, free: 67.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.006441/4.403, allocations: 2.947 MB / 1.339 GB, free: 65.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009656/4.413, allocations: 1.373 MB / 1.34 GB, free: 64.07 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.188/5.601, allocations: 421.7 MB / 1.752 GB, free: 54.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03132/5.633, allocations: 10.77 MB / 1.762 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.02637/5.659, allocations: 5.392 MB / 1.768 GB, free: 53.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01768/5.677, allocations: 6.9 MB / 1.774 GB, free: 53.43 MB / 0.6823 GB Notification: Performance of SimCode: time 1.803e-06/5.677, allocations: 0 / 1.774 GB, free: 53.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8852/6.562, allocations: 204.2 MB / 1.974 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/6.562, allocations: 212.4 kB / 1.974 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/16.69, allocations: 0 / 1.974 GB, free: 195.4 MB / 0.6823 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat