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.0007898/0.0007898, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0008056/0.0008056, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.872/0.872, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2432/0.2432, allocations: 32.79 MB / 293.5 MB, free: 1.246 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.434e-05, allocations: 2.844 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.1821/0.1821, allocations: 8.407 MB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.1852, allocations: 2.786 MB / 450.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.1856, allocations: 55.72 kB / 450.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.1873, allocations: 2.043 MB / 452.9 MB, free: 39.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.1884, allocations: 1.167 MB / 454 MB, free: 39.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1887, allocations: 318.7 kB / 454.4 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.19, allocations: 2.357 MB / 456.7 MB, free: 38.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000994/0.191, allocations: 1.746 MB / 458.5 MB, free: 37.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007147/0.1917, allocations: 1.281 MB / 459.7 MB, free: 36.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/0.1924, allocations: 1.14 MB / 460.9 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.1926, allocations: 192.3 kB / 461.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005624/0.1931, allocations: 0.6503 MB / 461.7 MB, free: 36.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000495/0.1936, allocations: 1.177 MB / 462.9 MB, free: 35.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.194, allocations: 0.7157 MB / 463.6 MB, free: 35.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.1961, allocations: 4.288 MB / 467.9 MB, free: 34.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1961, allocations: 0 / 467.9 MB, free: 34.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1961, allocations: 0 / 467.9 MB, free: 34.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.776e-05/0.1961, allocations: 0 / 467.9 MB, free: 34.07 MB / 410.7 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.002626/0.1987, allocations: 2.834 MB / 470.7 MB, free: 32.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.1988, allocations: 9.531 kB / 470.7 MB, free: 32.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003376/0.1991, allocations: 484.8 kB / 471.2 MB, free: 32.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.2015, allocations: 1.592 MB / 472.8 MB, free: 31.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.2028, allocations: 1.277 MB / 474.1 MB, free: 31.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-05/0.2029, allocations: 142.6 kB / 474.2 MB, free: 31.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.2031, allocations: 184.3 kB / 474.4 MB, free: 31.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005182/0.2082, allocations: 6.269 MB / 480.7 MB, free: 28.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/0.2083, allocations: 12.38 kB / 480.7 MB, free: 28.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.2084, allocations: 91.72 kB / 480.8 MB, free: 28.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001524/0.21, allocations: 1.344 MB / 482.1 MB, free: 28.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006723/0.2167, allocations: 5.329 MB / 487.4 MB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/0.2332, allocations: 19.09 MB / 0.4947 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002883/0.2361, allocations: 1.638 MB / 0.4963 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000844/0.2369, allocations: 0.6358 MB / 0.4969 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004093/0.241, allocations: 2.988 MB / 0.4998 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2411, allocations: 35.95 kB / 0.4998 GB, free: 11.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.645e-06/0.2411, allocations: 7.984 kB / 0.4998 GB, free: 11.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002735/0.2438, allocations: 2.106 MB / 0.5019 GB, free: 9.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.2438, allocations: 62.25 kB / 0.502 GB, free: 9.473 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.2452, allocations: 2.05 MB / 0.504 GB, free: 7.418 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.2453, allocations: 37.7 kB / 0.504 GB, free: 7.375 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.2457, allocations: 1.907 MB / 0.5059 GB, free: 5.445 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.2458, allocations: 317.6 kB / 0.5062 GB, free: 5.133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003639/0.2462, allocations: 0.6078 MB / 0.5068 GB, free: 4.516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.2462, allocations: 353.9 kB / 0.5071 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007302/0.2469, allocations: 0.8881 MB / 0.508 GB, free: 3.273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.2481, allocations: 2.749 MB / 0.5106 GB, free: 15.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/0.2509, allocations: 3.974 MB / 0.5145 GB, free: 10.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.954e-05/0.2509, allocations: 24 kB / 0.5145 GB, free: 10.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003498/0.2544, allocations: 3.522 MB / 0.518 GB, free: 7.141 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.2545, allocations: 36.91 kB / 0.518 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.587e-05/0.2545, allocations: 68 kB / 0.5181 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-05/0.2546, allocations: 92 kB / 0.5182 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.2556, allocations: 0.6511 MB / 0.5188 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.781e-05/0.2557, allocations: 127.5 kB / 0.5189 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.2567, allocations: 432.8 kB / 0.5193 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.2569, allocations: 188 kB / 0.5195 GB, free: 5.562 MB / 426.7 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.001578/0.2585, allocations: 1.352 MB / 0.5208 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.2586, allocations: 166 kB / 0.521 GB, free: 4.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.2588, allocations: 192.9 kB / 0.5212 GB, free: 3.848 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.2588, allocations: 12 kB / 0.5212 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.2588, allocations: 0 / 0.5212 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2588, allocations: 3.984 kB / 0.5212 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/0.2628, allocations: 3.98 MB / 0.5251 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.2628, allocations: 8 kB / 0.5251 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.263, allocations: 103.9 kB / 0.5252 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.263, allocations: 8 kB / 0.5252 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.2631, allocations: 20 kB / 0.5252 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.2631, allocations: 8 kB / 0.5252 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.2631, allocations: 7.938 kB / 0.5252 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008661/0.2639, allocations: 1.236 MB / 0.5264 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.2641, allocations: 182.6 kB / 0.5266 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.2642, allocations: 15.98 kB / 0.5266 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.2644, allocations: 35.92 kB / 0.5267 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.2645, allocations: 59.73 kB / 0.5267 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.2645, allocations: 31.98 kB / 0.5268 GB, free: 13.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001027/0.2655, allocations: 1.267 MB / 0.528 GB, free: 12.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2655, allocations: 0 / 0.528 GB, free: 12.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001642/0.2672, allocations: 0.6852 MB / 0.5287 GB, free: 11.96 MB / 442.7 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.001192/0.2684, allocations: 1.846 MB / 0.5305 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.2702, allocations: 1.953 MB / 0.5324 GB, free: 8.082 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2702, allocations: 3.938 kB / 0.5324 GB, free: 8.078 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.2705, allocations: 441.3 kB / 0.5328 GB, free: 7.648 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007421/0.2713, allocations: 229.6 kB / 0.533 GB, free: 7.441 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.2889, allocations: 20.78 MB / 0.5533 GB, free: 136 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.2903, allocations: 1.7 MB / 0.555 GB, free: 14.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001206/0.2915, allocations: 0.9572 MB / 0.5559 GB, free: 13.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008133/0.2924, allocations: 1.035 MB / 0.5569 GB, free: 12.4 MB / 474.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2924, allocations: 0 / 0.5569 GB, free: 12.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.3324, allocations: 32.95 MB / 0.5891 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/8.559, allocations: 10.81 kB / 0.5891 GB, free: 11.83 MB / 0.4948 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/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: 10.62057023961097]