Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",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.0008047/0.0008047, allocations: 98.47 kB / 17 MB, free: 6.402 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.0008412/0.0008413, allocations: 177.7 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.353/1.353, allocations: 223.2 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 44.23 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 12 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.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03087/0.1518, allocations: 34.1 MB / 0.4939 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01699/0.1689, allocations: 7.215 MB / 0.5009 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006519/0.1754, allocations: 155.6 kB / 0.5011 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005208/0.1807, allocations: 1.497 MB / 0.5025 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2639/0.4446, allocations: 4.39 MB / 0.5068 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.4462, allocations: 252.2 kB / 0.5071 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004347/0.4505, allocations: 2.624 MB / 0.5096 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004735/0.4553, allocations: 2.964 MB / 0.5125 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.4567, allocations: 0.6924 MB / 0.5132 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.4583, allocations: 1.026 MB / 0.5142 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002675/0.4586, allocations: 88.44 kB / 0.5143 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.4597, allocations: 0.5278 MB / 0.5148 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.4609, allocations: 0.9911 MB / 0.5158 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005063/0.4614, allocations: 0.5245 MB / 0.5163 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.4648, allocations: 3.425 MB / 0.5196 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4648, allocations: 1.125 kB / 0.5196 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4648, allocations: 0 / 0.5196 GB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001065/0.465, allocations: 0 / 0.5196 GB, free: 10.69 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.00476/0.4697, allocations: 2.451 MB / 0.522 GB, free: 9.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.4698, allocations: 8.25 kB / 0.522 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008735/0.4707, allocations: 497.6 kB / 0.5225 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004789/0.4755, allocations: 1.631 MB / 0.5241 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/0.4783, allocations: 1.322 MB / 0.5254 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.4784, allocations: 146.3 kB / 0.5255 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000409/0.4788, allocations: 192.7 kB / 0.5257 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.49, allocations: 6.422 MB / 0.532 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.153e-05/0.4901, allocations: 15.84 kB / 0.532 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.4903, allocations: 87.8 kB / 0.5321 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001955/0.4923, allocations: 1.404 MB / 0.5335 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009995/0.5023, allocations: 5.462 MB / 0.5388 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0298/0.5321, allocations: 20.56 MB / 0.5589 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004199/0.5364, allocations: 2.075 MB / 0.5609 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009882/0.5374, allocations: 0.6938 MB / 0.5616 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005827/0.5432, allocations: 3.511 MB / 0.565 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.5433, allocations: 39 kB / 0.565 GB, free: 14.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.967e-06/0.5433, allocations: 0 / 0.565 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.004989/0.5483, allocations: 1.97 MB / 0.567 GB, free: 12.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.5484, allocations: 57.7 kB / 0.567 GB, free: 12.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/0.5519, allocations: 1.956 MB / 0.5689 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.978e-05/0.552, allocations: 33.7 kB / 0.569 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.5535, allocations: 1.878 MB / 0.5708 GB, free: 8.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.5539, allocations: 316.9 kB / 0.5711 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.554, allocations: 56 kB / 0.5712 GB, free: 8.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00035/0.5544, allocations: 0.4934 MB / 0.5716 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.556, allocations: 0.8764 MB / 0.5725 GB, free: 7.023 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003036/0.5591, allocations: 2.765 MB / 0.5752 GB, free: 3.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.5616, allocations: 1.551 MB / 0.5767 GB, free: 1.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-05/0.5617, allocations: 20 kB / 0.5767 GB, free: 1.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006094/0.5678, allocations: 3.532 MB / 0.5802 GB, free: 14.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.5678, allocations: 35.94 kB / 0.5802 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/0.568, allocations: 68 kB / 0.5803 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001074/0.5681, allocations: 100.1 kB / 0.5804 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.57, allocations: 0.6589 MB / 0.581 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001231/0.5702, allocations: 131.5 kB / 0.5811 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.5724, allocations: 425 kB / 0.5815 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/0.5727, allocations: 188 kB / 0.5817 GB, free: 13.03 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.002743/0.5755, allocations: 1.377 MB / 0.5831 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.5758, allocations: 157.9 kB / 0.5832 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.5763, allocations: 193.2 kB / 0.5834 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.5764, allocations: 12 kB / 0.5834 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.5764, allocations: 0 / 0.5834 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5764, allocations: 0 / 0.5834 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009699/0.5861, allocations: 4.14 MB / 0.5875 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.5862, allocations: 9.641 kB / 0.5875 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.5867, allocations: 95.83 kB / 0.5876 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.971e-05/0.5867, allocations: 8 kB / 0.5876 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/0.5868, allocations: 23.98 kB / 0.5876 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.571e-05/0.5868, allocations: 11.94 kB / 0.5876 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.5868, allocations: 8 kB / 0.5876 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.589, allocations: 1.242 MB / 0.5888 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007996/0.5898, allocations: 266.6 kB / 0.5891 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000393/0.5902, allocations: 23.98 kB / 0.5891 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/0.5909, allocations: 23.98 kB / 0.5891 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.591, allocations: 51.84 kB / 0.5892 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.6e-05/0.5911, allocations: 31.98 kB / 0.5892 GB, free: 5.129 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003207/0.5943, allocations: 1.279 MB / 0.5904 GB, free: 3.859 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5943, allocations: 0 / 0.5904 GB, free: 3.859 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004248/0.5986, allocations: 0.7065 MB / 0.5911 GB, free: 3.156 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.00278/0.6014, allocations: 1.831 MB / 0.5929 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003793/0.6052, allocations: 2.029 MB / 0.5949 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6052, allocations: 0 / 0.5949 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000676/0.6059, allocations: 452 kB / 0.5953 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.6077, allocations: 240 kB / 0.5956 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/0.6408, allocations: 15.43 MB / 0.6106 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003836/0.6446, allocations: 2.319 MB / 0.6129 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002733/0.6474, allocations: 0.9615 MB / 0.6138 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002242/0.6497, allocations: 1.077 MB / 0.6149 GB, free: 9.188 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6497, allocations: 0 / 0.6149 GB, free: 9.188 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07216/0.7218, allocations: 36.62 MB / 0.6507 GB, free: 4.824 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.7221, allocations: 180.3 kB / 0.6508 GB, free: 4.586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/3.667, allocations: 3.938 kB / 0.6508 GB, free: 4.582 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat