Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001803/0.001803, allocations: 119.6 kB / 20.44 MB, free: 1.297 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.002743/0.002743, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2366/0.2366, allocations: 46.92 MB / 360.9 MB, free: 4.375 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.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 0.4962 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 66.03 MB / 0.5606 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01207/0.3255, allocations: 9.585 MB / 0.57 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006393/0.3319, allocations: 2.959 MB / 0.5729 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.333, allocations: 55.81 kB / 0.5729 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004194/0.3372, allocations: 2.033 MB / 0.5749 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.3403, allocations: 1.14 MB / 0.576 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009058/0.3412, allocations: 291.4 kB / 0.5763 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003555/0.3448, allocations: 2.329 MB / 0.5786 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.3472, allocations: 1.738 MB / 0.5803 GB, free: 264 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.3486, allocations: 0.8917 MB / 0.5812 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.3506, allocations: 1.246 MB / 0.5824 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004683/0.3511, allocations: 199.9 kB / 0.5826 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.3525, allocations: 0.7255 MB / 0.5833 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.3538, allocations: 1.141 MB / 0.5844 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.3554, allocations: 1.308 MB / 0.5857 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005381/0.3608, allocations: 4.326 MB / 0.5899 GB, free: 6.387 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3608, allocations: 4 kB / 0.5899 GB, free: 6.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3608, allocations: 0 / 0.5899 GB, free: 6.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001094/0.3609, allocations: 3.938 kB / 0.5899 GB, free: 6.379 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.005768/0.3666, allocations: 2.866 MB / 0.5927 GB, free: 3.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3667, allocations: 8.031 kB / 0.5927 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000814/0.3675, allocations: 487 kB / 0.5932 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/0.3728, allocations: 1.571 MB / 0.5947 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.3761, allocations: 1.282 MB / 0.596 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.3762, allocations: 147.9 kB / 0.5961 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005527/0.3768, allocations: 187.8 kB / 0.5963 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.3879, allocations: 6.242 MB / 0.6024 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.844e-05/0.3879, allocations: 23.81 kB / 0.6024 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003393/0.3883, allocations: 83.91 kB / 0.6025 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/0.3905, allocations: 1.34 MB / 0.6038 GB, free: 7.797 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.4016, allocations: 5.341 MB / 0.609 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03032/0.4319, allocations: 19.96 MB / 0.6285 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004275/0.4362, allocations: 1.562 MB / 0.63 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.4372, allocations: 0.6328 MB / 0.6306 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006696/0.4439, allocations: 3.039 MB / 0.6336 GB, free: 8.621 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.444, allocations: 35 kB / 0.6336 GB, free: 8.578 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.817e-06/0.444, allocations: 0 / 0.6336 GB, free: 8.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005679/0.4497, allocations: 1.978 MB / 0.6356 GB, free: 6.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.4497, allocations: 55.84 kB / 0.6356 GB, free: 6.523 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.4526, allocations: 1.949 MB / 0.6375 GB, free: 4.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.559e-05/0.4527, allocations: 41.69 kB / 0.6376 GB, free: 4.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001522/0.4542, allocations: 1.903 MB / 0.6394 GB, free: 2.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004012/0.4546, allocations: 333.5 kB / 0.6397 GB, free: 2.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008982/0.4555, allocations: 0.6195 MB / 0.6403 GB, free: 1.641 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.4557, allocations: 353.9 kB / 0.6407 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.4572, allocations: 0.8919 MB / 0.6416 GB, free: 404 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00325/0.4604, allocations: 2.755 MB / 0.6442 GB, free: 12.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005053/0.4655, allocations: 3.961 MB / 0.6481 GB, free: 7.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.174e-05/0.4655, allocations: 16 kB / 0.6481 GB, free: 7.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006691/0.4722, allocations: 3.539 MB / 0.6516 GB, free: 4.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/0.4723, allocations: 39.92 kB / 0.6516 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.753e-05/0.4724, allocations: 68 kB / 0.6517 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001065/0.4725, allocations: 84 kB / 0.6518 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/0.4748, allocations: 0.655 MB / 0.6524 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001231/0.4749, allocations: 127.5 kB / 0.6525 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.4771, allocations: 429.2 kB / 0.6529 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003681/0.4775, allocations: 191.9 kB / 0.6531 GB, free: 2.684 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.002725/0.4802, allocations: 1.346 MB / 0.6544 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.4805, allocations: 166.9 kB / 0.6546 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/0.4809, allocations: 192.9 kB / 0.6548 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.481, allocations: 8 kB / 0.6548 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.481, allocations: 4 kB / 0.6548 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.481, allocations: 3.984 kB / 0.6548 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00781/0.4888, allocations: 4.048 MB / 0.6587 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.4888, allocations: 4.75 kB / 0.6588 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.4892, allocations: 95.88 kB / 0.6588 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.4893, allocations: 12 kB / 0.6589 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.4893, allocations: 19.94 kB / 0.6589 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.327e-05/0.4893, allocations: 15.92 kB / 0.6589 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.4893, allocations: 11.94 kB / 0.6589 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.491, allocations: 1.239 MB / 0.6601 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.4915, allocations: 174.6 kB / 0.6603 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.4917, allocations: 31.83 kB / 0.6603 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.4922, allocations: 19.98 kB / 0.6603 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.4923, allocations: 63.73 kB / 0.6604 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/0.4924, allocations: 32 kB / 0.6604 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002005/0.4944, allocations: 1.263 MB / 0.6617 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4944, allocations: 0 / 0.6617 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002614/0.497, allocations: 0.6968 MB / 0.6623 GB, free: 9.012 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.002202/0.4992, allocations: 1.849 MB / 0.6641 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003324/0.5025, allocations: 1.959 MB / 0.6661 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.5025, allocations: 0 / 0.6661 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006086/0.5031, allocations: 429.4 kB / 0.6665 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.5045, allocations: 239.9 kB / 0.6667 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03383/0.5383, allocations: 20.88 MB / 0.6871 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003152/0.5415, allocations: 2.267 MB / 0.6893 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002376/0.5438, allocations: 0.9518 MB / 0.6902 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/0.5456, allocations: 1.038 MB / 0.6912 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.5456, allocations: 0 / 0.6912 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07699/0.6226, allocations: 35.23 MB / 0.7256 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.76, allocations: 7.266 kB / 0.7257 GB, free: 5.727 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.02866265299963]