Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001671/0.001671, allocations: 198 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.727/1.727, allocations: 227.2 MB / 245 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009039/0.0009038, allocations: 92.88 kB / 297.2 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4141/0.4141, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 4.219 kB / 468.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3635, allocations: 63.25 MB / 0.5193 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.5187, allocations: 113.6 MB / 0.6302 GB, free: 5.832 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.519, allocations: 83.92 kB / 0.6302 GB, free: 5.754 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7431/1.262, allocations: 229.6 MB / 0.8545 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.485e-06/1.262, allocations: 0 / 0.8545 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006405/1.263, allocations: 375.9 kB / 0.8548 GB, free: 2.656 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: 5519 * Number of variables: 5519 Notification: Performance of Generate backend data structure: time 0.04346/1.306, allocations: 13.17 MB / 0.8677 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.306, allocations: 12.03 kB / 0.8677 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01288/1.319, allocations: 2.879 MB / 0.8705 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02588/1.345, allocations: 5.71 MB / 0.8761 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03427/1.38, allocations: 9.683 MB / 0.8855 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001854/1.381, allocations: 1.437 MB / 0.8869 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.416/1.797, allocations: 1.907 MB / 0.8888 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1184/1.916, allocations: 40.47 MB / 0.9283 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001664/1.918, allocations: 198.7 kB / 0.9285 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009015/1.927, allocations: 0.8836 MB / 0.9294 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003031/1.93, allocations: 1.901 MB / 0.9312 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07018/2, allocations: 29.2 MB / 0.9598 GB, free: 44.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2001/2.2, allocations: 162.1 MB / 1.118 GB, free: 1.578 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4153/2.615, allocations: 15.66 MB / 1.133 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/2.626, allocations: 15.26 MB / 1.148 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.883e-05/2.626, allocations: 61.66 kB / 1.148 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=238): time 7.143e-06/2.626, allocations: 0 / 1.148 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=273): time 0.2047/2.831, allocations: 78.22 MB / 1.225 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/2.831, allocations: 208.4 kB / 1.225 GB, free: 112 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02088/2.852, allocations: 9.304 MB / 1.234 GB, free: 111 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006246/2.853, allocations: 65.92 kB / 1.234 GB, free: 111 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.007603/2.86, allocations: 10.77 MB / 1.245 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00163/2.862, allocations: 1.237 MB / 1.246 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/2.864, allocations: 350.8 kB / 1.246 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0009502/2.865, allocations: 1.051 MB / 1.247 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009127/2.874, allocations: 5.854 MB / 1.253 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01812/2.892, allocations: 17.94 MB / 1.27 GB, free: 85.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/2.907, allocations: 10.29 MB / 1.28 GB, free: 79.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006697/2.908, allocations: 124 kB / 1.281 GB, free: 79.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2265) (initialization): time 0.04379/2.951, allocations: 22.63 MB / 1.303 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004145/2.952, allocations: 200.4 kB / 1.303 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007782/2.953, allocations: 432 kB / 1.303 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/2.954, allocations: 0.8098 MB / 1.304 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01362/2.968, allocations: 4.291 MB / 1.308 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003888/2.971, allocations: 3.611 MB / 1.312 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01488/2.986, allocations: 1.098 MB / 1.313 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004177/2.991, allocations: 1.114 MB / 1.314 GB, free: 49.05 MB / 0.6042 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 () * Number of clocked 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.02087/3.011, allocations: 7.671 MB / 1.321 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002277/3.014, allocations: 0.7943 MB / 1.322 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/3.026, allocations: 5.671 MB / 1.328 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/3.026, allocations: 33.88 kB / 1.328 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-05/3.026, allocations: 0 / 1.328 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.343e-05/3.027, allocations: 22.39 kB / 1.328 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4953/3.522, allocations: 20.46 MB / 1.348 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/3.522, allocations: 3.844 kB / 1.348 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/3.524, allocations: 0.6059 MB / 1.348 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/3.525, allocations: 166.3 kB / 1.348 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/3.525, allocations: 52.34 kB / 1.349 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/3.527, allocations: 2.207 MB / 1.351 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/3.527, allocations: 6.031 kB / 1.351 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/3.538, allocations: 10.48 MB / 1.361 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/3.541, allocations: 0.7424 MB / 1.362 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/3.542, allocations: 48.67 kB / 1.362 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00389/3.546, allocations: 414.3 kB / 1.362 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005708/3.547, allocations: 153.9 kB / 1.362 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002725/3.547, allocations: 92.97 kB / 1.362 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01739/3.565, allocations: 6.357 MB / 1.369 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.313e-06/3.565, allocations: 2.094 kB / 1.369 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01833/3.583, allocations: 2.801 MB / 1.371 GB, free: 104.3 MB / 0.6042 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 (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.01424/3.597, allocations: 11.73 MB / 1.383 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02165/3.619, allocations: 13 MB / 1.395 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/3.619, allocations: 3.719 kB / 1.395 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003359/3.622, allocations: 2.733 MB / 1.398 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006762/3.629, allocations: 1.366 MB / 1.399 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6862/4.315, allocations: 409.4 MB / 1.799 GB, free: 5.125 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03005/4.346, allocations: 10.47 MB / 1.809 GB, free: 4.086 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.019/4.365, allocations: 5.228 MB / 1.815 GB, free: 3.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01517/4.38, allocations: 6.667 MB / 1.821 GB, free: 3.844 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/4.38, allocations: 0 / 1.821 GB, free: 3.844 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.761/5.141, allocations: 197.5 MB / 2.014 GB, free: 165.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/5.141, allocations: 211.1 kB / 2.014 GB, free: 165.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/15.99, allocations: 3.938 kB / 2.014 GB, free: 165.6 MB / 0.698 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat