Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.001739/0.001739, allocations: 109.4 kB / 20.43 MB, free: 1.473 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.001437/0.001437, allocations: 213.7 kB / 23.74 MB, free: 4.688 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: 8.004 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.2175/0.2175, allocations: 44.92 MB / 358.8 MB, free: 6.273 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.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",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.002128/0.002128, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3205, allocations: 65.48 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01223/0.3327, allocations: 9.585 MB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006235/0.339, allocations: 2.963 MB / 0.5693 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.3403, allocations: 55.81 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.3444, allocations: 2.021 MB / 0.5713 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.3474, allocations: 1.144 MB / 0.5724 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.3482, allocations: 287.5 kB / 0.5727 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003515/0.3517, allocations: 2.322 MB / 0.575 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.3541, allocations: 1.746 MB / 0.5767 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.3554, allocations: 0.8956 MB / 0.5775 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.3572, allocations: 1.246 MB / 0.5788 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.3576, allocations: 196 kB / 0.5789 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.3589, allocations: 0.7216 MB / 0.5797 GB, free: 464 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.3601, allocations: 1.145 MB / 0.5808 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.3615, allocations: 1.312 MB / 0.5821 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005257/0.3668, allocations: 4.326 MB / 0.5863 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3668, allocations: 0 / 0.5863 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3668, allocations: 0 / 0.5863 GB, free: 9.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.999e-05/0.3668, allocations: 3.938 kB / 0.5863 GB, free: 9.637 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.0051/0.3719, allocations: 2.866 MB / 0.5891 GB, free: 6.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.372, allocations: 8.031 kB / 0.5891 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000618/0.3726, allocations: 487.1 kB / 0.5896 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005106/0.3777, allocations: 1.574 MB / 0.5911 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003035/0.3808, allocations: 1.275 MB / 0.5923 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.3809, allocations: 147.8 kB / 0.5925 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004617/0.3813, allocations: 195.9 kB / 0.5927 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.3923, allocations: 6.242 MB / 0.5988 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.157e-05/0.3924, allocations: 19.86 kB / 0.5988 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002524/0.3926, allocations: 83.91 kB / 0.5989 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002205/0.3948, allocations: 1.348 MB / 0.6002 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.4056, allocations: 5.33 MB / 0.6054 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02895/0.4345, allocations: 19.96 MB / 0.6249 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/0.4388, allocations: 1.559 MB / 0.6264 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.4399, allocations: 0.6392 MB / 0.627 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006564/0.4464, allocations: 3.031 MB / 0.63 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.4465, allocations: 35 kB / 0.63 GB, free: 11.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.517e-06/0.4465, allocations: 0 / 0.63 GB, free: 11.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005638/0.4521, allocations: 1.986 MB / 0.6319 GB, free: 9.844 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.4522, allocations: 59.84 kB / 0.632 GB, free: 9.773 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/0.4552, allocations: 1.942 MB / 0.6339 GB, free: 7.828 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.086e-05/0.4553, allocations: 37.7 kB / 0.6339 GB, free: 7.785 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.4569, allocations: 1.903 MB / 0.6358 GB, free: 5.859 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003801/0.4573, allocations: 337.5 kB / 0.6361 GB, free: 5.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008442/0.4582, allocations: 0.6195 MB / 0.6367 GB, free: 4.898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.4584, allocations: 357.9 kB / 0.6371 GB, free: 4.543 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.4598, allocations: 0.8842 MB / 0.6379 GB, free: 3.656 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/0.4629, allocations: 2.759 MB / 0.6406 GB, free: 15.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005181/0.4681, allocations: 3.965 MB / 0.6445 GB, free: 11.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.065e-05/0.4682, allocations: 20 kB / 0.6445 GB, free: 11.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006094/0.4742, allocations: 3.531 MB / 0.648 GB, free: 7.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.4743, allocations: 32 kB / 0.648 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-05/0.4744, allocations: 68 kB / 0.6481 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.693e-05/0.4745, allocations: 84 kB / 0.6481 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.4764, allocations: 0.6589 MB / 0.6488 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001128/0.4765, allocations: 139.4 kB / 0.6489 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.4782, allocations: 425.3 kB / 0.6493 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.4785, allocations: 195.9 kB / 0.6495 GB, free: 5.934 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (362): * Single equations (assignments): 357 * 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.00195/0.4805, allocations: 1.342 MB / 0.6508 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.4807, allocations: 162.9 kB / 0.651 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.4811, allocations: 196.9 kB / 0.6512 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.4811, allocations: 12 kB / 0.6512 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.4811, allocations: 3.938 kB / 0.6512 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.4811, allocations: 11.92 kB / 0.6512 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00682/0.4879, allocations: 4.034 MB / 0.6551 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.4879, allocations: 4 kB / 0.6551 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.4884, allocations: 103.9 kB / 0.6552 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.4884, allocations: 11.94 kB / 0.6552 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.4884, allocations: 19.92 kB / 0.6553 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.356e-05/0.4884, allocations: 15.94 kB / 0.6553 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.4884, allocations: 4 kB / 0.6553 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.4901, allocations: 1.247 MB / 0.6565 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.4904, allocations: 174.6 kB / 0.6567 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.4906, allocations: 27.92 kB / 0.6567 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/0.4911, allocations: 23.98 kB / 0.6567 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.4912, allocations: 59.8 kB / 0.6568 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.4912, allocations: 28 kB / 0.6568 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001893/0.4931, allocations: 1.263 MB / 0.658 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4931, allocations: 0 / 0.658 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00249/0.4956, allocations: 0.6968 MB / 0.6587 GB, free: 12.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.002093/0.4977, allocations: 1.853 MB / 0.6605 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003176/0.5009, allocations: 1.959 MB / 0.6624 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/0.5009, allocations: 4 kB / 0.6624 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005851/0.5015, allocations: 426.3 kB / 0.6628 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.5027, allocations: 229.5 kB / 0.6631 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03138/0.5341, allocations: 20.89 MB / 0.6835 GB, free: 324 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/0.5367, allocations: 2.275 MB / 0.6857 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002086/0.5388, allocations: 0.948 MB / 0.6866 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.5403, allocations: 1.038 MB / 0.6876 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.5403, allocations: 0 / 0.6876 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07437/0.6146, allocations: 35.23 MB / 0.722 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/15.55, allocations: 3.438 kB / 0.722 GB, free: 8.98 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_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_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutForce.force[3] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.80524740600231]