Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001723/0.001723, 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.001455/0.001455, allocations: 208.2 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2304/0.2304, allocations: 46.96 MB / 360.9 MB, free: 4.012 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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3396, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01116/0.3508, allocations: 8.409 MB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006835/0.3576, allocations: 2.78 MB / 0.5715 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.3592, allocations: 55.81 kB / 0.5716 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00402/0.3632, allocations: 1.939 MB / 0.5735 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.3662, allocations: 1.144 MB / 0.5746 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.3669, allocations: 283.5 kB / 0.5748 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002952/0.3698, allocations: 2.325 MB / 0.5771 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.3718, allocations: 1.746 MB / 0.5788 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.3729, allocations: 0.8917 MB / 0.5797 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.3747, allocations: 1.254 MB / 0.5809 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003984/0.3751, allocations: 192 kB / 0.5811 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.3763, allocations: 0.6163 MB / 0.5817 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.3775, allocations: 1.133 MB / 0.5828 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.3785, allocations: 0.9471 MB / 0.5837 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004701/0.3832, allocations: 4.342 MB / 0.588 GB, free: 8.043 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.3832, allocations: 4 kB / 0.588 GB, free: 8.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3832, allocations: 0 / 0.588 GB, free: 8.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.357e-05/0.3833, allocations: 0 / 0.588 GB, free: 8.039 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.004765/0.3881, allocations: 2.866 MB / 0.5908 GB, free: 5.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3881, allocations: 15.95 kB / 0.5908 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006025/0.3887, allocations: 479.1 kB / 0.5912 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004887/0.3936, allocations: 1.578 MB / 0.5928 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/0.3965, allocations: 1.286 MB / 0.594 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3966, allocations: 147.8 kB / 0.5942 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/0.3969, allocations: 183.9 kB / 0.5944 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009615/0.4065, allocations: 6.254 MB / 0.6005 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.779e-05/0.4066, allocations: 15.88 kB / 0.6005 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.4068, allocations: 91.89 kB / 0.6006 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002044/0.4089, allocations: 1.34 MB / 0.6019 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009773/0.4187, allocations: 5.322 MB / 0.6071 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02918/0.4478, allocations: 19.01 MB / 0.6256 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/0.4518, allocations: 1.549 MB / 0.6272 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009197/0.4527, allocations: 0.6396 MB / 0.6278 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00618/0.4589, allocations: 2.907 MB / 0.6306 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.459, allocations: 35 kB / 0.6307 GB, free: 11.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.876e-06/0.459, allocations: 0 / 0.6307 GB, free: 11.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005091/0.4641, allocations: 1.975 MB / 0.6326 GB, free: 9.332 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.4641, allocations: 63.84 kB / 0.6326 GB, free: 9.258 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.4668, allocations: 2.058 MB / 0.6346 GB, free: 7.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.4668, allocations: 37.64 kB / 0.6347 GB, free: 7.152 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.4682, allocations: 1.911 MB / 0.6366 GB, free: 5.219 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.4685, allocations: 321.5 kB / 0.6369 GB, free: 4.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000786/0.4693, allocations: 0.6234 MB / 0.6375 GB, free: 4.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4695, allocations: 361.9 kB / 0.6378 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.4708, allocations: 0.8881 MB / 0.6387 GB, free: 3.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002693/0.4735, allocations: 2.744 MB / 0.6414 GB, free: 15.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004512/0.478, allocations: 3.974 MB / 0.6452 GB, free: 10.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.109e-05/0.478, allocations: 27.88 kB / 0.6453 GB, free: 10.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005903/0.4839, allocations: 3.524 MB / 0.6487 GB, free: 6.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.447e-05/0.484, allocations: 44.23 kB / 0.6487 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.4e-05/0.4841, allocations: 64 kB / 0.6488 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001034/0.4842, allocations: 88 kB / 0.6489 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.486, allocations: 0.6511 MB / 0.6495 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001071/0.4861, allocations: 131.5 kB / 0.6497 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.4879, allocations: 424.9 kB / 0.6501 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.4882, allocations: 184 kB / 0.6502 GB, free: 5.316 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.001973/0.4902, allocations: 1.35 MB / 0.6516 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.4904, allocations: 162.9 kB / 0.6517 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.4907, allocations: 196.9 kB / 0.6519 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.4908, allocations: 8 kB / 0.6519 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4908, allocations: 0 / 0.6519 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.4908, allocations: 3.984 kB / 0.6519 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00709/0.4979, allocations: 3.967 MB / 0.6558 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.4979, allocations: 8 kB / 0.6558 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/0.4983, allocations: 95.81 kB / 0.6559 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/0.4983, allocations: 8 kB / 0.6559 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.4984, allocations: 23.94 kB / 0.6559 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.4984, allocations: 11.98 kB / 0.6559 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.4984, allocations: 7.938 kB / 0.6559 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.5, allocations: 1.239 MB / 0.6571 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/0.5004, allocations: 182.6 kB / 0.6573 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.5006, allocations: 27.88 kB / 0.6573 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.501, allocations: 27.92 kB / 0.6574 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5011, allocations: 59.75 kB / 0.6574 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.5012, allocations: 28 kB / 0.6575 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001897/0.5031, allocations: 1.271 MB / 0.6587 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5031, allocations: 0 / 0.6587 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002468/0.5056, allocations: 0.6814 MB / 0.6594 GB, free: 11.73 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.002039/0.5076, allocations: 1.856 MB / 0.6612 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003095/0.5107, allocations: 1.958 MB / 0.6631 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.5107, allocations: 8.875 kB / 0.6631 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.5113, allocations: 428.2 kB / 0.6635 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.5124, allocations: 226.7 kB / 0.6637 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/0.5434, allocations: 20.89 MB / 0.6841 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002478/0.5459, allocations: 1.7 MB / 0.6858 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002107/0.548, allocations: 0.9557 MB / 0.6867 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/0.5494, allocations: 1.034 MB / 0.6877 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of SimCode: time 1.653e-06/0.5494, allocations: 0 / 0.6877 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07317/0.6226, allocations: 34.22 MB / 0.7211 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.76, allocations: 6.797 kB / 0.7211 GB, free: 10.21 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_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_CutForce3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.979183640010888]