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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00104/0.00104, allocations: 94.16 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 205.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 45.92 MB / 344 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002746, allocations: 8 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 63.46 MB / 481.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.3462/0.4737, allocations: 58.27 MB / 0.5271 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03705/0.5108, allocations: 15.35 MB / 0.5421 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01777/0.5286, allocations: 324.2 kB / 0.5424 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01365/0.5423, allocations: 3.156 MB / 0.5455 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03614/0.5785, allocations: 7.626 MB / 0.553 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008499/0.587, allocations: 1.674 MB / 0.5546 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04588/0.6329, allocations: 27.64 MB / 0.5816 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06565/0.6986, allocations: 36.55 MB / 0.6173 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007356/0.706, allocations: 2.703 MB / 0.6199 GB, free: 9.461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007978/0.7141, allocations: 3.503 MB / 0.6233 GB, free: 5.945 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003042/0.7171, allocations: 0.5117 MB / 0.6238 GB, free: 5.434 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.723, allocations: 1.58 MB / 0.6254 GB, free: 3.852 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00841/0.7314, allocations: 5.608 MB / 0.6309 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005707/0.7371, allocations: 3.208 MB / 0.634 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03383/0.771, allocations: 27.32 MB / 0.6607 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7711, allocations: 0 / 0.6607 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7711, allocations: 0 / 0.6607 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001407/0.7725, allocations: 0 / 0.6607 GB, free: 15.62 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5665 * Number of variables: 5665 Notification: Performance of Generate backend data structure: time 0.0402/0.8127, allocations: 13.5 MB / 0.6739 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.8128, allocations: 8.031 kB / 0.6739 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0102/0.823, allocations: 2.828 MB / 0.6766 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09425/0.9173, allocations: 9.679 MB / 0.6861 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02372/0.941, allocations: 7.97 MB / 0.6939 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001485/0.9426, allocations: 1.252 MB / 0.6951 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006621/0.9492, allocations: 1.656 MB / 0.6967 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6023/1.552, allocations: 36.89 MB / 0.7327 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009646/1.553, allocations: 122.5 kB / 0.7328 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006234/1.559, allocations: 0.7357 MB / 0.7336 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006048/1.565, allocations: 3.931 MB / 0.7374 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06224/1.627, allocations: 27.7 MB / 0.7644 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1535/1.781, allocations: 123.9 MB / 0.8854 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02542/1.806, allocations: 8.369 MB / 0.8936 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01396/1.82, allocations: 14.73 MB / 0.908 GB, free: 2.395 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/1.82, allocations: 72.44 kB / 0.908 GB, free: 2.316 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=277): time 5.83e-06/1.82, allocations: 0 / 0.908 GB, free: 2.316 MB / 0.5607 GB Notification: Performance of matching and sorting (n=338): time 0.6294/2.45, allocations: 57.03 MB / 0.9637 GB, free: 177.9 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/2.45, allocations: 208.7 kB / 0.9639 GB, free: 177.7 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01859/2.469, allocations: 10.77 MB / 0.9745 GB, free: 173.6 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.001129/2.47, allocations: 78.28 kB / 0.9745 GB, free: 173.6 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.009133/2.479, allocations: 10.96 MB / 0.9852 GB, free: 165.2 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.002324/2.481, allocations: 1.454 MB / 0.9867 GB, free: 164.2 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/2.483, allocations: 363.2 kB / 0.987 GB, free: 163.9 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 0.0009937/2.484, allocations: 1.082 MB / 0.9881 GB, free: 163.3 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009635/2.494, allocations: 6.439 MB / 0.9943 GB, free: 158.2 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01833/2.512, allocations: 18.71 MB / 1.013 GB, free: 134.3 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/2.528, allocations: 11 MB / 1.023 GB, free: 123.3 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005755/2.528, allocations: 128 kB / 1.023 GB, free: 123.2 MB / 0.5764 GB Notification: Performance of matching and sorting (n=2356) (initialization): time 0.04971/2.578, allocations: 24.79 MB / 1.048 GB, free: 98.33 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008134/2.579, allocations: 192 kB / 1.048 GB, free: 98.14 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009823/2.58, allocations: 440 kB / 1.048 GB, free: 97.71 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004068/2.584, allocations: 1.602 MB / 1.05 GB, free: 96.11 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01349/2.598, allocations: 4.347 MB / 1.054 GB, free: 91.75 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009336/2.607, allocations: 7.67 MB / 1.062 GB, free: 83.95 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01579/2.623, allocations: 1.049 MB / 1.063 GB, free: 82.9 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003571/2.626, allocations: 1.152 MB / 1.064 GB, free: 81.75 MB / 0.5764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2012 * Number of states: 0 () * Number of discrete variables: 44 (sensor_world2.arrow.arrowLine.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world1.arrow.arrowLine.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_frame_a2.arrow.arrowLine.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a1.arrow.arrowLine.twoHeadedArrow,sensor_frame_a1.arrow.headAtOrigin,sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.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],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[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 (2299): * Single equations (assignments): 2291 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01663/2.643, allocations: 7.841 MB / 1.071 GB, free: 73.89 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00242/2.645, allocations: 0.8367 MB / 1.072 GB, free: 73.04 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/2.66, allocations: 7.749 MB / 1.08 GB, free: 65.24 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-05/2.66, allocations: 40 kB / 1.08 GB, free: 65.2 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.45e-05/2.66, allocations: 4 kB / 1.08 GB, free: 65.2 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.332e-05/2.66, allocations: 15.94 kB / 1.08 GB, free: 65.18 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04837/2.708, allocations: 23.47 MB / 1.103 GB, free: 41.54 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/2.709, allocations: 4.5 kB / 1.103 GB, free: 41.54 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002938/2.711, allocations: 0.628 MB / 1.103 GB, free: 40.91 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/2.714, allocations: 0.941 MB / 1.104 GB, free: 39.96 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005875/2.714, allocations: 65.62 kB / 1.104 GB, free: 39.9 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006394/2.721, allocations: 5.965 MB / 1.11 GB, free: 33.8 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/2.721, allocations: 4 kB / 1.11 GB, free: 33.8 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/2.739, allocations: 13.89 MB / 1.124 GB, free: 19.57 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002655/2.741, allocations: 0.783 MB / 1.125 GB, free: 18.75 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002333/2.744, allocations: 66.61 kB / 1.125 GB, free: 18.69 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004987/2.749, allocations: 395.5 kB / 1.125 GB, free: 18.3 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008586/2.75, allocations: 193.7 kB / 1.125 GB, free: 18.11 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005976/2.75, allocations: 100.8 kB / 1.125 GB, free: 18.02 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01432/2.764, allocations: 6.626 MB / 1.132 GB, free: 11.41 MB / 0.5764 GB Notification: Performance of sort global known variables: time 7.82e-07/2.765, allocations: 0 / 1.132 GB, free: 11.41 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01904/2.784, allocations: 3.009 MB / 1.135 GB, free: 8.418 MB / 0.5764 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (rev.phi,rev.w,rev1.phi,rev1.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 (294): * Single equations (assignments): 286 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3176/3.101, allocations: 15.23 MB / 1.15 GB, free: 158.2 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.02608/3.127, allocations: 14.61 MB / 1.164 GB, free: 153 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/3.127, allocations: 4.188 kB / 1.164 GB, free: 153 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.004666/3.132, allocations: 3.621 MB / 1.167 GB, free: 151.5 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006971/3.139, allocations: 1.419 MB / 1.169 GB, free: 151 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5392/3.678, allocations: 421.9 MB / 1.581 GB, free: 15.74 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02352/3.702, allocations: 10.75 MB / 1.591 GB, free: 9.609 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.01557/3.717, allocations: 5.495 MB / 1.597 GB, free: 4.266 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2988/4.016, allocations: 6.819 MB / 1.603 GB, free: 204.8 MB / 0.6233 GB Notification: Performance of SimCode: time 1.292e-06/4.016, allocations: 0 / 1.603 GB, free: 204.8 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2891/4.305, allocations: 205.4 MB / 1.804 GB, free: 35.25 MB / 0.6233 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/4.306, allocations: 208.6 kB / 1.804 GB, free: 35.01 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/12.53, allocations: 0 / 1.804 GB, free: 35.01 MB / 0.6233 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