Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.001516/0.001516, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001778/0.001778, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.03 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.2475/0.2475, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 59.91 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.327, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01112/0.3382, allocations: 10.51 MB / 0.5287 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007377/0.3456, allocations: 3.105 MB / 0.5317 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.348, allocations: 55.19 kB / 0.5318 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005372/0.3534, allocations: 2.62 MB / 0.5343 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.3572, allocations: 1.25 MB / 0.5356 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.3582, allocations: 349.8 kB / 0.5359 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003978/0.3622, allocations: 2.595 MB / 0.5384 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00427/0.3665, allocations: 3.032 MB / 0.5414 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/0.3688, allocations: 1.089 MB / 0.5424 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002163/0.3709, allocations: 1.415 MB / 0.5438 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007143/0.3717, allocations: 260 kB / 0.5441 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.3733, allocations: 0.7607 MB / 0.5448 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.3748, allocations: 1.407 MB / 0.5462 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.3769, allocations: 1.631 MB / 0.5478 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005941/0.3828, allocations: 5.369 MB / 0.553 GB, free: 8.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3829, allocations: 3.984 kB / 0.553 GB, free: 8.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3829, allocations: 3.938 kB / 0.553 GB, free: 8.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001258/0.383, allocations: 0 / 0.553 GB, free: 8.531 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.006684/0.3897, allocations: 3.494 MB / 0.5564 GB, free: 4.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3898, allocations: 8.031 kB / 0.5565 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009955/0.3908, allocations: 0.5746 MB / 0.557 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/0.3962, allocations: 1.672 MB / 0.5586 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003481/0.3997, allocations: 1.555 MB / 0.5602 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.3999, allocations: 188.8 kB / 0.5603 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006202/0.4006, allocations: 239.9 kB / 0.5606 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.4133, allocations: 7.482 MB / 0.5679 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-05/0.4134, allocations: 19.8 kB / 0.5679 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004618/0.4139, allocations: 115.9 kB / 0.568 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002455/0.4164, allocations: 1.564 MB / 0.5695 GB, free: 7.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/0.4292, allocations: 6.261 MB / 0.5757 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03503/0.4643, allocations: 23.19 MB / 0.5983 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004866/0.4692, allocations: 2.197 MB / 0.6004 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.4704, allocations: 0.7738 MB / 0.6012 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00786/0.4783, allocations: 3.896 MB / 0.605 GB, free: 1.953 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.4783, allocations: 39.12 kB / 0.605 GB, free: 1.906 MB / 462.1 MB Notification: Performance of pre-optimization done (n=87): time 4.358e-06/0.4784, allocations: 0 / 0.605 GB, free: 1.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=87): time 0.006858/0.4852, allocations: 2.26 MB / 0.6073 GB, free: 15.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.4853, allocations: 55.97 kB / 0.6073 GB, free: 15.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/0.4887, allocations: 2.109 MB / 0.6094 GB, free: 13.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.4889, allocations: 37.61 kB / 0.6094 GB, free: 13.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.4904, allocations: 2.207 MB / 0.6116 GB, free: 11.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000454/0.4909, allocations: 361.3 kB / 0.6119 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/0.492, allocations: 0.6709 MB / 0.6126 GB, free: 10.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4922, allocations: 301.1 kB / 0.6128 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.4936, allocations: 0.947 MB / 0.6138 GB, free: 8.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002955/0.4966, allocations: 2.913 MB / 0.6166 GB, free: 4.969 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004929/0.5015, allocations: 4.218 MB / 0.6207 GB, free: 15.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.018e-05/0.5016, allocations: 20 kB / 0.6208 GB, free: 15.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006534/0.5082, allocations: 3.757 MB / 0.6244 GB, free: 11.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/0.5083, allocations: 36 kB / 0.6245 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/0.5084, allocations: 72.83 kB / 0.6245 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.5085, allocations: 92 kB / 0.6246 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.5107, allocations: 0.694 MB / 0.6253 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001265/0.5108, allocations: 143.4 kB / 0.6254 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/0.513, allocations: 460.5 kB / 0.6259 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003574/0.5134, allocations: 200 kB / 0.6261 GB, free: 10.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.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 (388): * Single equations (assignments): 383 * 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.002374/0.5158, allocations: 1.558 MB / 0.6276 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.5161, allocations: 182.7 kB / 0.6278 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.5165, allocations: 218.7 kB / 0.628 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.5165, allocations: 16 kB / 0.628 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5165, allocations: 0 / 0.628 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.5165, allocations: 3.984 kB / 0.628 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008784/0.5253, allocations: 5.08 MB / 0.6329 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.889e-05/0.5254, allocations: 8 kB / 0.6329 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005152/0.5259, allocations: 115.8 kB / 0.6331 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/0.5259, allocations: 20 kB / 0.6331 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.526, allocations: 23.98 kB / 0.6331 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.556e-05/0.526, allocations: 15.94 kB / 0.6331 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.526, allocations: 11.94 kB / 0.6331 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.5277, allocations: 1.408 MB / 0.6345 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006149/0.5283, allocations: 299.4 kB / 0.6348 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/0.5287, allocations: 27.92 kB / 0.6348 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/0.5294, allocations: 39.88 kB / 0.6349 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.5295, allocations: 59.77 kB / 0.6349 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/0.5296, allocations: 35.98 kB / 0.6349 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00257/0.5322, allocations: 1.484 MB / 0.6364 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5322, allocations: 0 / 0.6364 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003188/0.5354, allocations: 0.8213 MB / 0.6372 GB, free: 14.54 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.002366/0.5378, allocations: 2.032 MB / 0.6392 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003569/0.5414, allocations: 2.191 MB / 0.6413 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.5414, allocations: 0.9375 kB / 0.6413 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006803/0.5421, allocations: 0.4999 MB / 0.6418 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.544, allocations: 313.7 kB / 0.6421 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03715/0.5812, allocations: 23.73 MB / 0.6653 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003847/0.5851, allocations: 2.599 MB / 0.6678 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002401/0.5875, allocations: 1.04 MB / 0.6688 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/0.5894, allocations: 1.261 MB / 0.6701 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/0.5895, allocations: 0 / 0.6701 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06552/0.655, allocations: 37.7 MB / 0.7069 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.13, allocations: 12.84 kB / 0.7069 GB, free: 4.504 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches