Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001629/0.001629, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001795/0.001795, allocations: 213.9 kB / 23.74 MB, free: 4.656 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 46.93 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.89 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3305, allocations: 66.04 MB / 0.5606 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01344/0.3439, allocations: 10.18 MB / 0.5706 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007373/0.3513, allocations: 3.107 MB / 0.5736 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.3534, allocations: 63.75 kB / 0.5737 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005577/0.359, allocations: 2.644 MB / 0.5763 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003635/0.3626, allocations: 1.222 MB / 0.5775 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3636, allocations: 343.4 kB / 0.5778 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004024/0.3676, allocations: 2.551 MB / 0.5803 GB, free: 296 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.3707, allocations: 2.257 MB / 0.5825 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.3725, allocations: 1.063 MB / 0.5835 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.3749, allocations: 1.488 MB / 0.585 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006752/0.3756, allocations: 252 kB / 0.5852 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.3773, allocations: 0.7841 MB / 0.586 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001492/0.3788, allocations: 1.367 MB / 0.5873 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.3807, allocations: 1.561 MB / 0.5888 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00667/0.3874, allocations: 5.124 MB / 0.5938 GB, free: 2.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3874, allocations: 0 / 0.5938 GB, free: 2.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3874, allocations: 0 / 0.5938 GB, free: 2.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001495/0.3876, allocations: 0 / 0.5938 GB, free: 2.316 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.00719/0.3948, allocations: 3.274 MB / 0.597 GB, free: 14.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3948, allocations: 12.03 kB / 0.597 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009538/0.3958, allocations: 0.5459 MB / 0.5976 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.4009, allocations: 1.629 MB / 0.5992 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/0.4048, allocations: 1.427 MB / 0.6006 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.4049, allocations: 188.7 kB / 0.6007 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006129/0.4056, allocations: 227.9 kB / 0.601 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.4197, allocations: 7.114 MB / 0.6079 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.78e-05/0.4198, allocations: 15.88 kB / 0.6079 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003708/0.4201, allocations: 107.9 kB / 0.608 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002461/0.4226, allocations: 1.451 MB / 0.6094 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.4352, allocations: 5.944 MB / 0.6152 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03784/0.4731, allocations: 22.25 MB / 0.637 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004671/0.4778, allocations: 1.672 MB / 0.6386 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.4789, allocations: 0.7034 MB / 0.6393 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007354/0.4862, allocations: 3.408 MB / 0.6426 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.4863, allocations: 35.22 kB / 0.6427 GB, free: 15.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 4.268e-06/0.4863, allocations: 0 / 0.6427 GB, free: 15.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006405/0.4927, allocations: 2.257 MB / 0.6449 GB, free: 12.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.4927, allocations: 60.06 kB / 0.6449 GB, free: 12.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.4959, allocations: 2.056 MB / 0.6469 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.503e-05/0.496, allocations: 37.7 kB / 0.647 GB, free: 10.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.4977, allocations: 2.11 MB / 0.649 GB, free: 8.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/0.4981, allocations: 357.3 kB / 0.6494 GB, free: 8.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008951/0.499, allocations: 0.6512 MB / 0.65 GB, free: 7.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.4992, allocations: 369.8 kB / 0.6504 GB, free: 7.301 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.5007, allocations: 0.9391 MB / 0.6513 GB, free: 6.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003455/0.5042, allocations: 2.864 MB / 0.6541 GB, free: 2.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005171/0.5094, allocations: 4.162 MB / 0.6581 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.495e-05/0.5094, allocations: 20 kB / 0.6581 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007092/0.5165, allocations: 3.699 MB / 0.6618 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.697e-05/0.5166, allocations: 39.94 kB / 0.6618 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-05/0.5167, allocations: 68.09 kB / 0.6619 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.5168, allocations: 95.94 kB / 0.662 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/0.519, allocations: 0.6901 MB / 0.6626 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001349/0.5191, allocations: 127.5 kB / 0.6628 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/0.5217, allocations: 452.6 kB / 0.6632 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000405/0.5221, allocations: 196 kB / 0.6634 GB, free: 8.035 MB / 0.4981 GB 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.002773/0.5248, allocations: 1.507 MB / 0.6648 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.5252, allocations: 178.8 kB / 0.665 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.5256, allocations: 214.2 kB / 0.6652 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/0.5256, allocations: 12 kB / 0.6652 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5257, allocations: 0 / 0.6652 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.5257, allocations: 3.984 kB / 0.6652 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009469/0.5351, allocations: 4.916 MB / 0.67 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.5351, allocations: 12.03 kB / 0.67 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.5356, allocations: 111.8 kB / 0.6701 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.857e-05/0.5357, allocations: 12 kB / 0.6702 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.5357, allocations: 27.97 kB / 0.6702 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.748e-05/0.5357, allocations: 19.88 kB / 0.6702 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/0.5357, allocations: 11.94 kB / 0.6702 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.5378, allocations: 1.423 MB / 0.6716 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/0.5383, allocations: 222.3 kB / 0.6718 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.5385, allocations: 27.98 kB / 0.6718 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005481/0.5391, allocations: 31.94 kB / 0.6719 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.5392, allocations: 79.66 kB / 0.672 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/0.5393, allocations: 32 kB / 0.672 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00246/0.5417, allocations: 1.448 MB / 0.6734 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5417, allocations: 4 kB / 0.6734 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003019/0.5447, allocations: 0.7863 MB / 0.6742 GB, free: 12.65 MB / 0.5137 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.002522/0.5473, allocations: 2.02 MB / 0.6761 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00375/0.551, allocations: 2.083 MB / 0.6782 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.551, allocations: 4.375 kB / 0.6782 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007254/0.5518, allocations: 481.6 kB / 0.6786 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.5534, allocations: 269.3 kB / 0.6789 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03945/0.5928, allocations: 23.21 MB / 0.7016 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003137/0.596, allocations: 2.51 MB / 0.704 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002288/0.5983, allocations: 1.028 MB / 0.705 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/0.5999, allocations: 1.206 MB / 0.7062 GB, free: 9.043 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.5999, allocations: 4 kB / 0.7062 GB, free: 9.039 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3313/0.9313, allocations: 39.56 MB / 0.7448 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/16.68, allocations: 2.031 kB / 0.7448 GB, free: 152.7 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv. Warning: Get data of variable cutForceAndTorque.torque[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.768676387000596]