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.002098/0.002098, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 97.58 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3064/0.3064, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.481e-05/2.481e-05, allocations: 224 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4021, allocations: 58.86 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/0.6061, allocations: 110.7 MB / 0.5741 GB, free: 4.488 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.6064, allocations: 79.95 kB / 0.5742 GB, free: 4.41 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.139/1.745, allocations: 228.2 MB / 0.797 GB, free: 10.08 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.645e-06/1.745, allocations: 0 / 0.797 GB, free: 10.08 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0008669/1.746, allocations: 375.8 kB / 0.7974 GB, free: 9.711 MB / 475.1 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.05534/1.802, allocations: 13.14 MB / 0.8102 GB, free: 12.46 MB / 491.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.202e-05/1.802, allocations: 12.03 kB / 0.8102 GB, free: 12.45 MB / 491.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06339/1.865, allocations: 5.815 MB / 0.8159 GB, free: 6.609 MB / 491.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8704/2.736, allocations: 10.52 MB / 0.8262 GB, free: 43.41 MB / 491.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/2.737, allocations: 0.637 MB / 0.8268 GB, free: 43.41 MB / 491.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007923/2.745, allocations: 1.142 MB / 0.8279 GB, free: 43.41 MB / 491.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06531/2.81, allocations: 20.58 MB / 0.848 GB, free: 43.32 MB / 491.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0934/2.904, allocations: 32.71 MB / 0.88 GB, free: 34.47 MB / 491.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00136/2.905, allocations: 193.3 kB / 0.8801 GB, free: 34.47 MB / 491.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007064/2.912, allocations: 99.62 kB / 0.8802 GB, free: 34.47 MB / 491.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003998/2.916, allocations: 2.051 MB / 0.8822 GB, free: 34.45 MB / 491.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7658/3.682, allocations: 157.2 MB / 1.036 GB, free: 29.57 MB / 0.5578 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/3.693, allocations: 5.264 MB / 1.041 GB, free: 28.91 MB / 0.5578 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007357/3.7, allocations: 3.531 MB / 1.044 GB, free: 28.88 MB / 0.5578 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01871/3.719, allocations: 15.27 MB / 1.059 GB, free: 16.32 MB / 0.5578 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/3.719, allocations: 67 kB / 1.059 GB, free: 16.28 MB / 0.5578 GB Notification: Performance of pre-optimization done (n=274): time 9.067e-06/3.719, allocations: 7.5 kB / 1.059 GB, free: 16.28 MB / 0.5578 GB Notification: Performance of matching and sorting (n=309): time 0.1575/3.876, allocations: 49.99 MB / 1.108 GB, free: 8.32 MB / 0.5578 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/3.877, allocations: 217.9 kB / 1.108 GB, free: 8.102 MB / 0.5578 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02085/3.897, allocations: 8.795 MB / 1.117 GB, free: 7.094 MB / 0.5578 GB Notification: Performance of collectPreVariables (initialization): time 0.0007627/3.898, allocations: 29.36 kB / 1.117 GB, free: 7.062 MB / 0.5578 GB Notification: Performance of collectInitialEqns (initialization): time 0.008914/3.907, allocations: 11.03 MB / 1.128 GB, free: 15.96 MB / 0.5734 GB Notification: Performance of collectInitialBindings (initialization): time 0.002297/3.91, allocations: 1.323 MB / 1.129 GB, free: 15.29 MB / 0.5734 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002269/3.912, allocations: 2.75 kB / 1.129 GB, free: 15.29 MB / 0.5734 GB Notification: Performance of setup shared object (initialization): time 0.002366/3.914, allocations: 1.094 MB / 1.13 GB, free: 14.94 MB / 0.5734 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01402/3.928, allocations: 5.658 MB / 1.136 GB, free: 14.9 MB / 0.5734 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02725/3.956, allocations: 18.18 MB / 1.153 GB, free: 14.29 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02374/3.979, allocations: 10.28 MB / 1.163 GB, free: 8.969 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006581/3.98, allocations: 137.9 kB / 1.164 GB, free: 8.836 MB / 0.589 GB Notification: Performance of matching and sorting (n=2389) (initialization): time 0.08786/4.068, allocations: 20.56 MB / 1.184 GB, free: 7.613 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006424/4.069, allocations: 200 kB / 1.184 GB, free: 7.418 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001212/4.07, allocations: 452 kB / 1.184 GB, free: 6.977 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/4.073, allocations: 0.8239 MB / 1.185 GB, free: 6.191 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0276/4.1, allocations: 4.532 MB / 1.19 GB, free: 2.25 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006521/4.107, allocations: 3.508 MB / 1.193 GB, free: 14.97 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01977/4.127, allocations: 0.7822 MB / 1.194 GB, free: 14.32 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005239/4.132, allocations: 1.171 MB / 1.195 GB, free: 13.16 MB / 0.6203 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2076 * 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 (2343): * Single equations (assignments): 2335 * 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.00654/4.139, allocations: 1.132 MB / 1.196 GB, free: 12.02 MB / 0.6203 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01585/4.154, allocations: 5.864 MB / 1.202 GB, free: 6.816 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002476/4.157, allocations: 0.802 MB / 1.202 GB, free: 6.004 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/4.174, allocations: 5.849 MB / 1.208 GB, free: 1.043 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001444/4.175, allocations: 32 kB / 1.208 GB, free: 1.012 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/4.175, allocations: 4 kB / 1.208 GB, free: 1.008 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-05/4.175, allocations: 16.59 kB / 1.208 GB, free: 1.008 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06327/4.238, allocations: 17.72 MB / 1.226 GB, free: 2.582 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/4.238, allocations: 4 kB / 1.226 GB, free: 2.578 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00608/4.244, allocations: 0.6813 MB / 1.226 GB, free: 2.062 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008815/4.245, allocations: 163.1 kB / 1.226 GB, free: 1.938 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005732/4.246, allocations: 19.33 kB / 1.226 GB, free: 1.922 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/4.25, allocations: 2.087 MB / 1.228 GB, free: 0 / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.622e-05/4.25, allocations: 7.078 kB / 1.228 GB, free: 0 / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/4.273, allocations: 10.79 MB / 1.239 GB, free: 6.035 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005232/4.279, allocations: 1.259 MB / 1.24 GB, free: 4.836 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002289/4.281, allocations: 11.75 kB / 1.24 GB, free: 4.828 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007355/4.288, allocations: 384.3 kB / 1.241 GB, free: 4.602 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009969/4.289, allocations: 176.1 kB / 1.241 GB, free: 4.488 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004728/4.29, allocations: 104.3 kB / 1.241 GB, free: 4.395 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.01801/4.308, allocations: 5.829 MB / 1.247 GB, free: 15.36 MB / 0.6671 GB Notification: Performance of sort global known variables: time 1.573e-06/4.308, allocations: 2.516 kB / 1.247 GB, free: 15.36 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.02363/4.332, allocations: 2.5 MB / 1.249 GB, free: 12.88 MB / 0.6671 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.02607/4.358, allocations: 11.97 MB / 1.261 GB, free: 1.867 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.03168/4.389, allocations: 12.5 MB / 1.273 GB, free: 6.5 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/4.389, allocations: 448 / 1.273 GB, free: 6.5 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.00685/4.396, allocations: 2.825 MB / 1.276 GB, free: 3.949 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009494/4.406, allocations: 1.266 MB / 1.277 GB, free: 2.941 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5454/4.951, allocations: 30.84 MB / 1.307 GB, free: 238.1 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0344/4.986, allocations: 10.78 MB / 1.318 GB, free: 237 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01757/5.003, allocations: 7.003 MB / 1.324 GB, free: 237 MB / 0.6984 GB Notification: Performance of SimCode: time 1.974e-06/5.003, allocations: 0 / 1.324 GB, free: 237 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.179/12.18, allocations: 324.9 MB / 1.642 GB, free: 217.5 MB / 0.6984 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