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.001556/0.001556, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001904/0.001904, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.501/1.501, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2343/0.2343, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.001865/0.001865, allocations: 63.91 kB / 0.4909 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1179, allocations: 65.99 MB / 0.5554 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01166/0.1295, allocations: 9.564 MB / 0.5647 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.1355, allocations: 2.936 MB / 0.5676 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000957/0.1364, allocations: 55.81 kB / 0.5676 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003847/0.1403, allocations: 2.029 MB / 0.5696 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.1428, allocations: 1.125 MB / 0.5707 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.1435, allocations: 287.4 kB / 0.571 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003148/0.1467, allocations: 2.336 MB / 0.5733 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.1491, allocations: 1.918 MB / 0.5751 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.1502, allocations: 0.8878 MB / 0.576 GB, free: 0.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.1519, allocations: 1.254 MB / 0.5772 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.1522, allocations: 192 kB / 0.5774 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.1535, allocations: 0.7255 MB / 0.5781 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.1546, allocations: 1.141 MB / 0.5792 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.156, allocations: 1.312 MB / 0.5805 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005239/0.1612, allocations: 4.323 MB / 0.5847 GB, free: 7.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1612, allocations: 0 / 0.5847 GB, free: 7.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1612, allocations: 0 / 0.5847 GB, free: 7.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001141/0.1614, allocations: 0 / 0.5847 GB, free: 7.641 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.005386/0.1667, allocations: 2.949 MB / 0.5876 GB, free: 4.629 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1668, allocations: 8.031 kB / 0.5876 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006773/0.1675, allocations: 487 kB / 0.5881 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005558/0.173, allocations: 1.578 MB / 0.5896 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/0.1761, allocations: 1.34 MB / 0.5909 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.1762, allocations: 147.8 kB / 0.5911 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005481/0.1768, allocations: 187.9 kB / 0.5913 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2513/0.4281, allocations: 6.239 MB / 0.5973 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.975e-05/0.4281, allocations: 18.12 kB / 0.5974 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003564/0.4285, allocations: 89 kB / 0.5974 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002734/0.4312, allocations: 1.34 MB / 0.5988 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.4438, allocations: 5.335 MB / 0.604 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02618/0.4699, allocations: 20.03 MB / 0.6235 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/0.4739, allocations: 2.013 MB / 0.6255 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007602/0.4747, allocations: 0.6431 MB / 0.6261 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00513/0.4798, allocations: 3.486 MB / 0.6295 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.4798, allocations: 44.7 kB / 0.6296 GB, free: 12.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.035e-06/0.4798, allocations: 0 / 0.6296 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004819/0.4847, allocations: 1.982 MB / 0.6315 GB, free: 11.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.4847, allocations: 59.84 kB / 0.6316 GB, free: 10.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.4868, allocations: 1.941 MB / 0.6335 GB, free: 9.059 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.4869, allocations: 35.02 kB / 0.6335 GB, free: 9.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007079/0.4876, allocations: 1.916 MB / 0.6354 GB, free: 7.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.4878, allocations: 328.5 kB / 0.6357 GB, free: 6.914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005862/0.4883, allocations: 0.6215 MB / 0.6363 GB, free: 6.285 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.4884, allocations: 353.9 kB / 0.6366 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009753/0.4894, allocations: 0.8881 MB / 0.6375 GB, free: 5.043 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.4909, allocations: 2.747 MB / 0.6402 GB, free: 1.363 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004377/0.4953, allocations: 3.976 MB / 0.644 GB, free: 12.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.744e-05/0.4953, allocations: 20 kB / 0.6441 GB, free: 12.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005886/0.5012, allocations: 3.523 MB / 0.6475 GB, free: 8.918 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.5013, allocations: 44.23 kB / 0.6476 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.914e-05/0.5014, allocations: 64 kB / 0.6476 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.451e-05/0.5014, allocations: 88 kB / 0.6477 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/0.5034, allocations: 0.655 MB / 0.6483 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001167/0.5036, allocations: 131.5 kB / 0.6485 GB, free: 7.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.5055, allocations: 432.7 kB / 0.6489 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003168/0.5058, allocations: 184 kB / 0.649 GB, free: 7.336 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.002335/0.5081, allocations: 1.348 MB / 0.6504 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.5084, allocations: 162.9 kB / 0.6505 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.5088, allocations: 203.9 kB / 0.6507 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.5088, allocations: 8 kB / 0.6507 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.5089, allocations: 0 / 0.6507 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5089, allocations: 7.922 kB / 0.6507 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007072/0.5159, allocations: 4.083 MB / 0.6547 GB, free: 1.379 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5159, allocations: 4 kB / 0.6547 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.5164, allocations: 95.81 kB / 0.6548 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.5164, allocations: 15.94 kB / 0.6548 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.5164, allocations: 16 kB / 0.6548 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.5164, allocations: 12.5 kB / 0.6549 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.5164, allocations: 8 kB / 0.6549 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.5181, allocations: 1.243 MB / 0.6561 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.5185, allocations: 259.7 kB / 0.6563 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.5187, allocations: 23.91 kB / 0.6563 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/0.5191, allocations: 27.98 kB / 0.6564 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5192, allocations: 47.83 kB / 0.6564 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/0.5193, allocations: 31.98 kB / 0.6565 GB, free: 15.49 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001911/0.5212, allocations: 1.271 MB / 0.6577 GB, free: 14.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5212, allocations: 0 / 0.6577 GB, free: 14.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00254/0.5238, allocations: 0.689 MB / 0.6584 GB, free: 13.54 MB / 478.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.002264/0.526, allocations: 1.853 MB / 0.6602 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003508/0.5295, allocations: 1.957 MB / 0.6621 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5295, allocations: 320 / 0.6621 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.5302, allocations: 428.4 kB / 0.6625 GB, free: 9.223 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.5315, allocations: 244.4 kB / 0.6627 GB, free: 8.996 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03203/0.5635, allocations: 20.87 MB / 0.6831 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002792/0.5663, allocations: 2.279 MB / 0.6853 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002343/0.5687, allocations: 0.9502 MB / 0.6863 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001662/0.5703, allocations: 1.038 MB / 0.6873 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.5703, allocations: 0 / 0.6873 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06955/0.6399, allocations: 32.77 MB / 0.7193 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.25, allocations: 3.281 kB / 0.7193 GB, free: 12.69 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.454025709012058]