Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002283/0.002284, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2306/0.2306, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4424/0.5749, allocations: 111.4 MB / 0.5877 GB, free: 4.617 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.5752, allocations: 77.19 kB / 0.5878 GB, free: 4.578 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8624/1.438, allocations: 235.3 MB / 0.8175 GB, free: 77.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.911e-06/1.438, allocations: 0 / 0.8175 GB, free: 77.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001656/1.439, allocations: 369 kB / 0.8179 GB, free: 77.6 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: 5715 * Number of variables: 5715 Notification: Performance of Generate backend data structure: time 0.06316/1.503, allocations: 13.52 MB / 0.8311 GB, free: 64.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.06e-05/1.503, allocations: 15.97 kB / 0.8311 GB, free: 64.25 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01943/1.522, allocations: 2.959 MB / 0.834 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02664/1.549, allocations: 5.814 MB / 0.8396 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02879/1.578, allocations: 10.56 MB / 0.85 GB, free: 44.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001565/1.579, allocations: 1.472 MB / 0.8514 GB, free: 43.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01059/1.59, allocations: 1.947 MB / 0.8533 GB, free: 41.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1176/1.708, allocations: 41.57 MB / 0.8939 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001791/1.709, allocations: 206.1 kB / 0.8941 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01105/1.721, allocations: 0.9011 MB / 0.895 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003831/1.724, allocations: 2.039 MB / 0.897 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4863/2.211, allocations: 30.27 MB / 0.9265 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2198/2.431, allocations: 165.3 MB / 1.088 GB, free: 9.461 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0366/2.467, allocations: 13.33 MB / 1.101 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01476/2.482, allocations: 15.27 MB / 1.116 GB, free: 9.957 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/2.482, allocations: 71.86 kB / 1.116 GB, free: 9.891 MB / 0.573 GB Notification: Performance of pre-optimization done (n=274): time 1.052e-05/2.482, allocations: 0 / 1.116 GB, free: 9.891 MB / 0.573 GB Notification: Performance of matching and sorting (n=309): time 0.6248/3.107, allocations: 79.81 MB / 1.194 GB, free: 144.9 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/3.107, allocations: 212.7 kB / 1.194 GB, free: 144.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02745/3.135, allocations: 9.542 MB / 1.203 GB, free: 143.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009099/3.136, allocations: 73.77 kB / 1.203 GB, free: 143.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01035/3.146, allocations: 11.08 MB / 1.214 GB, free: 136.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002727/3.149, allocations: 1.358 MB / 1.216 GB, free: 136 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003497/3.152, allocations: 360.8 kB / 1.216 GB, free: 136 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.003109/3.155, allocations: 1.083 MB / 1.217 GB, free: 135.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01229/3.168, allocations: 6.093 MB / 1.223 GB, free: 135.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02083/3.189, allocations: 18.51 MB / 1.241 GB, free: 115.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/3.205, allocations: 10.65 MB / 1.251 GB, free: 105.9 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007909/3.206, allocations: 128 kB / 1.252 GB, free: 105.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=2353) (initialization): time 0.04534/3.252, allocations: 23.46 MB / 1.274 GB, free: 85.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009874/3.253, allocations: 200 kB / 1.275 GB, free: 84.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001262/3.254, allocations: 448 kB / 1.275 GB, free: 84.47 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/3.256, allocations: 0.8185 MB / 1.276 GB, free: 83.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01441/3.27, allocations: 4.47 MB / 1.28 GB, free: 79.81 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/3.275, allocations: 3.646 MB / 1.284 GB, free: 76.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01467/3.289, allocations: 1.127 MB / 1.285 GB, free: 75.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003961/3.293, allocations: 1.154 MB / 1.286 GB, free: 74.25 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2040 * Number of states: 0 () * Number of discrete variables: 33 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (2307): * Single equations (assignments): 2299 * 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.01951/3.313, allocations: 7.862 MB / 1.294 GB, free: 67.23 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002142/3.315, allocations: 0.829 MB / 1.295 GB, free: 66.39 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/3.327, allocations: 6.156 MB / 1.301 GB, free: 61.14 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-05/3.327, allocations: 36 kB / 1.301 GB, free: 61.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/3.327, allocations: 7.688 kB / 1.301 GB, free: 61.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-05/3.328, allocations: 15.75 kB / 1.301 GB, free: 61.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06284/3.39, allocations: 21.2 MB / 1.321 GB, free: 40.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/3.39, allocations: 4.438 kB / 1.321 GB, free: 40.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003034/3.394, allocations: 0.6864 MB / 1.322 GB, free: 39.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005763/3.394, allocations: 168.6 kB / 1.322 GB, free: 39.18 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004394/3.395, allocations: 59.98 kB / 1.322 GB, free: 39.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/3.397, allocations: 2.204 MB / 1.324 GB, free: 36.79 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/3.397, allocations: 8.062 kB / 1.324 GB, free: 36.78 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3605/3.757, allocations: 11.17 MB / 1.335 GB, free: 124.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005729/3.763, allocations: 1.281 MB / 1.336 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002924/3.766, allocations: 52.95 kB / 1.337 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005537/3.772, allocations: 437.1 kB / 1.337 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006317/3.772, allocations: 175.1 kB / 1.337 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003427/3.773, allocations: 98.73 kB / 1.337 GB, free: 124.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01832/3.791, allocations: 6.527 MB / 1.344 GB, free: 124.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.12e-07/3.791, allocations: 2 kB / 1.344 GB, free: 124.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0245/3.815, allocations: 2.909 MB / 1.346 GB, free: 124.2 MB / 0.573 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.01538/3.831, allocations: 12.38 MB / 1.359 GB, free: 121.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02104/3.852, allocations: 13.58 MB / 1.372 GB, free: 121.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/3.852, allocations: 448 / 1.372 GB, free: 121.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004304/3.856, allocations: 2.939 MB / 1.375 GB, free: 121 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008746/3.865, allocations: 1.378 MB / 1.376 GB, free: 120.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6006/4.466, allocations: 422.5 MB / 1.789 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03219/4.498, allocations: 10.78 MB / 1.799 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.01973/4.518, allocations: 5.399 MB / 1.804 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01486/4.533, allocations: 6.903 MB / 1.811 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of SimCode: time 1.312e-06/4.533, allocations: 0 / 1.811 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6824/5.215, allocations: 204.5 MB / 2.011 GB, free: 107.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/5.215, allocations: 205.9 kB / 2.011 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.796/15.01, allocations: 0 / 2.011 GB, free: 107.3 MB / 0.6667 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat