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.00114/0.00114, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009126/0.0009127, allocations: 98.3 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2056/0.2056, allocations: 45.14 MB / 383.7 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.754e-05, allocations: 0 / 453.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4538/0.58, allocations: 112.8 MB / 0.6146 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5803, allocations: 77.03 kB / 0.6147 GB, free: 5.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8419/1.422, allocations: 222.8 MB / 0.8323 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.844e-06/1.422, allocations: 0 / 0.8323 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001194/1.424, allocations: 367.7 kB / 0.8326 GB, free: 84.52 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.04839/1.472, allocations: 12.81 MB / 0.8451 GB, free: 79.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.472, allocations: 7.625 kB / 0.8451 GB, free: 79.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02393/1.496, allocations: 5.717 MB / 0.8507 GB, free: 78.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02762/1.524, allocations: 9.646 MB / 0.8601 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001292/1.525, allocations: 0.6192 MB / 0.8607 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009004/1.534, allocations: 1.12 MB / 0.8618 GB, free: 77.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05135/1.585, allocations: 19.76 MB / 0.8811 GB, free: 65.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08329/1.669, allocations: 31.7 MB / 0.9121 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001319/1.67, allocations: 194.1 kB / 0.9123 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007803/1.678, allocations: 100 kB / 0.9124 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/1.681, allocations: 1.904 MB / 0.9142 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5841/2.265, allocations: 154.6 MB / 1.065 GB, free: 40.74 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005837/2.271, allocations: 4.848 MB / 1.07 GB, free: 40.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003836/2.275, allocations: 3.374 MB / 1.073 GB, free: 40.04 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009427/2.284, allocations: 15.27 MB / 1.088 GB, free: 27.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.661e-05/2.284, allocations: 61.25 kB / 1.088 GB, free: 27.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=238): time 5.32e-06/2.284, allocations: 5.578 kB / 1.088 GB, free: 27.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=273): time 0.09473/2.379, allocations: 48.85 MB / 1.136 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/2.379, allocations: 208 kB / 1.136 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01483/2.394, allocations: 8.575 MB / 1.144 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0006698/2.395, allocations: 32.55 kB / 1.145 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.007584/2.402, allocations: 10.79 MB / 1.155 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001707/2.404, allocations: 1.201 MB / 1.156 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/2.405, allocations: 0 / 1.156 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0009388/2.406, allocations: 1.067 MB / 1.157 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008082/2.414, allocations: 5.456 MB / 1.163 GB, free: 0 / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4642/2.878, allocations: 17.56 MB / 1.18 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/2.896, allocations: 9.927 MB / 1.189 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009361/2.897, allocations: 126.4 kB / 1.19 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2289) (initialization): time 0.04253/2.939, allocations: 19.92 MB / 1.209 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001106/2.94, allocations: 194.9 kB / 1.209 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001343/2.942, allocations: 440.1 kB / 1.21 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/2.943, allocations: 0.8089 MB / 1.21 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01402/2.957, allocations: 4.331 MB / 1.215 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/2.961, allocations: 3.477 MB / 1.218 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01281/2.974, allocations: 0.7568 MB / 1.219 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004175/2.978, allocations: 1.127 MB / 1.22 GB, free: 132.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2012 * 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 (2243): * Single equations (assignments): 2235 * 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.005552/2.984, allocations: 1.102 MB / 1.221 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008242/2.992, allocations: 5.535 MB / 1.226 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/2.994, allocations: 0.7826 MB / 1.227 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00946/3.003, allocations: 5.434 MB / 1.232 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.142e-05/3.003, allocations: 34.27 kB / 1.232 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/3.003, allocations: 0 / 1.232 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/3.003, allocations: 16.56 kB / 1.232 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04785/3.051, allocations: 16.85 MB / 1.249 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-05/3.051, allocations: 7.562 kB / 1.249 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002686/3.054, allocations: 0.6031 MB / 1.25 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004971/3.054, allocations: 162.9 kB / 1.25 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003566/3.055, allocations: 16.27 kB / 1.25 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/3.057, allocations: 2.063 MB / 1.252 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/3.057, allocations: 9.25 kB / 1.252 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/3.067, allocations: 10.18 MB / 1.262 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/3.069, allocations: 0.7133 MB / 1.262 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/3.071, allocations: 10.09 kB / 1.262 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004233/3.076, allocations: 370.2 kB / 1.263 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/3.076, allocations: 156.5 kB / 1.263 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000272/3.076, allocations: 91.64 kB / 1.263 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01257/3.089, allocations: 5.669 MB / 1.269 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/3.089, allocations: 0 / 1.269 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01858/3.107, allocations: 2.42 MB / 1.271 GB, free: 117.9 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 () * 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.01234/3.12, allocations: 11.4 MB / 1.282 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01796/3.138, allocations: 11.98 MB / 1.294 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/3.138, allocations: 448 / 1.294 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002761/3.141, allocations: 2.632 MB / 1.296 GB, free: 99.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006337/3.147, allocations: 1.296 MB / 1.298 GB, free: 98.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07185/3.219, allocations: 27.88 MB / 1.325 GB, free: 74.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01731/3.236, allocations: 10.47 MB / 1.335 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01503/3.251, allocations: 5.267 MB / 1.34 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01372/3.265, allocations: 6.655 MB / 1.347 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of SimCode: time 1.232e-06/3.265, allocations: 0 / 1.347 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6769/3.942, allocations: 191 MB / 1.533 GB, free: 70.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/3.942, allocations: 142.1 kB / 1.533 GB, free: 70.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/12.28, allocations: 0 / 1.533 GB, free: 70.77 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