Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_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.001274/0.001274, allocations: 104.8 kB / 16.27 MB, free: 5.977 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.001339/0.001339, allocations: 188.1 kB / 17.19 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.1 MB / 223.1 MB, free: 12.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2087/0.2087, allocations: 43.52 MB / 314 MB, free: 0.5039 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 71.28 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1153, allocations: 57.78 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01184/0.1272, allocations: 12.61 MB / 453.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007629/0.1348, allocations: 3.349 MB / 456.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.137, allocations: 63.94 kB / 456.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004776/0.1418, allocations: 2.652 MB / 459.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.1452, allocations: 1.366 MB / 460.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008933/0.1461, allocations: 347.3 kB / 461 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003856/0.15, allocations: 2.867 MB / 463.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003581/0.1536, allocations: 3.172 MB / 467 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.1553, allocations: 1.199 MB / 468.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.1571, allocations: 1.632 MB / 469.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005107/0.1576, allocations: 296 kB / 470.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.159, allocations: 0.7764 MB / 470.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001395/0.1604, allocations: 1.555 MB / 472.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.1622, allocations: 1.829 MB / 474.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005678/0.1679, allocations: 5.787 MB / 480.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.168, allocations: 4 kB / 480.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.168, allocations: 3.984 kB / 480.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001323/0.1681, allocations: 0 / 480.1 MB, free: 15.13 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.006215/0.1743, allocations: 3.74 MB / 483.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1744, allocations: 15.89 kB / 483.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007298/0.1751, allocations: 0.6292 MB / 484.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005673/0.1808, allocations: 1.723 MB / 486.2 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.1841, allocations: 1.644 MB / 487.9 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.1843, allocations: 201.2 kB / 488.1 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004502/0.1847, allocations: 267.9 kB / 488.3 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/0.1971, allocations: 8.37 MB / 496.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-05/0.1972, allocations: 11.88 kB / 496.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003002/0.1975, allocations: 127.9 kB / 496.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002544/0.2001, allocations: 1.764 MB / 498.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/0.213, allocations: 7.036 MB / 0.4938 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03735/0.2504, allocations: 25.91 MB / 0.5191 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005338/0.2557, allocations: 2.549 MB / 0.5216 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.2571, allocations: 0.9695 MB / 0.5225 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00737/0.2645, allocations: 4.455 MB / 0.5269 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.2646, allocations: 47.5 kB / 0.5269 GB, free: 2.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 5.28e-06/0.2646, allocations: 0 / 0.5269 GB, free: 2.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.2199/0.4845, allocations: 2.721 MB / 0.5296 GB, free: 88.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.4846, allocations: 62.34 kB / 0.5296 GB, free: 88.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/0.488, allocations: 2.256 MB / 0.5318 GB, free: 88.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.4882, allocations: 41.16 kB / 0.5319 GB, free: 88.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.4896, allocations: 2.317 MB / 0.5341 GB, free: 86.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005545/0.4902, allocations: 463.4 kB / 0.5346 GB, free: 86.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009868/0.4912, allocations: 0.7483 MB / 0.5353 GB, free: 86.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.4913, allocations: 306.9 kB / 0.5356 GB, free: 86.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.4929, allocations: 1.12 MB / 0.5367 GB, free: 86.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002653/0.4956, allocations: 3.29 MB / 0.5399 GB, free: 82.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005644/0.5012, allocations: 4.817 MB / 0.5446 GB, free: 78.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-05/0.5014, allocations: 21.66 kB / 0.5446 GB, free: 78.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008195/0.5096, allocations: 4.324 MB / 0.5488 GB, free: 77.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.5097, allocations: 39.31 kB / 0.5489 GB, free: 77.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.058e-05/0.5097, allocations: 74.53 kB / 0.549 GB, free: 77.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.34e-05/0.5098, allocations: 102.2 kB / 0.549 GB, free: 77.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.512, allocations: 0.8154 MB / 0.5498 GB, free: 77.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.703e-05/0.5121, allocations: 151.8 kB / 0.55 GB, free: 77.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.5146, allocations: 0.4948 MB / 0.5505 GB, free: 76.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.5149, allocations: 225.4 kB / 0.5507 GB, free: 76.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.002349/0.5173, allocations: 1.71 MB / 0.5524 GB, free: 75.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.5175, allocations: 198.1 kB / 0.5525 GB, free: 75.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.5195, allocations: 1.517 MB / 0.554 GB, free: 75.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.5196, allocations: 13.81 kB / 0.554 GB, free: 75.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5196, allocations: 0 / 0.554 GB, free: 75.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.5196, allocations: 3.844 kB / 0.554 GB, free: 75.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008934/0.5285, allocations: 7.379 MB / 0.5613 GB, free: 70.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.5286, allocations: 12 kB / 0.5613 GB, free: 70.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006636/0.5293, allocations: 188.9 kB / 0.5614 GB, free: 70.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.54e-05/0.5293, allocations: 23.94 kB / 0.5615 GB, free: 70.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.5294, allocations: 43.42 kB / 0.5615 GB, free: 70.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.622e-05/0.5294, allocations: 32.42 kB / 0.5615 GB, free: 70.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.5294, allocations: 23.94 kB / 0.5616 GB, free: 70.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.5312, allocations: 2.005 MB / 0.5635 GB, free: 68.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.5317, allocations: 318 kB / 0.5638 GB, free: 67.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.5319, allocations: 39.98 kB / 0.5639 GB, free: 67.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.5327, allocations: 47.88 kB / 0.5639 GB, free: 67.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.5328, allocations: 114.2 kB / 0.564 GB, free: 67.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.5329, allocations: 57.48 kB / 0.5641 GB, free: 67.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00169/0.5346, allocations: 1.574 MB / 0.5656 GB, free: 65.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5346, allocations: 0 / 0.5656 GB, free: 65.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00279/0.5374, allocations: 0.9204 MB / 0.5665 GB, free: 65.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.002067/0.5395, allocations: 2.63 MB / 0.5691 GB, free: 62.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003652/0.5431, allocations: 2.896 MB / 0.5719 GB, free: 59.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.5432, allocations: 12.06 kB / 0.5719 GB, free: 59.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.5439, allocations: 0.6986 MB / 0.5726 GB, free: 58.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.5455, allocations: 325 kB / 0.5729 GB, free: 58.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0328/0.5784, allocations: 29.36 MB / 0.6016 GB, free: 24.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/0.5809, allocations: 2.833 MB / 0.6043 GB, free: 21.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002496/0.5834, allocations: 1.166 MB / 0.6055 GB, free: 20.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/0.585, allocations: 1.436 MB / 0.6069 GB, free: 19.36 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.585, allocations: 0 / 0.6069 GB, free: 19.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07053/0.6555, allocations: 41.63 MB / 0.6475 GB, free: 9.727 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.98/9.636, allocations: 11.38 kB / 0.6475 GB, free: 9.719 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches