Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",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.001053/0.001053, allocations: 92.19 kB / 17 MB, free: 6.418 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.001331/0.001331, allocations: 189.3 kB / 17.89 MB, free: 5.945 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.433/1.433, allocations: 223.2 MB / 241.9 MB, free: 14.54 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.2231/0.2231, allocations: 44.23 MB / 337.2 MB, free: 2.566 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003202, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03103/0.152, allocations: 34.11 MB / 0.4939 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01561/0.1677, allocations: 7.2 MB / 0.5009 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00674/0.1745, allocations: 155.7 kB / 0.5011 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004978/0.1795, allocations: 1.501 MB / 0.5025 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2583/0.4378, allocations: 4.4 MB / 0.5068 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.4397, allocations: 249.9 kB / 0.5071 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005815/0.4455, allocations: 2.625 MB / 0.5096 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0063/0.4518, allocations: 2.967 MB / 0.5125 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.4536, allocations: 0.6875 MB / 0.5132 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.4558, allocations: 1.03 MB / 0.5142 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003344/0.4562, allocations: 89.5 kB / 0.5143 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.4575, allocations: 0.5335 MB / 0.5148 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.4589, allocations: 0.9828 MB / 0.5158 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006825/0.4596, allocations: 0.5246 MB / 0.5163 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004063/0.4637, allocations: 3.426 MB / 0.5196 GB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4637, allocations: 0 / 0.5196 GB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4637, allocations: 1.25 kB / 0.5196 GB, free: 10.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001004/0.4638, allocations: 0 / 0.5196 GB, free: 10.7 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004717/0.4685, allocations: 2.455 MB / 0.522 GB, free: 9.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4686, allocations: 9.094 kB / 0.522 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005907/0.4692, allocations: 497.5 kB / 0.5225 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004691/0.4739, allocations: 1.63 MB / 0.5241 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.4763, allocations: 1.318 MB / 0.5254 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.731e-05/0.4764, allocations: 147.8 kB / 0.5255 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/0.4767, allocations: 188.6 kB / 0.5257 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009167/0.4859, allocations: 6.42 MB / 0.532 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-05/0.486, allocations: 13.53 kB / 0.532 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.4862, allocations: 92.55 kB / 0.5321 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001926/0.4882, allocations: 1.412 MB / 0.5335 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009315/0.4975, allocations: 5.454 MB / 0.5388 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02651/0.524, allocations: 20.56 MB / 0.5589 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.528, allocations: 2.086 MB / 0.5609 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008788/0.5289, allocations: 0.6882 MB / 0.5616 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005475/0.5344, allocations: 3.505 MB / 0.565 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.5344, allocations: 44.34 kB / 0.565 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.015e-06/0.5345, allocations: 0 / 0.565 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005068/0.5395, allocations: 1.97 MB / 0.567 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.5396, allocations: 55.84 kB / 0.567 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.5423, allocations: 1.956 MB / 0.5689 GB, free: 10.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.5424, allocations: 33.7 kB / 0.569 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.5436, allocations: 1.877 MB / 0.5708 GB, free: 8.812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.5439, allocations: 318.7 kB / 0.5711 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.544, allocations: 57.75 kB / 0.5712 GB, free: 8.449 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002927/0.5443, allocations: 498.2 kB / 0.5716 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.5456, allocations: 0.8836 MB / 0.5725 GB, free: 7.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.5484, allocations: 2.77 MB / 0.5752 GB, free: 3.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.5503, allocations: 1.556 MB / 0.5767 GB, free: 1.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.601e-05/0.5504, allocations: 16 kB / 0.5767 GB, free: 1.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005311/0.5557, allocations: 3.526 MB / 0.5802 GB, free: 14.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.5558, allocations: 32 kB / 0.5802 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.99e-05/0.5559, allocations: 68.84 kB / 0.5803 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.556, allocations: 96 kB / 0.5804 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.5581, allocations: 0.6706 MB / 0.581 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001083/0.5582, allocations: 127.5 kB / 0.5811 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.5602, allocations: 421 kB / 0.5815 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.5605, allocations: 192 kB / 0.5817 GB, free: 13.05 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00278/0.5633, allocations: 1.377 MB / 0.5831 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.5636, allocations: 157.9 kB / 0.5832 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.564, allocations: 201.2 kB / 0.5834 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.5641, allocations: 8 kB / 0.5834 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.5641, allocations: 1.531 kB / 0.5834 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5641, allocations: 0 / 0.5834 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007886/0.572, allocations: 4.148 MB / 0.5875 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.5721, allocations: 4 kB / 0.5875 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/0.5725, allocations: 95.83 kB / 0.5876 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-05/0.5725, allocations: 15.98 kB / 0.5876 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/0.5726, allocations: 16 kB / 0.5876 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.509e-05/0.5726, allocations: 8 kB / 0.5876 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-05/0.5727, allocations: 11.94 kB / 0.5876 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.5745, allocations: 1.25 MB / 0.5888 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/0.5751, allocations: 258.6 kB / 0.5891 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.5753, allocations: 18.58 kB / 0.5891 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.5757, allocations: 23.98 kB / 0.5891 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.5758, allocations: 55.83 kB / 0.5892 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.06e-05/0.5759, allocations: 29.86 kB / 0.5892 GB, free: 5.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002109/0.578, allocations: 1.275 MB / 0.5905 GB, free: 3.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.578, allocations: 0 / 0.5905 GB, free: 3.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002944/0.581, allocations: 0.7085 MB / 0.5911 GB, free: 3.184 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * 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 (54): * Single equations (assignments): 51 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002105/0.5831, allocations: 1.831 MB / 0.5929 GB, free: 1.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003352/0.5864, allocations: 2.024 MB / 0.5949 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.5865, allocations: 5.75 kB / 0.5949 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005636/0.587, allocations: 461 kB / 0.5954 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.5884, allocations: 224.2 kB / 0.5956 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02469/0.6131, allocations: 15.43 MB / 0.6106 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/0.6154, allocations: 2.331 MB / 0.6129 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002229/0.6177, allocations: 0.9677 MB / 0.6139 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/0.6189, allocations: 1.066 MB / 0.6149 GB, free: 9.211 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.6189, allocations: 0 / 0.6149 GB, free: 9.211 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/0.7515, allocations: 36.63 MB / 0.6507 GB, free: 4.84 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.7518, allocations: 175.5 kB / 0.6508 GB, free: 4.605 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/3.76, allocations: 4 kB / 0.6508 GB, free: 4.602 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat does not exist to compare? outputFormat=mat