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.001605/0.001605, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001918/0.001918, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.506/1.506, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2324/0.2324, allocations: 44.91 MB / 355.1 MB, free: 12.42 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.001973/0.001973, allocations: 67.89 kB / 499.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1185, allocations: 65.42 MB / 0.5517 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01188/0.1304, allocations: 9.564 MB / 0.5611 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006288/0.1367, allocations: 2.947 MB / 0.564 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.138, allocations: 55.81 kB / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004057/0.142, allocations: 2.017 MB / 0.566 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.1449, allocations: 1.129 MB / 0.5671 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007795/0.1456, allocations: 283.4 kB / 0.5674 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003461/0.1491, allocations: 2.341 MB / 0.5696 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/0.1517, allocations: 1.91 MB / 0.5715 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.1531, allocations: 0.8956 MB / 0.5724 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.1551, allocations: 1.25 MB / 0.5736 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004724/0.1555, allocations: 192 kB / 0.5738 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.1569, allocations: 0.7294 MB / 0.5745 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.1583, allocations: 1.137 MB / 0.5756 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.1599, allocations: 1.305 MB / 0.5769 GB, free: 300 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005547/0.1655, allocations: 4.338 MB / 0.5811 GB, free: 11.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1655, allocations: 0 / 0.5811 GB, free: 11.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1655, allocations: 0 / 0.5811 GB, free: 11.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001416/0.1656, allocations: 0 / 0.5811 GB, free: 11.94 MB / 446.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.006129/0.1717, allocations: 2.942 MB / 0.584 GB, free: 8.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1718, allocations: 8.031 kB / 0.584 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007238/0.1725, allocations: 491.1 kB / 0.5845 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005516/0.178, allocations: 1.578 MB / 0.586 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/0.1809, allocations: 1.34 MB / 0.5873 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.181, allocations: 147.8 kB / 0.5875 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00049/0.1815, allocations: 187.9 kB / 0.5876 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2298/0.4113, allocations: 6.244 MB / 0.5937 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-05/0.4113, allocations: 13.69 kB / 0.5937 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/0.4116, allocations: 88.39 kB / 0.5938 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002278/0.4139, allocations: 1.342 MB / 0.5951 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.4248, allocations: 5.328 MB / 0.6003 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02638/0.4512, allocations: 20.03 MB / 0.6199 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/0.4552, allocations: 2.012 MB / 0.6219 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00088/0.456, allocations: 0.6407 MB / 0.6225 GB, free: 19.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005324/0.4614, allocations: 3.498 MB / 0.6259 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.4614, allocations: 37.75 kB / 0.6259 GB, free: 17.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.427e-06/0.4614, allocations: 0 / 0.6259 GB, free: 17.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004967/0.4663, allocations: 1.984 MB / 0.6279 GB, free: 16.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.4664, allocations: 59.41 kB / 0.6279 GB, free: 16.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.4687, allocations: 1.941 MB / 0.6298 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.4687, allocations: 35.7 kB / 0.6299 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007856/0.4695, allocations: 1.906 MB / 0.6317 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.4698, allocations: 334 kB / 0.6321 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007227/0.4705, allocations: 0.6243 MB / 0.6327 GB, free: 13.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.4706, allocations: 364.6 kB / 0.633 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000993/0.4716, allocations: 0.8881 MB / 0.6339 GB, free: 12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.4731, allocations: 2.747 MB / 0.6366 GB, free: 8.316 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002813/0.4759, allocations: 3.972 MB / 0.6404 GB, free: 3.418 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-05/0.476, allocations: 16 kB / 0.6405 GB, free: 3.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004474/0.4804, allocations: 3.537 MB / 0.6439 GB, free: 15.86 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.272e-05/0.4805, allocations: 34.19 kB / 0.6439 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.797e-05/0.4806, allocations: 64.91 kB / 0.644 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/0.4807, allocations: 88 kB / 0.6441 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.4828, allocations: 0.6628 MB / 0.6447 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001429/0.4829, allocations: 123.5 kB / 0.6449 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.4849, allocations: 436.6 kB / 0.6453 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/0.4852, allocations: 194.7 kB / 0.6455 GB, free: 14.29 MB / 462.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.002097/0.4873, allocations: 1.338 MB / 0.6468 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.4876, allocations: 162.9 kB / 0.6469 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.4881, allocations: 196.9 kB / 0.6471 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.4881, allocations: 8 kB / 0.6471 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4881, allocations: 0 / 0.6471 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.4881, allocations: 3.938 kB / 0.6471 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007448/0.4956, allocations: 4.085 MB / 0.6511 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.4956, allocations: 4 kB / 0.6511 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.496, allocations: 103.8 kB / 0.6512 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.496, allocations: 15.88 kB / 0.6512 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.4961, allocations: 12 kB / 0.6512 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.545e-05/0.4961, allocations: 15.92 kB / 0.6512 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.4961, allocations: 8 kB / 0.6513 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.4977, allocations: 1.243 MB / 0.6525 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.4982, allocations: 259.7 kB / 0.6527 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.4984, allocations: 19.94 kB / 0.6527 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.4989, allocations: 27.97 kB / 0.6528 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.499, allocations: 51.83 kB / 0.6528 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.4991, allocations: 28 kB / 0.6528 GB, free: 6.441 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002082/0.5012, allocations: 1.267 MB / 0.6541 GB, free: 5.184 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5012, allocations: 2.156 kB / 0.6541 GB, free: 5.184 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002641/0.5038, allocations: 0.6969 MB / 0.6548 GB, free: 4.484 MB / 462.1 MB 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.002194/0.506, allocations: 1.853 MB / 0.6566 GB, free: 2.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003266/0.5093, allocations: 1.964 MB / 0.6585 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5093, allocations: 0 / 0.6585 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000593/0.5099, allocations: 425.6 kB / 0.6589 GB, free: 168 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.5113, allocations: 231.9 kB / 0.6591 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03666/0.5479, allocations: 20.88 MB / 0.6795 GB, free: 8.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00363/0.5516, allocations: 2.271 MB / 0.6817 GB, free: 6.242 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002292/0.5539, allocations: 0.9497 MB / 0.6827 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/0.5556, allocations: 1.034 MB / 0.6837 GB, free: 4.254 MB / 494.1 MB Notification: Performance of SimCode: time 1.723e-06/0.5556, allocations: 0 / 0.6837 GB, free: 4.254 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07304/0.6286, allocations: 32.77 MB / 0.7157 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.59, allocations: 9.844 kB / 0.7157 GB, free: 3.645 MB / 0.5137 GB " [Timeout remaining time 647] (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: 15.668410698883235]