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.001216/0.001217, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008471/0.0008471, allocations: 85.12 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1887/0.1887, allocations: 45.13 MB / 389.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.782e-05, allocations: 4 kB / 460.5 MB, free: 69.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 63.25 MB / 0.5115 GB, free: 6.723 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.4982, allocations: 113.5 MB / 0.6223 GB, free: 12.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4985, allocations: 76.97 kB / 0.6223 GB, free: 12.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7076/1.206, allocations: 229.9 MB / 0.8469 GB, free: 89.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.354e-06/1.206, allocations: 3.531 kB / 0.8469 GB, free: 89.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004736/1.207, allocations: 365 kB / 0.8473 GB, free: 89.17 MB / 0.5261 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.03163/1.238, allocations: 12.82 MB / 0.8598 GB, free: 83.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.238, allocations: 11.5 kB / 0.8598 GB, free: 83.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01136/1.25, allocations: 2.87 MB / 0.8626 GB, free: 81.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02112/1.271, allocations: 5.723 MB / 0.8682 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02171/1.293, allocations: 9.642 MB / 0.8776 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/1.294, allocations: 1.443 MB / 0.879 GB, free: 69.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005968/1.3, allocations: 1.896 MB / 0.8808 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08218/1.382, allocations: 40.15 MB / 0.9201 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008689/1.383, allocations: 202.1 kB / 0.9203 GB, free: 24.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005225/1.388, allocations: 0.8859 MB / 0.9211 GB, free: 23.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002007/1.39, allocations: 1.897 MB / 0.923 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05855/1.449, allocations: 28.8 MB / 0.9511 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4238/1.873, allocations: 162.1 MB / 1.109 GB, free: 27.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03299/1.906, allocations: 12.82 MB / 1.122 GB, free: 24.99 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003281/1.909, allocations: 3.449 MB / 1.125 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009172/1.918, allocations: 15.27 MB / 1.14 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/1.918, allocations: 63.25 kB / 1.14 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=238): time 5.831e-06/1.918, allocations: 0 / 1.14 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=273): time 0.4704/2.389, allocations: 73.84 MB / 1.212 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/2.389, allocations: 212.8 kB / 1.213 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/2.4, allocations: 9.217 MB / 1.222 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004661/2.4, allocations: 67.61 kB / 1.222 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.005095/2.405, allocations: 10.77 MB / 1.232 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/2.406, allocations: 1.233 MB / 1.233 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009032/2.407, allocations: 353.8 kB / 1.234 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000868/2.408, allocations: 1.055 MB / 1.235 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007101/2.415, allocations: 5.736 MB / 1.24 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01044/2.426, allocations: 17.83 MB / 1.258 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/2.436, allocations: 10.3 MB / 1.268 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002449/2.437, allocations: 127.1 kB / 1.268 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2265) (initialization): time 0.03159/2.468, allocations: 22.4 MB / 1.29 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004556/2.469, allocations: 192 kB / 1.29 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000719/2.47, allocations: 438.2 kB / 1.29 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/2.471, allocations: 0.81 MB / 1.291 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01128/2.482, allocations: 4.289 MB / 1.295 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/2.486, allocations: 3.562 MB / 1.299 GB, free: 96.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/2.497, allocations: 1.096 MB / 1.3 GB, free: 95.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002733/2.5, allocations: 1.113 MB / 1.301 GB, free: 94.7 MB / 0.5886 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.003437/2.503, allocations: 1.478 MB / 1.302 GB, free: 93.21 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/2.504, allocations: 0.7975 MB / 1.303 GB, free: 92.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007767/2.512, allocations: 5.625 MB / 1.309 GB, free: 87.64 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.033e-05/2.512, allocations: 32 kB / 1.309 GB, free: 87.61 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/2.512, allocations: 9.891 kB / 1.309 GB, free: 87.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/2.512, allocations: 11.72 kB / 1.309 GB, free: 87.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04213/2.554, allocations: 20.13 MB / 1.328 GB, free: 70.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/2.555, allocations: 4.438 kB / 1.328 GB, free: 70.99 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/2.557, allocations: 0.6035 MB / 1.329 GB, free: 70.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/2.557, allocations: 172.3 kB / 1.329 GB, free: 70.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/2.558, allocations: 51.28 kB / 1.329 GB, free: 70.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/2.559, allocations: 2.153 MB / 1.331 GB, free: 68.26 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/2.559, allocations: 4 kB / 1.331 GB, free: 68.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009698/2.569, allocations: 10.41 MB / 1.342 GB, free: 58.64 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/2.571, allocations: 0.732 MB / 1.342 GB, free: 57.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/2.572, allocations: 55.75 kB / 1.342 GB, free: 57.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003248/2.576, allocations: 415 kB / 1.343 GB, free: 57.58 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/2.576, allocations: 149.9 kB / 1.343 GB, free: 57.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/2.576, allocations: 98.09 kB / 1.343 GB, free: 57.39 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.008531/2.585, allocations: 6.272 MB / 1.349 GB, free: 51.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.01e-07/2.585, allocations: 0 / 1.349 GB, free: 51.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01291/2.598, allocations: 2.806 MB / 1.352 GB, free: 49.06 MB / 0.5886 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.00976/2.607, allocations: 11.65 MB / 1.363 GB, free: 38.36 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01609/2.624, allocations: 12.84 MB / 1.376 GB, free: 26.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/2.624, allocations: 4.438 kB / 1.376 GB, free: 26.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002625/2.626, allocations: 2.7 MB / 1.378 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004786/2.631, allocations: 1.376 MB / 1.38 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3459/2.977, allocations: 28.96 MB / 1.408 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01801/2.995, allocations: 10.46 MB / 1.418 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0134/3.008, allocations: 5.229 MB / 1.423 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009369/3.018, allocations: 6.658 MB / 1.43 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/3.018, allocations: 0 / 1.43 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.545/3.563, allocations: 200.5 MB / 1.626 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/3.563, allocations: 188.2 kB / 1.626 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/10.9, allocations: 0 / 1.626 GB, free: 66.61 MB / 0.6042 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