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.001847/0.001847, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002357/0.002357, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2196/0.2196, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.001966/0.001966, allocations: 79.81 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3326, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01133/0.344, allocations: 8.904 MB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006456/0.3504, allocations: 2.924 MB / 0.5721 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.3517, allocations: 59.81 kB / 0.5722 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004797/0.3565, allocations: 2.535 MB / 0.5747 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.3593, allocations: 1.214 MB / 0.5759 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008088/0.3601, allocations: 359.3 kB / 0.5762 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00315/0.3633, allocations: 2.547 MB / 0.5787 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.3658, allocations: 2.245 MB / 0.5809 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.3671, allocations: 1.071 MB / 0.5819 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.3689, allocations: 1.48 MB / 0.5834 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004001/0.3693, allocations: 252 kB / 0.5836 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.3704, allocations: 0.6787 MB / 0.5843 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.3717, allocations: 1.363 MB / 0.5856 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.3729, allocations: 1.145 MB / 0.5867 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005338/0.3783, allocations: 5.136 MB / 0.5917 GB, free: 4.184 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.3783, allocations: 4 kB / 0.5917 GB, free: 4.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3783, allocations: 0 / 0.5917 GB, free: 4.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000112/0.3784, allocations: 0 / 0.5917 GB, free: 4.18 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.005822/0.3842, allocations: 3.274 MB / 0.5949 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.3843, allocations: 12.03 kB / 0.595 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000818/0.3851, allocations: 0.5498 MB / 0.5955 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/0.3902, allocations: 1.625 MB / 0.5971 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/0.394, allocations: 1.451 MB / 0.5985 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.3942, allocations: 184.7 kB / 0.5987 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/0.3947, allocations: 231.9 kB / 0.5989 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.4068, allocations: 7.114 MB / 0.6058 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.664e-05/0.4069, allocations: 11.88 kB / 0.6058 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003022/0.4072, allocations: 107.9 kB / 0.6059 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00228/0.4095, allocations: 1.443 MB / 0.6074 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.4209, allocations: 5.933 MB / 0.6132 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0337/0.4546, allocations: 21.16 MB / 0.6338 GB, free: 8.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004398/0.459, allocations: 1.67 MB / 0.6354 GB, free: 6.379 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.46, allocations: 0.6995 MB / 0.6361 GB, free: 5.676 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006754/0.4667, allocations: 3.237 MB / 0.6393 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.4668, allocations: 39.22 kB / 0.6393 GB, free: 2.367 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 2.525e-06/0.4668, allocations: 0 / 0.6393 GB, free: 2.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.005978/0.4727, allocations: 2.253 MB / 0.6415 GB, free: 112 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.4728, allocations: 60.06 kB / 0.6416 GB, free: 40 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.4756, allocations: 2.176 MB / 0.6437 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.4757, allocations: 33.7 kB / 0.6437 GB, free: 13.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001489/0.4772, allocations: 2.114 MB / 0.6458 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.4775, allocations: 361.3 kB / 0.6461 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007946/0.4783, allocations: 0.6551 MB / 0.6468 GB, free: 10.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4785, allocations: 365.8 kB / 0.6471 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.4798, allocations: 0.9352 MB / 0.6481 GB, free: 9.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/0.4827, allocations: 2.868 MB / 0.6509 GB, free: 5.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004766/0.4874, allocations: 4.16 MB / 0.6549 GB, free: 432 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.972e-05/0.4875, allocations: 20 kB / 0.6549 GB, free: 412 kB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006289/0.4938, allocations: 3.707 MB / 0.6586 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/0.4938, allocations: 32 kB / 0.6586 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.682e-05/0.4939, allocations: 71.83 kB / 0.6587 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/0.494, allocations: 95.98 kB / 0.6587 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.496, allocations: 0.6823 MB / 0.6594 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001127/0.4961, allocations: 135.5 kB / 0.6595 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.498, allocations: 441.2 kB / 0.66 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/0.4983, allocations: 204 kB / 0.6602 GB, free: 11.04 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.002491/0.5008, allocations: 1.511 MB / 0.6616 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.5011, allocations: 174.8 kB / 0.6618 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.5015, allocations: 210.2 kB / 0.662 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.5015, allocations: 8 kB / 0.662 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.5015, allocations: 0 / 0.662 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.5015, allocations: 11.92 kB / 0.662 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008407/0.5099, allocations: 4.814 MB / 0.6667 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.5099, allocations: 8 kB / 0.6667 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.5104, allocations: 119.9 kB / 0.6668 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.11e-05/0.5104, allocations: 16 kB / 0.6669 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.5105, allocations: 20 kB / 0.6669 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/0.5105, allocations: 19.88 kB / 0.6669 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.502e-05/0.5105, allocations: 15.92 kB / 0.6669 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.5123, allocations: 1.426 MB / 0.6683 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.5128, allocations: 222.3 kB / 0.6685 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.513, allocations: 20 kB / 0.6685 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006144/0.5136, allocations: 39.92 kB / 0.6686 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.5137, allocations: 71.67 kB / 0.6686 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/0.5138, allocations: 35.98 kB / 0.6687 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002123/0.5159, allocations: 1.444 MB / 0.6701 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5159, allocations: 0 / 0.6701 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002844/0.5188, allocations: 0.7825 MB / 0.6708 GB, free: 15.76 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.002376/0.5211, allocations: 2.021 MB / 0.6728 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003812/0.525, allocations: 2.076 MB / 0.6748 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/0.525, allocations: 4.062 kB / 0.6749 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007302/0.5257, allocations: 481.4 kB / 0.6753 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.5274, allocations: 295.2 kB / 0.6756 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03512/0.5625, allocations: 23.2 MB / 0.6982 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/0.5652, allocations: 1.947 MB / 0.7001 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002198/0.5674, allocations: 1.024 MB / 0.7011 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/0.5689, allocations: 1.206 MB / 0.7023 GB, free: 12.72 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.5689, allocations: 3.938 kB / 0.7023 GB, free: 12.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3053/0.8742, allocations: 38.57 MB / 0.74 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.26, allocations: 5.328 kB / 0.74 GB, free: 159.4 MB / 0.5606 GB " [Timeout remaining time 647] (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: 16.224467514985008]