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.001499/0.001505, allocations: 98.28 kB / 16.99 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.001776/0.001777, allocations: 178.1 kB / 17.88 MB, free: 5.957 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.36/1.36, allocations: 223.2 MB / 241.8 MB, free: 392 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.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 9.031 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 61.93 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02943/0.1698, allocations: 32.31 MB / 0.492 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0182/0.1881, allocations: 7.498 MB / 0.4994 GB, free: 5.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008103/0.1962, allocations: 155.7 kB / 0.4995 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006589/0.2029, allocations: 1.66 MB / 0.5011 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3026/0.5055, allocations: 4.702 MB / 0.5057 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.5079, allocations: 227.1 kB / 0.5059 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003471/0.5113, allocations: 1.268 MB / 0.5072 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005839/0.5172, allocations: 2.961 MB / 0.5101 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.5188, allocations: 0.5555 MB / 0.5106 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.5204, allocations: 0.693 MB / 0.5113 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005119/0.5209, allocations: 87.22 kB / 0.5114 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.5225, allocations: 0.5226 MB / 0.5119 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.5239, allocations: 0.9148 MB / 0.5128 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008452/0.5248, allocations: 0.5235 MB / 0.5133 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005939/0.5307, allocations: 3.421 MB / 0.5166 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5307, allocations: 0 / 0.5166 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5308, allocations: 1.438 kB / 0.5166 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001983/0.531, allocations: 0 / 0.5166 GB, free: 10.93 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.007743/0.5387, allocations: 2.499 MB / 0.5191 GB, free: 9.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.5388, allocations: 9.219 kB / 0.5191 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001574/0.5404, allocations: 493.3 kB / 0.5196 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006547/0.5469, allocations: 1.914 MB / 0.5214 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00428/0.5512, allocations: 1.323 MB / 0.5227 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.5514, allocations: 152 kB / 0.5229 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007703/0.5522, allocations: 191.8 kB / 0.523 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.5659, allocations: 6.465 MB / 0.5294 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-05/0.566, allocations: 7.938 kB / 0.5294 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.5663, allocations: 87.06 kB / 0.5294 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002108/0.5684, allocations: 1.407 MB / 0.5308 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/0.5801, allocations: 5.514 MB / 0.5362 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02896/0.609, allocations: 20.6 MB / 0.5563 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/0.6132, allocations: 2.084 MB / 0.5584 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006253/0.6195, allocations: 3.539 MB / 0.5618 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.6196, allocations: 37.81 kB / 0.5618 GB, free: 1.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 3.257e-06/0.6196, allocations: 0 / 0.5618 GB, free: 1.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=78): time 0.005204/0.6248, allocations: 2.238 MB / 0.564 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.6248, allocations: 57.7 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.6277, allocations: 1.948 MB / 0.566 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.912e-05/0.6278, allocations: 37.14 kB / 0.566 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.6289, allocations: 1.879 MB / 0.5679 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.6292, allocations: 316 kB / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.6293, allocations: 57.12 kB / 0.5682 GB, free: 11.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002814/0.6296, allocations: 499.9 kB / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.6309, allocations: 0.884 MB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.6333, allocations: 2.747 MB / 0.5722 GB, free: 7.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/0.6355, allocations: 1.555 MB / 0.5738 GB, free: 5.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.656e-05/0.6355, allocations: 20 kB / 0.5738 GB, free: 5.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005305/0.6408, allocations: 3.525 MB / 0.5772 GB, free: 2.832 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.6409, allocations: 36 kB / 0.5773 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.961e-05/0.641, allocations: 67.94 kB / 0.5773 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.6411, allocations: 104 kB / 0.5774 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.643, allocations: 0.664 MB / 0.5781 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001155/0.6431, allocations: 133.6 kB / 0.5782 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.6455, allocations: 424.9 kB / 0.5786 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.6457, allocations: 184 kB / 0.5788 GB, free: 1.328 MB / 414.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.002401/0.6481, allocations: 1.379 MB / 0.5801 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.6484, allocations: 154.1 kB / 0.5803 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.6488, allocations: 199.3 kB / 0.5805 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.6488, allocations: 12 kB / 0.5805 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.6489, allocations: 0 / 0.5805 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.6489, allocations: 3.984 kB / 0.5805 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006882/0.6558, allocations: 4.142 MB / 0.5845 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.6558, allocations: 12 kB / 0.5845 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.6562, allocations: 95.06 kB / 0.5846 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.6562, allocations: 8 kB / 0.5846 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.6562, allocations: 20 kB / 0.5846 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.6563, allocations: 15.55 kB / 0.5847 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.6563, allocations: 11.66 kB / 0.5847 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.658, allocations: 1.653 MB / 0.5863 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.6585, allocations: 258.6 kB / 0.5865 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.6587, allocations: 20 kB / 0.5866 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.6592, allocations: 27.11 kB / 0.5866 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.6593, allocations: 61.84 kB / 0.5866 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.6593, allocations: 28 kB / 0.5867 GB, free: 8.938 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001902/0.6612, allocations: 1.271 MB / 0.5879 GB, free: 7.676 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.6613, allocations: 0 / 0.5879 GB, free: 7.676 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002966/0.6642, allocations: 0.7033 MB / 0.5886 GB, free: 6.973 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.00258/0.6668, allocations: 3.763 MB / 0.5923 GB, free: 3.035 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00342/0.6703, allocations: 2.027 MB / 0.5942 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.6703, allocations: 0 / 0.5942 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005599/0.6709, allocations: 458.3 kB / 0.5947 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.6721, allocations: 227.6 kB / 0.5949 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03651/0.7086, allocations: 55.35 MB / 0.649 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002982/0.7117, allocations: 2.375 MB / 0.6513 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002577/0.7143, allocations: 0.9638 MB / 0.6522 GB, free: 4.086 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/0.7157, allocations: 1.073 MB / 0.6533 GB, free: 3.012 MB / 494.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7157, allocations: 0 / 0.6533 GB, free: 3.012 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06803/0.7837, allocations: 36.18 MB / 0.6886 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/0.7841, allocations: 177.7 kB / 0.6888 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.308, allocations: 0 / 0.6888 GB, free: 14.85 MB / 0.5294 GB (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