Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.003443/0.003442, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001133/0.001132, allocations: 94.62 kB / 267.5 MB, free: 14.11 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.2963/0.2963, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.769e-05, allocations: 7.984 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 58.86 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5435/0.669, allocations: 111.3 MB / 0.5816 GB, free: 8.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.6693, allocations: 84.92 kB / 0.5817 GB, free: 8.516 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.239/1.908, allocations: 235.6 MB / 0.8118 GB, free: 78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.777e-06/1.908, allocations: 7.328 kB / 0.8118 GB, free: 78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008928/1.909, allocations: 376.2 kB / 0.8122 GB, free: 77.97 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.05259/1.962, allocations: 13.14 MB / 0.825 GB, free: 67.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/1.962, allocations: 12.03 kB / 0.825 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01394/1.976, allocations: 2.962 MB / 0.8279 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04/2.016, allocations: 5.817 MB / 0.8336 GB, free: 59.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03808/2.054, allocations: 10.52 MB / 0.8438 GB, free: 48.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001688/2.056, allocations: 1.48 MB / 0.8453 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008839/2.065, allocations: 1.94 MB / 0.8472 GB, free: 45.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1345/2.199, allocations: 41.23 MB / 0.8875 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00145/2.201, allocations: 202.1 kB / 0.8876 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008055/2.209, allocations: 0.8987 MB / 0.8885 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004754/2.214, allocations: 2.049 MB / 0.8905 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5507/2.764, allocations: 29.83 MB / 0.9197 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.252/3.016, allocations: 165.3 MB / 1.081 GB, free: 9.508 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07002/3.086, allocations: 13.25 MB / 1.094 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007963/3.095, allocations: 3.604 MB / 1.098 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0198/3.114, allocations: 15.28 MB / 1.112 GB, free: 8.426 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/3.115, allocations: 76.08 kB / 1.113 GB, free: 8.355 MB / 0.573 GB Notification: Performance of pre-optimization done (n=274): time 8.777e-06/3.115, allocations: 2.734 kB / 1.113 GB, free: 8.355 MB / 0.573 GB Notification: Performance of matching and sorting (n=309): time 0.8421/3.957, allocations: 75.19 MB / 1.186 GB, free: 146.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/3.957, allocations: 212.9 kB / 1.186 GB, free: 146.1 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02604/3.983, allocations: 9.46 MB / 1.195 GB, free: 144.9 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008263/3.984, allocations: 71.61 kB / 1.195 GB, free: 144.9 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009426/3.993, allocations: 10.95 MB / 1.206 GB, free: 137.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002276/3.996, allocations: 1.361 MB / 1.207 GB, free: 137.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00283/3.998, allocations: 364 kB / 1.208 GB, free: 137.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.002719/4.001, allocations: 1.082 MB / 1.209 GB, free: 136.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0158/4.017, allocations: 5.959 MB / 1.215 GB, free: 136.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02381/4.041, allocations: 18.38 MB / 1.233 GB, free: 116.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02267/4.064, allocations: 10.64 MB / 1.243 GB, free: 107.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005452/4.064, allocations: 128 kB / 1.243 GB, free: 107.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=2353) (initialization): time 0.05841/4.123, allocations: 23.01 MB / 1.266 GB, free: 87.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004917/4.123, allocations: 197.4 kB / 1.266 GB, free: 87.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008487/4.124, allocations: 449.6 kB / 1.266 GB, free: 86.64 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/4.126, allocations: 0.8284 MB / 1.267 GB, free: 85.86 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02569/4.152, allocations: 4.466 MB / 1.271 GB, free: 81.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005789/4.158, allocations: 3.594 MB / 1.275 GB, free: 78.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01914/4.177, allocations: 1.125 MB / 1.276 GB, free: 77.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004163/4.181, allocations: 1.148 MB / 1.277 GB, free: 76.47 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 () * 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.006264/4.188, allocations: 1.523 MB / 1.279 GB, free: 74.94 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002104/4.19, allocations: 0.8329 MB / 1.279 GB, free: 74.09 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/4.207, allocations: 6.062 MB / 1.285 GB, free: 68.92 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001426/4.207, allocations: 42.27 kB / 1.285 GB, free: 68.88 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/4.207, allocations: 7.516 kB / 1.285 GB, free: 68.88 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-05/4.207, allocations: 10.22 kB / 1.285 GB, free: 68.88 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07043/4.278, allocations: 21.11 MB / 1.306 GB, free: 50.63 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.096e-05/4.278, allocations: 4 kB / 1.306 GB, free: 50.63 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0063/4.284, allocations: 0.6836 MB / 1.307 GB, free: 49.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009079/4.285, allocations: 160.7 kB / 1.307 GB, free: 49.79 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008005/4.286, allocations: 62.72 kB / 1.307 GB, free: 49.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003397/4.289, allocations: 2.156 MB / 1.309 GB, free: 47.44 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/4.289, allocations: 11.62 kB / 1.309 GB, free: 47.43 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02272/4.312, allocations: 11.03 MB / 1.32 GB, free: 36.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005183/4.317, allocations: 1.294 MB / 1.321 GB, free: 34.78 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002901/4.32, allocations: 56.06 kB / 1.321 GB, free: 34.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007747/4.328, allocations: 433.4 kB / 1.322 GB, free: 34.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/4.329, allocations: 177.7 kB / 1.322 GB, free: 34.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004687/4.33, allocations: 102.5 kB / 1.322 GB, free: 34.03 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.4753/4.805, allocations: 6.443 MB / 1.328 GB, free: 126.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.122e-06/4.805, allocations: 0 / 1.328 GB, free: 126.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02322/4.828, allocations: 2.896 MB / 1.331 GB, free: 126.6 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 () * 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.02969/4.858, allocations: 12.25 MB / 1.343 GB, free: 124.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03178/4.89, allocations: 13.38 MB / 1.356 GB, free: 123.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/4.89, allocations: 8.797 kB / 1.356 GB, free: 123.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006695/4.897, allocations: 2.896 MB / 1.359 GB, free: 123.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01049/4.907, allocations: 1.371 MB / 1.36 GB, free: 123.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1163/5.023, allocations: 31.37 MB / 1.391 GB, free: 116.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03338/5.057, allocations: 10.77 MB / 1.401 GB, free: 112.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01742/5.074, allocations: 7.025 MB / 1.408 GB, free: 107 MB / 0.573 GB Notification: Performance of SimCode: time 3.056e-06/5.074, allocations: 0 / 1.408 GB, free: 107 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.736/12.81, allocations: 329.6 MB / 1.73 GB, free: 8.305 MB / 0.5886 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat