Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008593/0.000859, allocations: 91.75 kB / 287 MB, free: 272 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2007/0.2007, allocations: 44.15 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.155e-05, allocations: 224 / 451.9 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 61.92 MB / 0.5018 GB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5659, allocations: 112.6 MB / 0.6117 GB, free: 8.688 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.5662, allocations: 83.7 kB / 0.6118 GB, free: 8.609 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8516/1.418, allocations: 229.2 MB / 0.8356 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.336e-06/1.418, allocations: 0 / 0.8356 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001211/1.419, allocations: 367.8 kB / 0.836 GB, free: 70.61 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5519 * Number of variables: 5519 Notification: Performance of Generate backend data structure: time 0.05045/1.469, allocations: 12.8 MB / 0.8485 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/1.47, allocations: 8.031 kB / 0.8485 GB, free: 57.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01564/1.485, allocations: 2.872 MB / 0.8513 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02583/1.511, allocations: 5.722 MB / 0.8569 GB, free: 49.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03069/1.542, allocations: 10.16 MB / 0.8668 GB, free: 38.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001532/1.543, allocations: 1.441 MB / 0.8682 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008744/1.552, allocations: 1.902 MB / 0.8701 GB, free: 35.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1114/1.664, allocations: 40.15 MB / 0.9093 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001699/1.665, allocations: 206.1 kB / 0.9095 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009294/1.675, allocations: 0.8866 MB / 0.9103 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00313/1.678, allocations: 1.897 MB / 0.9122 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8929/2.571, allocations: 28.79 MB / 0.9403 GB, free: 79.28 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2037/2.774, allocations: 162.1 MB / 1.099 GB, free: 12.55 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03904/2.814, allocations: 12.82 MB / 1.111 GB, free: 9.617 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005145/2.819, allocations: 3.441 MB / 1.114 GB, free: 6.477 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/2.833, allocations: 15.27 MB / 1.129 GB, free: 6.094 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/2.833, allocations: 60.56 kB / 1.129 GB, free: 6.027 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=238): time 1.782e-05/2.833, allocations: 0 / 1.129 GB, free: 6.027 MB / 0.5887 GB Notification: Performance of matching and sorting (n=273): time 1.073/3.907, allocations: 74.26 MB / 1.202 GB, free: 146.4 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/3.907, allocations: 208.2 kB / 1.202 GB, free: 146.2 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02257/3.93, allocations: 9.215 MB / 1.211 GB, free: 145.1 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 0.000714/3.93, allocations: 73.03 kB / 1.211 GB, free: 145 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.00962/3.94, allocations: 10.77 MB / 1.222 GB, free: 138.3 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.002136/3.942, allocations: 1.236 MB / 1.223 GB, free: 137.7 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002692/3.945, allocations: 351.3 kB / 1.223 GB, free: 137.7 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 0.002426/3.947, allocations: 1.046 MB / 1.224 GB, free: 137.4 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01075/3.958, allocations: 5.739 MB / 1.23 GB, free: 136.3 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01899/3.977, allocations: 17.83 MB / 1.247 GB, free: 116.5 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01895/3.996, allocations: 10.29 MB / 1.257 GB, free: 108.3 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001174/3.997, allocations: 128 kB / 1.258 GB, free: 108.1 MB / 0.5888 GB Notification: Performance of matching and sorting (n=2265) (initialization): time 0.04491/4.042, allocations: 22.41 MB / 1.279 GB, free: 88.56 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 0.001102/4.043, allocations: 188 kB / 1.28 GB, free: 88.38 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001235/4.045, allocations: 436 kB / 1.28 GB, free: 87.95 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/4.047, allocations: 0.8009 MB / 1.281 GB, free: 87.19 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0148/4.061, allocations: 4.293 MB / 1.285 GB, free: 83.46 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004845/4.066, allocations: 3.568 MB / 1.288 GB, free: 80.11 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01788/4.084, allocations: 1.091 MB / 1.29 GB, free: 79.14 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004553/4.089, allocations: 1.109 MB / 1.291 GB, free: 78.04 MB / 0.5888 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1988 * Number of states: 0 () * Number of discrete variables: 41 (sensor_world2.arrow.arrowLine.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrow.arrowLine.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrow.arrowLine.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrow.arrowLine.twoHeadedArrow,sensor_frame_a1.arrow.headAtOrigin,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 (2219): * Single equations (assignments): 2211 * 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.006466/4.095, allocations: 1.485 MB / 1.292 GB, free: 76.55 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/4.098, allocations: 0.7943 MB / 1.293 GB, free: 75.75 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/4.109, allocations: 5.643 MB / 1.298 GB, free: 70.96 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.68e-05/4.109, allocations: 28 kB / 1.298 GB, free: 70.94 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-05/4.109, allocations: 4 kB / 1.298 GB, free: 70.93 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.709e-05/4.109, allocations: 11.91 kB / 1.298 GB, free: 70.93 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05804/4.167, allocations: 20.13 MB / 1.318 GB, free: 54.11 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/4.167, allocations: 4 kB / 1.318 GB, free: 54.11 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/4.17, allocations: 0.6088 MB / 1.319 GB, free: 53.5 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000575/4.171, allocations: 160.1 kB / 1.319 GB, free: 53.34 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004166/4.171, allocations: 59.95 kB / 1.319 GB, free: 53.29 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/4.173, allocations: 2.152 MB / 1.321 GB, free: 51.01 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/4.173, allocations: 7.938 kB / 1.321 GB, free: 51 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/4.185, allocations: 10.4 MB / 1.331 GB, free: 40.31 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/4.188, allocations: 0.7366 MB / 1.332 GB, free: 39.54 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001666/4.189, allocations: 45.17 kB / 1.332 GB, free: 39.5 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003828/4.193, allocations: 420.5 kB / 1.332 GB, free: 39.09 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004716/4.194, allocations: 161.2 kB / 1.332 GB, free: 38.93 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/4.194, allocations: 85.88 kB / 1.333 GB, free: 38.85 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.01353/4.207, allocations: 6.279 MB / 1.339 GB, free: 32.59 MB / 0.5888 GB Notification: Performance of sort global known variables: time 7.91e-07/4.207, allocations: 0 / 1.339 GB, free: 32.59 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.02024/4.228, allocations: 2.783 MB / 1.341 GB, free: 29.82 MB / 0.5888 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 (239): * Single equations (assignments): 231 * 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.4481/4.676, allocations: 11.63 MB / 1.353 GB, free: 127.3 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.02792/4.704, allocations: 12.85 MB / 1.365 GB, free: 127 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/4.704, allocations: 3.031 kB / 1.365 GB, free: 127 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.004646/4.709, allocations: 2.7 MB / 1.368 GB, free: 126.9 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008167/4.717, allocations: 1.376 MB / 1.369 GB, free: 126.8 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0836/4.8, allocations: 28.39 MB / 1.397 GB, free: 121.9 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02743/4.828, allocations: 10.47 MB / 1.407 GB, free: 120.8 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.01579/4.844, allocations: 5.231 MB / 1.412 GB, free: 120.7 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01471/4.859, allocations: 6.663 MB / 1.419 GB, free: 116.6 MB / 0.5888 GB Notification: Performance of SimCode: time 1.162e-06/4.859, allocations: 3.281 kB / 1.419 GB, free: 116.6 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6895/5.548, allocations: 200.3 MB / 1.614 GB, free: 106.6 MB / 0.6044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/5.548, allocations: 183.6 kB / 1.615 GB, free: 106.4 MB / 0.6044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/16.44, allocations: 0 / 1.615 GB, free: 106.4 MB / 0.6044 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat