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.001659/0.00166, allocations: 183.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000862/0.0008621, allocations: 86.59 kB / 267 MB, free: 9.277 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.4109/0.4109, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.308e-05, allocations: 0 / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4721/0.5982, allocations: 111.4 MB / 0.5816 GB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5986, allocations: 75.88 kB / 0.5817 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8655/1.464, allocations: 235.6 MB / 0.8118 GB, free: 62.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.315e-06/1.464, allocations: 0 / 0.8118 GB, free: 62.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006159/1.465, allocations: 374.6 kB / 0.8122 GB, free: 62.73 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.04865/1.513, allocations: 13.14 MB / 0.825 GB, free: 54.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.89e-05/1.514, allocations: 11.41 kB / 0.825 GB, free: 54.54 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01787/1.531, allocations: 2.959 MB / 0.8279 GB, free: 52.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02488/1.556, allocations: 5.818 MB / 0.8336 GB, free: 48.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02795/1.584, allocations: 10.54 MB / 0.8439 GB, free: 38.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001414/1.586, allocations: 1.475 MB / 0.8453 GB, free: 36.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009115/1.595, allocations: 1.942 MB / 0.8472 GB, free: 34.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1136/1.709, allocations: 41.23 MB / 0.8875 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00221/1.711, allocations: 198.1 kB / 0.8877 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01145/1.722, allocations: 0.9054 MB / 0.8885 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00363/1.726, allocations: 2.049 MB / 0.8905 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5303/2.256, allocations: 29.83 MB / 0.9197 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2301/2.486, allocations: 165.3 MB / 1.081 GB, free: 14.03 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0379/2.524, allocations: 13.26 MB / 1.094 GB, free: 11.65 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004624/2.529, allocations: 3.607 MB / 1.098 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.455/2.984, allocations: 15.27 MB / 1.112 GB, free: 138.7 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/2.984, allocations: 66.81 kB / 1.113 GB, free: 138.6 MB / 0.573 GB Notification: Performance of pre-optimization done (n=274): time 8.075e-06/2.984, allocations: 0 / 1.113 GB, free: 138.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=309): time 0.2227/3.207, allocations: 75.1 MB / 1.186 GB, free: 131 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/3.207, allocations: 210.2 kB / 1.186 GB, free: 130.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02273/3.23, allocations: 9.462 MB / 1.195 GB, free: 129.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008013/3.231, allocations: 76.19 kB / 1.195 GB, free: 129.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008894/3.24, allocations: 11.07 MB / 1.206 GB, free: 122.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00214/3.242, allocations: 1.366 MB / 1.208 GB, free: 122 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002234/3.244, allocations: 360.6 kB / 1.208 GB, free: 122 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001577/3.246, allocations: 1.084 MB / 1.209 GB, free: 121.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/3.256, allocations: 5.956 MB / 1.215 GB, free: 121.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01985/3.276, allocations: 18.38 MB / 1.233 GB, free: 99.82 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01758/3.294, allocations: 10.64 MB / 1.243 GB, free: 90.9 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000649/3.294, allocations: 124 kB / 1.243 GB, free: 90.78 MB / 0.573 GB Notification: Performance of matching and sorting (n=2353) (initialization): time 0.04922/3.344, allocations: 23.18 MB / 1.266 GB, free: 70.48 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001152/3.345, allocations: 196 kB / 1.266 GB, free: 70.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001077/3.346, allocations: 448 kB / 1.266 GB, free: 69.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/3.347, allocations: 0.826 MB / 1.267 GB, free: 69.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01573/3.363, allocations: 4.465 MB / 1.272 GB, free: 65.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003933/3.367, allocations: 3.598 MB / 1.275 GB, free: 61.81 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01596/3.383, allocations: 1.12 MB / 1.276 GB, free: 60.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004507/3.388, allocations: 1.152 MB / 1.277 GB, free: 59.68 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2040 * 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 (2307): * Single equations (assignments): 2299 * 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.005339/3.393, allocations: 1.527 MB / 1.279 GB, free: 58.15 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001792/3.395, allocations: 0.8251 MB / 1.28 GB, free: 57.31 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/3.405, allocations: 6.066 MB / 1.286 GB, free: 52.14 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.936e-05/3.405, allocations: 32 kB / 1.286 GB, free: 52.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/3.405, allocations: 4 kB / 1.286 GB, free: 52.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/3.405, allocations: 21.92 kB / 1.286 GB, free: 52.09 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05263/3.458, allocations: 21.1 MB / 1.306 GB, free: 33.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/3.458, allocations: 4 kB / 1.306 GB, free: 33.26 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00293/3.461, allocations: 0.6829 MB / 1.307 GB, free: 32.58 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/3.461, allocations: 171.5 kB / 1.307 GB, free: 32.41 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003734/3.462, allocations: 66.05 kB / 1.307 GB, free: 32.35 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/3.464, allocations: 2.153 MB / 1.309 GB, free: 30.07 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/3.464, allocations: 7.938 kB / 1.309 GB, free: 30.06 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4541/3.918, allocations: 11.03 MB / 1.32 GB, free: 113.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005095/3.923, allocations: 1.286 MB / 1.321 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002299/3.925, allocations: 59.02 kB / 1.321 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005152/3.93, allocations: 438.6 kB / 1.322 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006096/3.931, allocations: 173.1 kB / 1.322 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003451/3.931, allocations: 99.44 kB / 1.322 GB, free: 113.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0182/3.95, allocations: 6.448 MB / 1.328 GB, free: 113.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.31e-07/3.95, allocations: 3.656 kB / 1.328 GB, free: 113.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02199/3.972, allocations: 2.898 MB / 1.331 GB, free: 113.3 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.01585/3.988, allocations: 12.25 MB / 1.343 GB, free: 110.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02489/4.012, allocations: 13.39 MB / 1.356 GB, free: 110.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/4.013, allocations: 3.688 kB / 1.356 GB, free: 110.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003591/4.016, allocations: 2.89 MB / 1.359 GB, free: 110.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008305/4.024, allocations: 1.38 MB / 1.36 GB, free: 110.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09435/4.119, allocations: 29.37 MB / 1.389 GB, free: 101.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0322/4.151, allocations: 10.77 MB / 1.4 GB, free: 97.52 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01901/4.17, allocations: 5.403 MB / 1.405 GB, free: 97.42 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01447/4.185, allocations: 6.904 MB / 1.412 GB, free: 91.55 MB / 0.573 GB Notification: Performance of SimCode: time 1.222e-06/4.185, allocations: 0 / 1.412 GB, free: 91.55 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7272/4.912, allocations: 207.6 MB / 1.614 GB, free: 100.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/4.912, allocations: 185.7 kB / 1.614 GB, free: 99.88 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/15.41, allocations: 0 / 1.614 GB, free: 99.88 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