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.001817/0.001817, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 82.58 kB / 261.7 MB, free: 1.68 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.2352/0.2352, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.875e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1382, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4776/0.6158, allocations: 110.7 MB / 0.5741 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.6161, allocations: 79.91 kB / 0.5742 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.855/1.471, allocations: 228.2 MB / 0.7971 GB, free: 76.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.168e-06/1.471, allocations: 0 / 0.7971 GB, free: 76.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001649/1.473, allocations: 369.3 kB / 0.7974 GB, free: 76.59 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.05927/1.532, allocations: 13.14 MB / 0.8102 GB, free: 71.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/1.532, allocations: 7.125 kB / 0.8103 GB, free: 71.67 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02667/1.559, allocations: 5.817 MB / 0.8159 GB, free: 70.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03165/1.591, allocations: 10.51 MB / 0.8262 GB, free: 66.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001513/1.592, allocations: 0.6353 MB / 0.8268 GB, free: 66.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01029/1.603, allocations: 1.148 MB / 0.8279 GB, free: 65.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05472/1.657, allocations: 20.59 MB / 0.848 GB, free: 45.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09689/1.754, allocations: 32.71 MB / 0.88 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001756/1.756, allocations: 198.1 kB / 0.8802 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01037/1.767, allocations: 100 kB / 0.8803 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003531/1.77, allocations: 2.043 MB / 0.8823 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6145/2.385, allocations: 157.2 MB / 1.036 GB, free: 19.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006417/2.391, allocations: 5.255 MB / 1.041 GB, free: 16.49 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003698/2.395, allocations: 3.524 MB / 1.044 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/2.405, allocations: 15.27 MB / 1.059 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/2.406, allocations: 68.52 kB / 1.059 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=274): time 9.648e-06/2.406, allocations: 0 / 1.059 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of matching and sorting (n=309): time 0.1071/2.513, allocations: 50.05 MB / 1.108 GB, free: 13.35 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/2.513, allocations: 209.9 kB / 1.108 GB, free: 13.11 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02037/2.533, allocations: 8.794 MB / 1.117 GB, free: 5.352 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007587/2.534, allocations: 32.55 kB / 1.117 GB, free: 5.316 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.7104/3.244, allocations: 11.11 MB / 1.128 GB, free: 150 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002703/3.247, allocations: 1.331 MB / 1.129 GB, free: 149.4 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002448/3.25, allocations: 1.406 kB / 1.129 GB, free: 149.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001653/3.251, allocations: 1.091 MB / 1.13 GB, free: 149 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01251/3.264, allocations: 5.655 MB / 1.136 GB, free: 149 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02387/3.288, allocations: 18.19 MB / 1.154 GB, free: 132.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01825/3.306, allocations: 10.27 MB / 1.164 GB, free: 132.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007375/3.307, allocations: 130.2 kB / 1.164 GB, free: 132.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=2389) (initialization): time 0.04729/3.354, allocations: 20.69 MB / 1.184 GB, free: 129.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001075/3.355, allocations: 199.8 kB / 1.184 GB, free: 129.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001219/3.356, allocations: 455.1 kB / 1.185 GB, free: 129.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/3.358, allocations: 0.829 MB / 1.185 GB, free: 129 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01507/3.373, allocations: 4.54 MB / 1.19 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00461/3.378, allocations: 3.499 MB / 1.193 GB, free: 126.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01773/3.395, allocations: 0.7803 MB / 1.194 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005133/3.401, allocations: 1.168 MB / 1.195 GB, free: 126.1 MB / 0.573 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.007026/3.408, allocations: 1.132 MB / 1.196 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009327/3.417, allocations: 5.869 MB / 1.202 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/3.419, allocations: 0.8026 MB / 1.203 GB, free: 122.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/3.431, allocations: 5.846 MB / 1.208 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.706e-05/3.431, allocations: 38.06 kB / 1.209 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/3.431, allocations: 3.531 kB / 1.209 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.819e-05/3.431, allocations: 11.48 kB / 1.209 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05651/3.488, allocations: 17.69 MB / 1.226 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.102e-05/3.488, allocations: 3.562 kB / 1.226 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00628/3.494, allocations: 0.6864 MB / 1.226 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009222/3.495, allocations: 161.2 kB / 1.227 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007378/3.496, allocations: 21.77 kB / 1.227 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/3.499, allocations: 2.053 MB / 1.229 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/3.499, allocations: 6 kB / 1.229 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/3.52, allocations: 10.78 MB / 1.239 GB, free: 102.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006231/3.526, allocations: 1.257 MB / 1.24 GB, free: 101.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003996/3.53, allocations: 10.77 kB / 1.24 GB, free: 101.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008815/3.539, allocations: 382.2 kB / 1.241 GB, free: 101.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001391/3.54, allocations: 181.5 kB / 1.241 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007241/3.541, allocations: 106 kB / 1.241 GB, free: 101.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.02059/3.562, allocations: 5.815 MB / 1.247 GB, free: 96.22 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.253e-06/3.562, allocations: 0 / 1.247 GB, free: 96.22 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02916/3.591, allocations: 2.499 MB / 1.249 GB, free: 93.73 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.01319/3.604, allocations: 11.98 MB / 1.261 GB, free: 82.73 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01842/3.623, allocations: 12.49 MB / 1.273 GB, free: 71.37 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/3.623, allocations: 4.438 kB / 1.273 GB, free: 71.37 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003359/3.626, allocations: 2.826 MB / 1.276 GB, free: 68.81 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/3.632, allocations: 1.264 MB / 1.277 GB, free: 67.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08204/3.714, allocations: 28.83 MB / 1.305 GB, free: 42.66 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02385/3.738, allocations: 10.78 MB / 1.316 GB, free: 34.74 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01724/3.756, allocations: 5.455 MB / 1.321 GB, free: 31.32 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3747/4.13, allocations: 7.414 MB / 1.328 GB, free: 117.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.402e-06/4.13, allocations: 0.7812 kB / 1.328 GB, free: 117.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3191/4.45, allocations: 197.4 MB / 1.521 GB, free: 3.012 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/4.45, allocations: 151.6 kB / 1.521 GB, free: 2.812 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.476/13.93, allocations: 0 / 1.521 GB, free: 2.812 MB / 0.573 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