Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001635/0.001635, allocations: 117.3 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001788, allocations: 83.86 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3746, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01167/0.3864, allocations: 10.1 MB / 0.5404 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00713/0.3935, allocations: 3.076 MB / 0.5434 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.3957, allocations: 56.28 kB / 0.5434 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005291/0.401, allocations: 2.61 MB / 0.546 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.4049, allocations: 1.199 MB / 0.5472 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.4062, allocations: 353.9 kB / 0.5475 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004536/0.4108, allocations: 2.547 MB / 0.55 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00399/0.4148, allocations: 2.987 MB / 0.5529 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.4169, allocations: 1.059 MB / 0.5539 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.419, allocations: 1.367 MB / 0.5553 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000729/0.4198, allocations: 252 kB / 0.5555 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.4216, allocations: 0.7607 MB / 0.5562 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.4232, allocations: 1.34 MB / 0.5576 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.4255, allocations: 1.557 MB / 0.5591 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006822/0.4324, allocations: 5.125 MB / 0.5641 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.4325, allocations: 0 / 0.5641 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4325, allocations: 0 / 0.5641 GB, free: 15.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002201/0.4327, allocations: 0 / 0.5641 GB, free: 15.26 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.008617/0.4413, allocations: 3.357 MB / 0.5674 GB, free: 11.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.4414, allocations: 12.03 kB / 0.5674 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001674/0.4431, allocations: 0.5459 MB / 0.5679 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005907/0.449, allocations: 1.625 MB / 0.5695 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.4532, allocations: 1.501 MB / 0.571 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.4534, allocations: 184.7 kB / 0.5711 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.4545, allocations: 231.9 kB / 0.5714 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.4698, allocations: 7.117 MB / 0.5783 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.47, allocations: 11.88 kB / 0.5783 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008626/0.4708, allocations: 103.9 kB / 0.5784 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00253/0.4734, allocations: 1.451 MB / 0.5798 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.4871, allocations: 5.952 MB / 0.5856 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0366/0.5238, allocations: 22.33 MB / 0.6075 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005261/0.5291, allocations: 2.203 MB / 0.6096 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.5304, allocations: 0.7659 MB / 0.6104 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008466/0.5389, allocations: 3.865 MB / 0.6141 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.539, allocations: 35.12 kB / 0.6142 GB, free: 10.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 4.288e-06/0.539, allocations: 0 / 0.6142 GB, free: 10.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006981/0.546, allocations: 2.26 MB / 0.6164 GB, free: 8.387 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.5461, allocations: 63.97 kB / 0.6164 GB, free: 8.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/0.5497, allocations: 2.056 MB / 0.6184 GB, free: 6.258 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.5499, allocations: 37.7 kB / 0.6185 GB, free: 6.215 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.5515, allocations: 2.11 MB / 0.6205 GB, free: 4.082 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004803/0.552, allocations: 365.2 kB / 0.6209 GB, free: 3.723 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/0.5533, allocations: 0.6473 MB / 0.6215 GB, free: 3.066 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.5535, allocations: 365.9 kB / 0.6219 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.555, allocations: 0.9391 MB / 0.6228 GB, free: 1.762 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/0.5579, allocations: 2.864 MB / 0.6256 GB, free: 13.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004603/0.5625, allocations: 4.155 MB / 0.6296 GB, free: 8.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.019e-05/0.5626, allocations: 16 kB / 0.6296 GB, free: 8.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006939/0.5696, allocations: 3.718 MB / 0.6333 GB, free: 5.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.453e-05/0.5697, allocations: 36 kB / 0.6333 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/0.5698, allocations: 72.12 kB / 0.6334 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.57, allocations: 88 kB / 0.6335 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.5723, allocations: 0.6862 MB / 0.6341 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001447/0.5724, allocations: 135.4 kB / 0.6343 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.5749, allocations: 448.6 kB / 0.6347 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006098/0.5755, allocations: 196 kB / 0.6349 GB, free: 3.438 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (382): * Single equations (assignments): 377 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003123/0.5786, allocations: 1.503 MB / 0.6363 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004105/0.5791, allocations: 182.8 kB / 0.6365 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/0.5797, allocations: 222.2 kB / 0.6367 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-05/0.5797, allocations: 8 kB / 0.6367 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.5797, allocations: 4 kB / 0.6367 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.5797, allocations: 3.984 kB / 0.6368 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.5905, allocations: 4.944 MB / 0.6416 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/0.5905, allocations: 4 kB / 0.6416 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.5911, allocations: 123.7 kB / 0.6417 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.917e-05/0.5911, allocations: 12 kB / 0.6417 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/0.5912, allocations: 16 kB / 0.6417 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.705e-05/0.5912, allocations: 15.98 kB / 0.6417 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.5912, allocations: 15.88 kB / 0.6418 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.5932, allocations: 1.418 MB / 0.6431 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007842/0.594, allocations: 295.5 kB / 0.6434 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/0.5945, allocations: 20 kB / 0.6434 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008677/0.5953, allocations: 39.92 kB / 0.6435 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.5955, allocations: 71.69 kB / 0.6436 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.226e-05/0.5956, allocations: 35.98 kB / 0.6436 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00306/0.5987, allocations: 1.448 MB / 0.645 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/0.5987, allocations: 4 kB / 0.645 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003843/0.6025, allocations: 0.7785 MB / 0.6458 GB, free: 7.953 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002915/0.6055, allocations: 2.024 MB / 0.6477 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004169/0.6097, allocations: 2.169 MB / 0.6499 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/0.6097, allocations: 448 / 0.6499 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/0.6105, allocations: 0.5016 MB / 0.6503 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.6127, allocations: 283.8 kB / 0.6506 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04245/0.6552, allocations: 23.21 MB / 0.6733 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004479/0.6597, allocations: 2.514 MB / 0.6757 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002726/0.6625, allocations: 1.024 MB / 0.6767 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/0.6647, allocations: 1.206 MB / 0.6779 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.6647, allocations: 4 kB / 0.6779 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07309/0.7378, allocations: 36.74 MB / 0.7138 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.57, allocations: 9.094 kB / 0.7138 GB, free: 15.6 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches