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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 204.3 kB / 20.74 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.549/1.549, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 44.9 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 76.17 kB / 499.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1267, allocations: 65.41 MB / 0.5517 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01261/0.1393, allocations: 10.16 MB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007049/0.1464, allocations: 3.095 MB / 0.5647 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.1479, allocations: 59.81 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005237/0.1532, allocations: 2.64 MB / 0.5673 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.1566, allocations: 1.21 MB / 0.5685 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1576, allocations: 343.4 kB / 0.5688 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004029/0.1616, allocations: 2.54 MB / 0.5713 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003428/0.1651, allocations: 2.48 MB / 0.5737 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1668, allocations: 1.071 MB / 0.5748 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.169, allocations: 1.484 MB / 0.5762 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005172/0.1695, allocations: 252 kB / 0.5765 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.1709, allocations: 0.7802 MB / 0.5772 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.1723, allocations: 1.363 MB / 0.5786 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.1739, allocations: 1.557 MB / 0.5801 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005888/0.1798, allocations: 5.124 MB / 0.5851 GB, free: 7.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1798, allocations: 0 / 0.5851 GB, free: 7.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1798, allocations: 3.938 kB / 0.5851 GB, free: 7.859 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001649/0.18, allocations: 4 kB / 0.5851 GB, free: 7.855 MB / 446.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.007386/0.1874, allocations: 3.345 MB / 0.5884 GB, free: 4.438 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.1874, allocations: 12.03 kB / 0.5884 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007543/0.1882, allocations: 0.5458 MB / 0.5889 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00549/0.1937, allocations: 1.625 MB / 0.5905 GB, free: 2.238 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003362/0.197, allocations: 1.512 MB / 0.592 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.1972, allocations: 184.6 kB / 0.5921 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000512/0.1977, allocations: 231.9 kB / 0.5924 GB, free: 272 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2892/0.4869, allocations: 7.1 MB / 0.5993 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/0.487, allocations: 13.06 kB / 0.5993 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/0.4873, allocations: 113.5 kB / 0.5994 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002601/0.4899, allocations: 1.446 MB / 0.6008 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.5035, allocations: 5.943 MB / 0.6066 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/0.5331, allocations: 22.35 MB / 0.6285 GB, free: 16.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004147/0.5372, allocations: 2.122 MB / 0.6305 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008674/0.5381, allocations: 0.7054 MB / 0.6312 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005817/0.5439, allocations: 3.86 MB / 0.635 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.5439, allocations: 39.12 kB / 0.635 GB, free: 10.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.256e-06/0.5439, allocations: 3.938 kB / 0.635 GB, free: 10.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005686/0.5496, allocations: 2.262 MB / 0.6372 GB, free: 7.805 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.5497, allocations: 59.97 kB / 0.6373 GB, free: 7.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/0.5527, allocations: 2.055 MB / 0.6393 GB, free: 5.723 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.789e-05/0.5527, allocations: 40.42 kB / 0.6393 GB, free: 5.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009887/0.5537, allocations: 2.115 MB / 0.6414 GB, free: 3.699 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.554, allocations: 365.2 kB / 0.6418 GB, free: 3.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008023/0.5548, allocations: 0.6551 MB / 0.6424 GB, free: 2.676 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5549, allocations: 365.9 kB / 0.6427 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.5561, allocations: 0.9313 MB / 0.6437 GB, free: 1.379 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/0.5589, allocations: 2.874 MB / 0.6465 GB, free: 13.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005443/0.5643, allocations: 4.146 MB / 0.6505 GB, free: 8.441 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.448e-05/0.5644, allocations: 24.62 kB / 0.6505 GB, free: 8.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007277/0.5717, allocations: 3.702 MB / 0.6541 GB, free: 4.711 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.235e-05/0.5718, allocations: 32 kB / 0.6542 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/0.5719, allocations: 75.98 kB / 0.6542 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.572, allocations: 88 kB / 0.6543 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.5742, allocations: 0.6862 MB / 0.655 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001394/0.5744, allocations: 143.5 kB / 0.6551 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.5766, allocations: 456.6 kB / 0.6556 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/0.577, allocations: 192 kB / 0.6558 GB, free: 3.059 MB / 462.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.002546/0.5795, allocations: 1.507 MB / 0.6572 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.5799, allocations: 170.8 kB / 0.6574 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005421/0.5804, allocations: 210.2 kB / 0.6576 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.753e-05/0.5805, allocations: 11.94 kB / 0.6576 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.5805, allocations: 0 / 0.6576 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.5805, allocations: 7.984 kB / 0.6576 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.5909, allocations: 4.943 MB / 0.6624 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.5909, allocations: 8 kB / 0.6624 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/0.5915, allocations: 119.8 kB / 0.6626 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/0.5915, allocations: 12 kB / 0.6626 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.5915, allocations: 27.97 kB / 0.6626 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.132e-05/0.5916, allocations: 15.94 kB / 0.6626 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.5916, allocations: 8.531 kB / 0.6626 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.5937, allocations: 1.419 MB / 0.664 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/0.5943, allocations: 291.5 kB / 0.6643 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000356/0.5947, allocations: 24 kB / 0.6643 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007303/0.5954, allocations: 39.86 kB / 0.6643 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.5956, allocations: 64.52 kB / 0.6644 GB, free: 9.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/0.5956, allocations: 35.98 kB / 0.6644 GB, free: 9.828 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002899/0.5985, allocations: 1.448 MB / 0.6659 GB, free: 8.359 MB / 478.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5985, allocations: 0 / 0.6659 GB, free: 8.359 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00372/0.6023, allocations: 0.7863 MB / 0.6666 GB, free: 7.57 MB / 478.1 MB 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.00295/0.6052, allocations: 2.021 MB / 0.6686 GB, free: 5.426 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003938/0.6091, allocations: 2.093 MB / 0.6706 GB, free: 3.359 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.6092, allocations: 0 / 0.6706 GB, free: 3.359 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000783/0.6099, allocations: 474.6 kB / 0.6711 GB, free: 2.895 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.6121, allocations: 286 kB / 0.6714 GB, free: 2.625 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04389/0.656, allocations: 23.21 MB / 0.694 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004109/0.6601, allocations: 2.518 MB / 0.6965 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002588/0.6627, allocations: 1.023 MB / 0.6975 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002163/0.6649, allocations: 1.21 MB / 0.6987 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of SimCode: time 1.783e-06/0.6649, allocations: 0 / 0.6987 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08304/0.7479, allocations: 36.99 MB / 0.7348 GB, free: 15.15 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.76, allocations: 11.8 kB / 0.7348 GB, free: 15.14 MB / 0.545 GB " [Timeout remaining time 646] (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.000219912 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable cutForceAndTorque.torque[3] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv. Warning: Get data of variable cutForceAndTorque.torque[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.004530424252152]