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.001751/0.001751, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002253/0.002253, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.762 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.2242/0.2242, allocations: 44.94 MB / 358.8 MB, free: 6.117 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.002059/0.002059, allocations: 67.89 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 65.46 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01165/0.3169, allocations: 8.91 MB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006712/0.3236, allocations: 2.928 MB / 0.5685 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008827/0.3245, allocations: 63.81 kB / 0.5686 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004721/0.3292, allocations: 2.527 MB / 0.571 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.3317, allocations: 1.218 MB / 0.5722 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.3326, allocations: 351.3 kB / 0.5726 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003073/0.3356, allocations: 2.543 MB / 0.5751 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.3382, allocations: 2.238 MB / 0.5772 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.3395, allocations: 1.063 MB / 0.5783 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.3413, allocations: 1.382 MB / 0.5796 GB, free: 192 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004171/0.3417, allocations: 252 kB / 0.5799 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.3429, allocations: 0.6709 MB / 0.5805 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.3441, allocations: 1.36 MB / 0.5819 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.3452, allocations: 1.141 MB / 0.583 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005168/0.3504, allocations: 5.144 MB / 0.588 GB, free: 7.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3504, allocations: 0 / 0.588 GB, free: 7.594 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3504, allocations: 0 / 0.588 GB, free: 7.594 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.132e-05/0.3505, allocations: 0 / 0.588 GB, free: 7.594 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.005381/0.3559, allocations: 3.274 MB / 0.5912 GB, free: 4.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3559, allocations: 16.02 kB / 0.5912 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006387/0.3565, allocations: 0.5419 MB / 0.5917 GB, free: 3.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.3617, allocations: 1.625 MB / 0.5933 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003839/0.3655, allocations: 1.447 MB / 0.5947 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.3657, allocations: 184.7 kB / 0.5949 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004999/0.3662, allocations: 227.9 kB / 0.5951 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.3782, allocations: 7.114 MB / 0.6021 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.062e-05/0.3783, allocations: 11.88 kB / 0.6021 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004425/0.3788, allocations: 107.9 kB / 0.6022 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002284/0.3811, allocations: 1.451 MB / 0.6036 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.3926, allocations: 5.943 MB / 0.6094 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03317/0.4257, allocations: 21.14 MB / 0.6301 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004632/0.4304, allocations: 1.681 MB / 0.6317 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.4315, allocations: 0.7034 MB / 0.6324 GB, free: 9.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007519/0.439, allocations: 3.233 MB / 0.6355 GB, free: 5.832 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.439, allocations: 43.2 kB / 0.6356 GB, free: 5.781 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 4.809e-06/0.4391, allocations: 4 kB / 0.6356 GB, free: 5.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006251/0.4453, allocations: 2.253 MB / 0.6378 GB, free: 3.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.4454, allocations: 60 kB / 0.6378 GB, free: 3.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003414/0.4488, allocations: 2.172 MB / 0.64 GB, free: 1.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.887e-05/0.4488, allocations: 33.7 kB / 0.64 GB, free: 1.238 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.4505, allocations: 2.118 MB / 0.6421 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.4509, allocations: 361.3 kB / 0.6424 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009246/0.4518, allocations: 0.6551 MB / 0.643 GB, free: 14.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.452, allocations: 365.7 kB / 0.6434 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.4535, allocations: 0.9352 MB / 0.6443 GB, free: 12.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.4566, allocations: 2.872 MB / 0.6471 GB, free: 8.941 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005234/0.4619, allocations: 4.152 MB / 0.6512 GB, free: 3.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-05/0.4619, allocations: 24 kB / 0.6512 GB, free: 3.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006585/0.4685, allocations: 3.707 MB / 0.6548 GB, free: 100 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/0.4686, allocations: 40.03 kB / 0.6549 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/0.4688, allocations: 68.05 kB / 0.6549 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.4689, allocations: 88 kB / 0.655 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.471, allocations: 0.6939 MB / 0.6557 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001337/0.4712, allocations: 127.5 kB / 0.6558 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.4733, allocations: 444.7 kB / 0.6562 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/0.4737, allocations: 196 kB / 0.6564 GB, free: 14.46 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.002446/0.4761, allocations: 1.515 MB / 0.6579 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.4764, allocations: 178.8 kB / 0.6581 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.4769, allocations: 214.2 kB / 0.6583 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/0.477, allocations: 12 kB / 0.6583 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.477, allocations: 0 / 0.6583 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.477, allocations: 3.984 kB / 0.6583 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.4872, allocations: 4.81 MB / 0.663 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/0.4872, allocations: 8 kB / 0.663 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.4877, allocations: 115.8 kB / 0.6631 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/0.4877, allocations: 12 kB / 0.6631 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.4878, allocations: 23.98 kB / 0.6631 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.607e-05/0.4878, allocations: 15.94 kB / 0.6631 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/0.4878, allocations: 12.47 kB / 0.6632 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.4897, allocations: 1.426 MB / 0.6645 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006422/0.4903, allocations: 222.3 kB / 0.6648 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/0.4907, allocations: 27.98 kB / 0.6648 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007528/0.4915, allocations: 31.94 kB / 0.6648 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.4916, allocations: 75.66 kB / 0.6649 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/0.4917, allocations: 39.98 kB / 0.6649 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002764/0.4944, allocations: 1.448 MB / 0.6663 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4944, allocations: 0 / 0.6663 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003193/0.4976, allocations: 0.7746 MB / 0.6671 GB, free: 3.184 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.002704/0.5003, allocations: 2.029 MB / 0.6691 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003625/0.5039, allocations: 2.079 MB / 0.6711 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.504, allocations: 0 / 0.6711 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007257/0.5047, allocations: 485 kB / 0.6716 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.5065, allocations: 275.9 kB / 0.6718 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03958/0.5461, allocations: 23.2 MB / 0.6945 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003813/0.5499, allocations: 1.946 MB / 0.6964 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00279/0.5527, allocations: 1.024 MB / 0.6974 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002185/0.5548, allocations: 1.214 MB / 0.6986 GB, free: 128 kB / 0.5294 GB Notification: Performance of SimCode: time 1.984e-06/0.5548, allocations: 0 / 0.6986 GB, free: 128 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3144/0.8692, allocations: 37.19 MB / 0.7349 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.67, allocations: 8.5 kB / 0.7349 GB, free: 163.9 MB / 0.5606 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: 16.75313767278567]