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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 95.94 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 183.2 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2184/0.2184, allocations: 44.23 MB / 337.1 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 11.98 kB / 409.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 61.91 MB / 471.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.3239/0.4518, allocations: 54.56 MB / 0.5138 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03206/0.4839, allocations: 14.56 MB / 0.528 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0132/0.4971, allocations: 306.2 kB / 0.5283 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.509, allocations: 2.976 MB / 0.5312 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02646/0.5355, allocations: 7.136 MB / 0.5381 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007157/0.5427, allocations: 1.629 MB / 0.5397 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03997/0.5827, allocations: 27.01 MB / 0.5661 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06805/0.6507, allocations: 36.2 MB / 0.6015 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007454/0.6583, allocations: 2.605 MB / 0.604 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007255/0.6656, allocations: 3.395 MB / 0.6073 GB, free: 8.453 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002273/0.6679, allocations: 0.4961 MB / 0.6078 GB, free: 7.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004787/0.6727, allocations: 1.588 MB / 0.6094 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007448/0.6802, allocations: 5.483 MB / 0.6147 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005137/0.6853, allocations: 3.134 MB / 0.6178 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02974/0.7151, allocations: 26.91 MB / 0.6441 GB, free: 2.746 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7152, allocations: 0 / 0.6441 GB, free: 2.746 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7152, allocations: 4 kB / 0.6441 GB, free: 2.742 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001129/0.7163, allocations: 0 / 0.6441 GB, free: 2.742 MB / 478.1 MB 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.0325/0.7488, allocations: 13.03 MB / 0.6568 GB, free: 5.602 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.7489, allocations: 8.031 kB / 0.6568 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01092/0.7598, allocations: 2.758 MB / 0.6595 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08715/0.847, allocations: 9.636 MB / 0.6689 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02319/0.8703, allocations: 7.735 MB / 0.6764 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001344/0.8716, allocations: 1.228 MB / 0.6776 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006371/0.878, allocations: 1.621 MB / 0.6792 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5743/1.452, allocations: 37.81 MB / 0.7162 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001326/1.454, allocations: 116.6 kB / 0.7163 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006532/1.46, allocations: 0.7238 MB / 0.717 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00703/1.467, allocations: 3.717 MB / 0.7206 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06682/1.534, allocations: 28.58 MB / 0.7485 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1462/1.68, allocations: 120.2 MB / 0.8659 GB, free: 24.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03337/1.714, allocations: 12.51 MB / 0.8781 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/1.725, allocations: 15.24 MB / 0.893 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/1.725, allocations: 64.44 kB / 0.8931 GB, free: 9.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=238): time 7.204e-06/1.725, allocations: 0 / 0.8931 GB, free: 9.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=273): time 0.6949/2.42, allocations: 76.82 MB / 0.9681 GB, free: 169.9 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/2.42, allocations: 209.3 kB / 0.9683 GB, free: 169.6 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01288/2.433, allocations: 10.52 MB / 0.9786 GB, free: 159.1 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.000607/2.434, allocations: 71.5 kB / 0.9786 GB, free: 159 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.005697/2.439, allocations: 10.77 MB / 0.9891 GB, free: 148.3 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/2.441, allocations: 1.224 MB / 0.9903 GB, free: 147 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/2.442, allocations: 349.2 kB / 0.9907 GB, free: 146.7 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0008126/2.443, allocations: 1.053 MB / 0.9917 GB, free: 145.6 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008081/2.451, allocations: 5.871 MB / 0.9974 GB, free: 139.8 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01498/2.466, allocations: 17.95 MB / 1.015 GB, free: 115.7 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/2.48, allocations: 10.29 MB / 1.025 GB, free: 105.5 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003371/2.48, allocations: 124 kB / 1.025 GB, free: 105.3 MB / 0.5608 GB Notification: Performance of matching and sorting (n=2264) (initialization): time 0.03509/2.515, allocations: 22.71 MB / 1.047 GB, free: 82.63 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006961/2.516, allocations: 192 kB / 1.047 GB, free: 82.45 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007071/2.516, allocations: 432 kB / 1.048 GB, free: 82.02 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/2.518, allocations: 0.8796 MB / 1.049 GB, free: 81.14 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/2.53, allocations: 4.218 MB / 1.053 GB, free: 76.91 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/2.533, allocations: 3.975 MB / 1.057 GB, free: 72.8 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.545, allocations: 1.027 MB / 1.058 GB, free: 71.78 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002557/2.547, allocations: 1.118 MB / 1.059 GB, free: 70.65 MB / 0.5608 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1987 * Number of states: 0 () * Number of discrete variables: 41 (sensor_world2.arrow.arrowLine.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_frame_a2.arrow.arrowLine.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_world1.arrow.arrowLine.twoHeadedArrow,sensor_world1.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_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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2218): * Single equations (assignments): 2210 * 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.01216/2.56, allocations: 7.666 MB / 1.066 GB, free: 62.97 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/2.561, allocations: 0.7943 MB / 1.067 GB, free: 62.16 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007219/2.568, allocations: 5.747 MB / 1.073 GB, free: 56.41 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.165e-05/2.568, allocations: 32 kB / 1.073 GB, free: 56.38 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/2.568, allocations: 7.953 kB / 1.073 GB, free: 56.37 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/2.568, allocations: 11.95 kB / 1.073 GB, free: 56.36 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03743/2.605, allocations: 20.33 MB / 1.093 GB, free: 35.89 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/2.605, allocations: 7.938 kB / 1.093 GB, free: 35.89 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/2.608, allocations: 0.5354 MB / 1.093 GB, free: 35.35 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005907/2.608, allocations: 244.5 kB / 1.093 GB, free: 35.11 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/2.608, allocations: 53.47 kB / 1.093 GB, free: 35.06 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/2.611, allocations: 2.57 MB / 1.096 GB, free: 32.35 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/2.611, allocations: 7.938 kB / 1.096 GB, free: 32.34 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/2.621, allocations: 10.53 MB / 1.106 GB, free: 21.52 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/2.623, allocations: 0.7444 MB / 1.107 GB, free: 20.75 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001597/2.625, allocations: 48.66 kB / 1.107 GB, free: 20.7 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003647/2.629, allocations: 356.8 kB / 1.107 GB, free: 20.36 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/2.629, allocations: 158.4 kB / 1.108 GB, free: 20.2 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/2.629, allocations: 90.3 kB / 1.108 GB, free: 20.11 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.0105/2.64, allocations: 6.468 MB / 1.114 GB, free: 13.66 MB / 0.5608 GB Notification: Performance of sort global known variables: time 3.31e-07/2.64, allocations: 0 / 1.114 GB, free: 13.66 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.01411/2.654, allocations: 2.804 MB / 1.117 GB, free: 10.87 MB / 0.5608 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 () * Number of clocked 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.31/2.964, allocations: 11.78 MB / 1.128 GB, free: 155.6 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.02341/2.987, allocations: 13 MB / 1.141 GB, free: 151.8 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 2.13e-05/2.987, allocations: 2.5 kB / 1.141 GB, free: 151.8 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.004323/2.992, allocations: 2.75 MB / 1.144 GB, free: 150.8 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006337/2.998, allocations: 1.364 MB / 1.145 GB, free: 150.3 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5604/3.558, allocations: 409.9 MB / 1.545 GB, free: 17.3 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02078/3.579, allocations: 10.44 MB / 1.555 GB, free: 10.37 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.01531/3.595, allocations: 5.19 MB / 1.56 GB, free: 5.387 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.277/3.872, allocations: 6.557 MB / 1.567 GB, free: 200.1 MB / 0.6077 GB Notification: Performance of SimCode: time 1.343e-06/3.872, allocations: 8.266 kB / 1.567 GB, free: 200.1 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2622/4.134, allocations: 197.1 MB / 1.759 GB, free: 35.94 MB / 0.6077 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/4.134, allocations: 215.5 kB / 1.76 GB, free: 35.7 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/12.09, allocations: 0 / 1.76 GB, free: 35.7 MB / 0.6077 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