Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001658/0.001658, allocations: 124.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.002036/0.002036, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.525/1.525, 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.2227/0.2227, allocations: 44.91 MB / 355.1 MB, free: 12.35 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.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",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.00202/0.00202, allocations: 67.89 kB / 499.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.126, allocations: 65.42 MB / 0.5517 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01186/0.1379, allocations: 9.564 MB / 0.5611 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006346/0.1442, allocations: 2.947 MB / 0.564 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.1454, allocations: 55.81 kB / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.1495, allocations: 2.013 MB / 0.566 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003667/0.1532, allocations: 1.133 MB / 0.5671 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009342/0.1541, allocations: 287.4 kB / 0.5674 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003809/0.1579, allocations: 2.326 MB / 0.5696 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/0.1609, allocations: 1.918 MB / 0.5715 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.1626, allocations: 0.884 MB / 0.5724 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.1647, allocations: 1.262 MB / 0.5736 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005742/0.1653, allocations: 196 kB / 0.5738 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.1668, allocations: 0.7177 MB / 0.5745 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.1683, allocations: 1.141 MB / 0.5756 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001973/0.1703, allocations: 1.305 MB / 0.5769 GB, free: 304 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005641/0.1759, allocations: 4.338 MB / 0.5811 GB, free: 11.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.176, allocations: 0 / 0.5811 GB, free: 11.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.176, allocations: 0 / 0.5811 GB, free: 11.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001534/0.1761, allocations: 4 kB / 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.006751/0.1829, allocations: 2.938 MB / 0.584 GB, free: 8.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1829, allocations: 16.03 kB / 0.584 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001091/0.184, allocations: 479.1 kB / 0.5845 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005778/0.1898, allocations: 1.578 MB / 0.586 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.1928, allocations: 1.332 MB / 0.5873 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.193, allocations: 151.7 kB / 0.5874 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006469/0.1937, allocations: 187.8 kB / 0.5876 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2557/0.4494, allocations: 6.245 MB / 0.5937 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.155e-05/0.4495, allocations: 13.88 kB / 0.5937 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004246/0.4499, allocations: 92.42 kB / 0.5938 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002496/0.4524, allocations: 1.342 MB / 0.5951 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.4643, allocations: 5.333 MB / 0.6003 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02693/0.4912, allocations: 20.03 MB / 0.6199 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004179/0.4954, allocations: 2.013 MB / 0.6219 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.4965, allocations: 0.6395 MB / 0.6225 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0062/0.5027, allocations: 3.496 MB / 0.6259 GB, free: 17.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.5027, allocations: 41.72 kB / 0.6259 GB, free: 17.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.877e-06/0.5027, allocations: 0 / 0.6259 GB, free: 17.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.005004/0.5077, allocations: 1.982 MB / 0.6279 GB, free: 16.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.5077, allocations: 55.66 kB / 0.6279 GB, free: 16.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.5098, allocations: 1.945 MB / 0.6298 GB, free: 15.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/0.5099, allocations: 33.7 kB / 0.6299 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007505/0.5107, allocations: 1.905 MB / 0.6317 GB, free: 13.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.5109, allocations: 332 kB / 0.632 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006682/0.5116, allocations: 0.6216 MB / 0.6327 GB, free: 13.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.5117, allocations: 368.5 kB / 0.633 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009462/0.5126, allocations: 0.8881 MB / 0.6339 GB, free: 11.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.5142, allocations: 2.751 MB / 0.6366 GB, free: 8.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.5172, allocations: 3.964 MB / 0.6404 GB, free: 3.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.213e-05/0.5172, allocations: 20 kB / 0.6404 GB, free: 3.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00472/0.5219, allocations: 3.536 MB / 0.6439 GB, free: 15.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.522, allocations: 32 kB / 0.6439 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.864e-05/0.5221, allocations: 68 kB / 0.644 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/0.5222, allocations: 88 kB / 0.6441 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.5243, allocations: 0.6595 MB / 0.6447 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001252/0.5244, allocations: 127.5 kB / 0.6448 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.5265, allocations: 432.8 kB / 0.6453 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/0.5269, allocations: 184 kB / 0.6454 GB, free: 14.19 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.002309/0.5292, allocations: 1.342 MB / 0.6467 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.5295, allocations: 166.9 kB / 0.6469 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.5299, allocations: 196.9 kB / 0.6471 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.5299, allocations: 12 kB / 0.6471 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.53, allocations: 3.625 kB / 0.6471 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.53, allocations: 7.922 kB / 0.6471 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007284/0.5372, allocations: 4.066 MB / 0.6511 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.5373, allocations: 12.16 kB / 0.6511 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.5377, allocations: 99.81 kB / 0.6512 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.5377, allocations: 11.94 kB / 0.6512 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.5378, allocations: 23.98 kB / 0.6512 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.371e-05/0.5378, allocations: 15.88 kB / 0.6512 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.5378, allocations: 11.94 kB / 0.6513 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.5395, allocations: 1.239 MB / 0.6525 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.5399, allocations: 259.7 kB / 0.6527 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.5401, allocations: 19.92 kB / 0.6527 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.5406, allocations: 23.98 kB / 0.6528 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5407, allocations: 51.83 kB / 0.6528 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.239e-05/0.5407, allocations: 34.23 kB / 0.6528 GB, free: 6.344 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002034/0.5428, allocations: 1.267 MB / 0.6541 GB, free: 5.086 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5428, allocations: 3.938 kB / 0.6541 GB, free: 5.082 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002853/0.5456, allocations: 0.6891 MB / 0.6547 GB, free: 4.391 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.00234/0.548, allocations: 1.861 MB / 0.6566 GB, free: 2.426 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003262/0.5512, allocations: 1.952 MB / 0.6585 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5512, allocations: 4 kB / 0.6585 GB, free: 496 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000599/0.5518, allocations: 431.3 kB / 0.6589 GB, free: 68 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.5532, allocations: 239.5 kB / 0.6591 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03599/0.5892, allocations: 20.87 MB / 0.6795 GB, free: 8.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00318/0.5923, allocations: 2.275 MB / 0.6817 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002296/0.5946, allocations: 0.9539 MB / 0.6827 GB, free: 5.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/0.5962, allocations: 1.03 MB / 0.6837 GB, free: 4.156 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5962, allocations: 0 / 0.6837 GB, free: 4.156 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07151/0.6677, allocations: 32.78 MB / 0.7157 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.64, allocations: 7.938 kB / 0.7157 GB, free: 3.539 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.78978600166738]