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.002106/0.002105, allocations: 185.7 kB / 16.41 MB, free: 5.723 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.254/2.254, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001189/0.001189, allocations: 82.98 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5451/0.5451, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000512/0.0005122, allocations: 12 kB / 431.5 MB, free: 6.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1326, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.513/0.6457, allocations: 111.4 MB / 0.5877 GB, free: 7.191 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.6461, allocations: 79.97 kB / 0.5877 GB, free: 7.113 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.236/1.882, allocations: 235.3 MB / 0.8175 GB, free: 31.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.787e-06/1.882, allocations: 0 / 0.8175 GB, free: 31.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007685/1.883, allocations: 379.8 kB / 0.8179 GB, free: 31.12 MB / 490.7 MB 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.05279/1.936, allocations: 13.51 MB / 0.8311 GB, free: 17.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/1.936, allocations: 8.031 kB / 0.8311 GB, free: 17.48 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01351/1.95, allocations: 2.97 MB / 0.834 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04006/1.99, allocations: 5.815 MB / 0.8396 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03763/2.027, allocations: 10.54 MB / 0.8499 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002151/2.03, allocations: 1.481 MB / 0.8514 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009782/2.039, allocations: 1.941 MB / 0.8533 GB, free: 10.61 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.939/2.978, allocations: 41.56 MB / 0.8939 GB, free: 43.27 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001793/2.98, allocations: 197.4 kB / 0.8941 GB, free: 43.27 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009009/2.989, allocations: 0.9034 MB / 0.8949 GB, free: 43.27 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004259/2.994, allocations: 2.047 MB / 0.8969 GB, free: 43.25 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1067/3.1, allocations: 30.27 MB / 0.9265 GB, free: 42.89 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7748/3.875, allocations: 165.3 MB / 1.088 GB, free: 120.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09782/3.973, allocations: 13.32 MB / 1.101 GB, free: 119.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0164/3.99, allocations: 15.28 MB / 1.116 GB, free: 106.9 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.921e-05/3.99, allocations: 74.17 kB / 1.116 GB, free: 106.9 MB / 0.573 GB Notification: Performance of pre-optimization done (n=274): time 7.414e-06/3.99, allocations: 1.094 kB / 1.116 GB, free: 106.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=309): time 0.3916/4.381, allocations: 79.48 MB / 1.194 GB, free: 93.46 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.752e-05/4.382, allocations: 227.8 kB / 1.194 GB, free: 93.21 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02583/4.407, allocations: 9.54 MB / 1.203 GB, free: 87.72 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008717/4.408, allocations: 72.66 kB / 1.203 GB, free: 87.68 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009163/4.418, allocations: 10.95 MB / 1.214 GB, free: 79.37 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002059/4.42, allocations: 1.36 MB / 1.215 GB, free: 78.45 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002926/4.423, allocations: 360.8 kB / 1.216 GB, free: 78.38 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.002545/4.425, allocations: 1.088 MB / 1.217 GB, free: 77.79 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01589/4.441, allocations: 6.092 MB / 1.223 GB, free: 74.76 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02424/4.465, allocations: 18.52 MB / 1.241 GB, free: 54.33 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02395/4.489, allocations: 10.64 MB / 1.251 GB, free: 47.79 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006102/4.49, allocations: 132 kB / 1.251 GB, free: 47.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=2353) (initialization): time 0.06167/4.552, allocations: 23.29 MB / 1.274 GB, free: 26.93 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007423/4.553, allocations: 197.2 kB / 1.274 GB, free: 26.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00101/4.554, allocations: 448 kB / 1.274 GB, free: 26.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/4.556, allocations: 0.8293 MB / 1.275 GB, free: 25.46 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02539/4.581, allocations: 4.464 MB / 1.28 GB, free: 20.99 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00581/4.587, allocations: 3.648 MB / 1.283 GB, free: 17.22 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01863/4.606, allocations: 1.133 MB / 1.284 GB, free: 16.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004152/4.61, allocations: 1.154 MB / 1.285 GB, free: 14.94 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.4756/5.086, allocations: 7.85 MB / 1.293 GB, free: 107.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/5.088, allocations: 0.8286 MB / 1.294 GB, free: 107.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01867/5.106, allocations: 6.156 MB / 1.3 GB, free: 107.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001278/5.107, allocations: 34.34 kB / 1.3 GB, free: 107.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/5.107, allocations: 2.438 kB / 1.3 GB, free: 107.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-05/5.107, allocations: 19.77 kB / 1.3 GB, free: 107.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0693/5.176, allocations: 21.18 MB / 1.321 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/5.176, allocations: 6.422 kB / 1.321 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006198/5.182, allocations: 0.6864 MB / 1.321 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008859/5.183, allocations: 168.5 kB / 1.322 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006827/5.184, allocations: 64.31 kB / 1.322 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003348/5.187, allocations: 2.203 MB / 1.324 GB, free: 104.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/5.187, allocations: 6.969 kB / 1.324 GB, free: 104.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02418/5.212, allocations: 11.17 MB / 1.335 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004979/5.217, allocations: 1.288 MB / 1.336 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00279/5.219, allocations: 60.59 kB / 1.336 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007585/5.227, allocations: 437.4 kB / 1.336 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/5.228, allocations: 171.2 kB / 1.337 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004805/5.229, allocations: 109.8 kB / 1.337 GB, free: 102.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.02096/5.25, allocations: 6.528 MB / 1.343 GB, free: 102.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.31e-07/5.25, allocations: 2.719 kB / 1.343 GB, free: 102.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02256/5.272, allocations: 2.897 MB / 1.346 GB, free: 102.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.02647/5.299, allocations: 12.38 MB / 1.358 GB, free: 98.42 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03297/5.332, allocations: 13.57 MB / 1.371 GB, free: 94.16 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/5.332, allocations: 3.812 kB / 1.371 GB, free: 94.16 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00701/5.339, allocations: 2.942 MB / 1.374 GB, free: 93.01 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/5.349, allocations: 1.371 MB / 1.375 GB, free: 92.53 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.392/6.741, allocations: 424.5 MB / 1.79 GB, free: 245.2 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03583/6.777, allocations: 10.77 MB / 1.8 GB, free: 244.1 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01813/6.795, allocations: 7.028 MB / 1.807 GB, free: 244.1 MB / 0.7137 GB Notification: Performance of SimCode: time 1.813e-06/6.795, allocations: 0 / 1.807 GB, free: 244.1 MB / 0.7137 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.347/14.14, allocations: 328.1 MB / 2.128 GB, free: 147.8 MB / 0.7137 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