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.001532/0.001532, allocations: 171.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.0009982/0.0009983, allocations: 89.86 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.023e-05, allocations: 8.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1476, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.6206, allocations: 111.9 MB / 0.604 GB, free: 432 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.621, allocations: 79.91 kB / 0.6041 GB, free: 352 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7917/1.413, allocations: 222 MB / 0.8209 GB, free: 57.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.855e-06/1.413, allocations: 0 / 0.8209 GB, free: 57.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001077/1.414, allocations: 366.9 kB / 0.8213 GB, free: 57.34 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.457, allocations: 12.79 MB / 0.8338 GB, free: 44.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/1.457, allocations: 11.98 kB / 0.8338 GB, free: 44.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02398/1.481, allocations: 5.718 MB / 0.8394 GB, free: 38.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02459/1.506, allocations: 10.16 MB / 0.8493 GB, free: 28.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000859/1.507, allocations: 0.6172 MB / 0.8499 GB, free: 27.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007359/1.514, allocations: 1.121 MB / 0.851 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04581/1.56, allocations: 19.76 MB / 0.8703 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8421/2.402, allocations: 31.69 MB / 0.9012 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002025/2.404, allocations: 195.6 kB / 0.9014 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007831/2.412, allocations: 98.44 kB / 0.9015 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003929/2.416, allocations: 1.898 MB / 0.9034 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.182/2.598, allocations: 154.6 MB / 1.054 GB, free: 14.84 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009616/2.608, allocations: 4.852 MB / 1.059 GB, free: 12.41 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006523/2.614, allocations: 3.378 MB / 1.062 GB, free: 10.93 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02041/2.635, allocations: 15.27 MB / 1.077 GB, free: 13.82 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/2.635, allocations: 63.12 kB / 1.077 GB, free: 13.76 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=238): time 9.919e-06/2.635, allocations: 0 / 1.077 GB, free: 13.76 MB / 0.5887 GB Notification: Performance of matching and sorting (n=273): time 0.875/3.51, allocations: 48.83 MB / 1.125 GB, free: 148.2 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/3.51, allocations: 210.1 kB / 1.125 GB, free: 147.9 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02261/3.533, allocations: 8.58 MB / 1.134 GB, free: 147.2 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 0.0007118/3.534, allocations: 27.86 kB / 1.134 GB, free: 147.2 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.01207/3.546, allocations: 10.79 MB / 1.144 GB, free: 140.7 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.002504/3.548, allocations: 1.198 MB / 1.145 GB, free: 140.1 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/3.55, allocations: 0.9375 kB / 1.145 GB, free: 140.1 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 0.001438/3.552, allocations: 1.063 MB / 1.146 GB, free: 139.8 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/3.562, allocations: 5.438 MB / 1.152 GB, free: 139.8 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01702/3.579, allocations: 17.57 MB / 1.169 GB, free: 123.8 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/3.594, allocations: 9.926 MB / 1.179 GB, free: 123.7 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005288/3.594, allocations: 128.6 kB / 1.179 GB, free: 123.7 MB / 0.5888 GB Notification: Performance of matching and sorting (n=2289) (initialization): time 0.03966/3.634, allocations: 19.92 MB / 1.198 GB, free: 119.6 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003991/3.635, allocations: 198.3 kB / 1.198 GB, free: 119.6 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008822/3.635, allocations: 442.1 kB / 1.199 GB, free: 119.6 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/3.637, allocations: 0.8059 MB / 1.2 GB, free: 119.6 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01352/3.65, allocations: 4.34 MB / 1.204 GB, free: 119 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/3.654, allocations: 3.469 MB / 1.207 GB, free: 117 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01505/3.669, allocations: 0.7508 MB / 1.208 GB, free: 116.9 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003533/3.672, allocations: 1.124 MB / 1.209 GB, free: 116.7 MB / 0.5888 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.003723/3.676, allocations: 1.115 MB / 1.21 GB, free: 115.8 MB / 0.5888 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007288/3.683, allocations: 5.538 MB / 1.215 GB, free: 113.7 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/3.685, allocations: 0.7771 MB / 1.216 GB, free: 113.2 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007956/3.693, allocations: 5.431 MB / 1.222 GB, free: 111.1 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-05/3.693, allocations: 34.08 kB / 1.222 GB, free: 111.1 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/3.693, allocations: 3.219 kB / 1.222 GB, free: 111.1 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/3.693, allocations: 12 kB / 1.222 GB, free: 111.1 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03731/3.73, allocations: 16.86 MB / 1.238 GB, free: 103.9 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/3.73, allocations: 4 kB / 1.238 GB, free: 103.9 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/3.733, allocations: 0.6111 MB / 1.239 GB, free: 103.4 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/3.733, allocations: 151.2 kB / 1.239 GB, free: 103.3 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/3.733, allocations: 19.19 kB / 1.239 GB, free: 103.3 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/3.735, allocations: 2.062 MB / 1.241 GB, free: 101.3 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/3.735, allocations: 6.297 kB / 1.241 GB, free: 101.3 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/3.745, allocations: 10.18 MB / 1.251 GB, free: 92.04 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002897/3.748, allocations: 0.7199 MB / 1.251 GB, free: 91.3 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002059/3.75, allocations: 4 kB / 1.251 GB, free: 91.29 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00444/3.755, allocations: 378.2 kB / 1.252 GB, free: 91.07 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003968/3.755, allocations: 154.6 kB / 1.252 GB, free: 90.96 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002774/3.755, allocations: 86.72 kB / 1.252 GB, free: 90.88 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.01286/3.768, allocations: 5.672 MB / 1.258 GB, free: 85.96 MB / 0.5888 GB Notification: Performance of sort global known variables: time 7.02e-07/3.768, allocations: 0 / 1.258 GB, free: 85.96 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.02004/3.788, allocations: 2.406 MB / 1.26 GB, free: 83.57 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.01149/3.8, allocations: 11.39 MB / 1.271 GB, free: 73.12 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.01723/3.817, allocations: 11.97 MB / 1.283 GB, free: 62.25 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/3.817, allocations: 4.438 kB / 1.283 GB, free: 62.24 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.002858/3.82, allocations: 2.642 MB / 1.285 GB, free: 59.86 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006402/3.827, allocations: 1.302 MB / 1.287 GB, free: 58.85 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07407/3.901, allocations: 27.86 MB / 1.314 GB, free: 34.57 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03264/3.933, allocations: 10.47 MB / 1.324 GB, free: 26.87 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.02242/3.956, allocations: 5.266 MB / 1.329 GB, free: 23.6 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3992/4.355, allocations: 7.134 MB / 1.336 GB, free: 125 MB / 0.5888 GB Notification: Performance of SimCode: time 1.432e-06/4.355, allocations: 0.5625 kB / 1.336 GB, free: 125 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2826/4.638, allocations: 190.9 MB / 1.523 GB, free: 10.69 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001265/4.638, allocations: 148 kB / 1.523 GB, free: 10.49 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.871/13.51, allocations: 0 / 1.523 GB, free: 10.49 MB / 0.5888 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