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.001063/0.001063, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001017/0.001017, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9347/0.9347, allocations: 177.1 MB / 204.3 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.2372/0.2372, allocations: 32.79 MB / 293.5 MB, free: 1.227 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.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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.555e-05, allocations: 2.844 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.1858/0.1858, allocations: 8.417 MB / 448 MB, free: 42.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.1896, allocations: 2.78 MB / 450.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005202/0.1901, allocations: 56.16 kB / 450.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.1918, allocations: 2.04 MB / 452.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.193, allocations: 1.17 MB / 454 MB, free: 39.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1933, allocations: 319.6 kB / 454.3 MB, free: 39.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.1946, allocations: 2.365 MB / 456.7 MB, free: 38.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009407/0.1955, allocations: 1.751 MB / 458.5 MB, free: 37.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006641/0.1962, allocations: 1.283 MB / 459.7 MB, free: 36.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006542/0.1968, allocations: 1.136 MB / 460.9 MB, free: 36.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.1969, allocations: 195.2 kB / 461.1 MB, free: 36.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.1974, allocations: 0.6461 MB / 461.7 MB, free: 36.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004244/0.1979, allocations: 1.174 MB / 462.9 MB, free: 35.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.1982, allocations: 0.7168 MB / 463.6 MB, free: 35.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.2003, allocations: 4.285 MB / 467.9 MB, free: 34.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2003, allocations: 0 / 467.9 MB, free: 34.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2003, allocations: 0 / 467.9 MB, free: 34.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.2003, allocations: 3.406 kB / 467.9 MB, free: 34.04 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.002509/0.2028, allocations: 2.833 MB / 470.7 MB, free: 32.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2028, allocations: 8.938 kB / 470.7 MB, free: 32.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003247/0.2032, allocations: 485.9 kB / 471.2 MB, free: 32.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.2056, allocations: 1.588 MB / 472.8 MB, free: 31.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.2068, allocations: 1.281 MB / 474.1 MB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.2069, allocations: 146.7 kB / 474.2 MB, free: 31.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.2071, allocations: 188.3 kB / 474.4 MB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005176/0.2122, allocations: 6.26 MB / 480.7 MB, free: 28.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/0.2123, allocations: 12.97 kB / 480.7 MB, free: 28.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.2125, allocations: 88.12 kB / 480.8 MB, free: 28.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001823/0.2143, allocations: 1.339 MB / 482.1 MB, free: 28.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0069/0.2212, allocations: 5.336 MB / 487.4 MB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/0.2354, allocations: 19.08 MB / 0.4946 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.2381, allocations: 1.651 MB / 0.4963 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/0.2386, allocations: 0.6436 MB / 0.4969 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003093/0.2417, allocations: 2.975 MB / 0.4998 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.2418, allocations: 35.58 kB / 0.4998 GB, free: 11.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 1.983e-06/0.2418, allocations: 0 / 0.4998 GB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002665/0.2444, allocations: 2.118 MB / 0.5019 GB, free: 9.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2445, allocations: 62.25 kB / 0.502 GB, free: 9.449 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.2458, allocations: 2.05 MB / 0.504 GB, free: 7.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.2458, allocations: 37.69 kB / 0.504 GB, free: 7.352 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.2462, allocations: 1.903 MB / 0.5059 GB, free: 5.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.2463, allocations: 313.6 kB / 0.5062 GB, free: 5.117 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.2467, allocations: 0.6078 MB / 0.5067 GB, free: 4.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.2467, allocations: 357.9 kB / 0.5071 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006771/0.2474, allocations: 0.8842 MB / 0.508 GB, free: 3.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.2486, allocations: 2.759 MB / 0.5106 GB, free: 15.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/0.2514, allocations: 3.971 MB / 0.5145 GB, free: 10.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.026e-05/0.2514, allocations: 20 kB / 0.5145 GB, free: 10.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002994/0.2544, allocations: 3.527 MB / 0.518 GB, free: 7.117 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.2545, allocations: 36.03 kB / 0.518 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-05/0.2545, allocations: 68 kB / 0.5181 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.221e-05/0.2545, allocations: 88 kB / 0.5182 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/0.2555, allocations: 0.6589 MB / 0.5188 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.816e-05/0.2556, allocations: 131.5 kB / 0.5189 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009369/0.2565, allocations: 424.8 kB / 0.5193 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.2567, allocations: 184 kB / 0.5195 GB, free: 5.543 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.001337/0.258, allocations: 1.356 MB / 0.5208 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.2581, allocations: 162.9 kB / 0.521 GB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.2583, allocations: 196.9 kB / 0.5212 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.2583, allocations: 15.12 kB / 0.5212 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.2583, allocations: 0 / 0.5212 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2583, allocations: 3.984 kB / 0.5212 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.2619, allocations: 3.977 MB / 0.5251 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.2619, allocations: 4 kB / 0.5251 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.2621, allocations: 103.8 kB / 0.5252 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.2621, allocations: 8 kB / 0.5252 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.2622, allocations: 20 kB / 0.5252 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.2622, allocations: 11.94 kB / 0.5252 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.2622, allocations: 4 kB / 0.5252 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008973/0.2631, allocations: 1.24 MB / 0.5264 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2632, allocations: 178.6 kB / 0.5266 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.634e-05/0.2633, allocations: 19.98 kB / 0.5266 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.2635, allocations: 31.92 kB / 0.5267 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.2636, allocations: 59.73 kB / 0.5267 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.2636, allocations: 28 kB / 0.5267 GB, free: 13.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001089/0.2647, allocations: 1.267 MB / 0.528 GB, free: 12.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2647, allocations: 0 / 0.528 GB, free: 12.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001372/0.2661, allocations: 0.6852 MB / 0.5287 GB, free: 11.95 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.001173/0.2673, allocations: 1.85 MB / 0.5305 GB, free: 10 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.2689, allocations: 1.956 MB / 0.5324 GB, free: 8.062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.269, allocations: 7.938 kB / 0.5324 GB, free: 8.055 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.2693, allocations: 432.4 kB / 0.5328 GB, free: 7.633 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.2701, allocations: 239 kB / 0.533 GB, free: 7.414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.288, allocations: 20.76 MB / 0.5533 GB, free: 120 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.2894, allocations: 1.708 MB / 0.555 GB, free: 14.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001187/0.2905, allocations: 0.9494 MB / 0.5559 GB, free: 13.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007726/0.2913, allocations: 1.035 MB / 0.5569 GB, free: 12.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.253e-06/0.2913, allocations: 0 / 0.5569 GB, free: 12.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03962/0.3309, allocations: 32.96 MB / 0.5891 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.363, allocations: 10.81 kB / 0.5891 GB, free: 11.82 MB / 0.4948 GB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/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: 10.51185507234186]