Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009045/0.0009045, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0007745/0.0007745, 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.9177/0.9177, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2741/0.2741, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.811e-05, allocations: 10.28 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.174/0.174, allocations: 8.395 MB / 450.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004472/0.1785, allocations: 2.789 MB / 453.4 MB, free: 38.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.1795, allocations: 54.75 kB / 453.4 MB, free: 38.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.1815, allocations: 2.036 MB / 455.4 MB, free: 37.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.1836, allocations: 1.167 MB / 456.6 MB, free: 36.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005919/0.1842, allocations: 318.1 kB / 456.9 MB, free: 36.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.1864, allocations: 2.37 MB / 459.3 MB, free: 35.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.1878, allocations: 1.74 MB / 461 MB, free: 34.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.189, allocations: 1.289 MB / 462.3 MB, free: 34.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.19, allocations: 1.138 MB / 463.5 MB, free: 34.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.1902, allocations: 196.8 kB / 463.7 MB, free: 34.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007218/0.1909, allocations: 0.6414 MB / 464.3 MB, free: 33.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005668/0.1915, allocations: 1.18 MB / 465.5 MB, free: 33.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005331/0.192, allocations: 0.7142 MB / 466.2 MB, free: 33.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002983/0.195, allocations: 4.289 MB / 470.5 MB, free: 31.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.195, allocations: 0 / 470.5 MB, free: 31.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.195, allocations: 0 / 470.5 MB, free: 31.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000106/0.1951, allocations: 0 / 470.5 MB, free: 31.58 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.003719/0.1988, allocations: 2.826 MB / 473.3 MB, free: 29.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1989, allocations: 9.75 kB / 473.3 MB, free: 29.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004234/0.1993, allocations: 485.3 kB / 473.8 MB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.2019, allocations: 1.591 MB / 475.4 MB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.2038, allocations: 1.283 MB / 476.7 MB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.2038, allocations: 144.9 kB / 476.8 MB, free: 28.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.2041, allocations: 190.6 kB / 477 MB, free: 28.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006742/0.2108, allocations: 6.252 MB / 483.2 MB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.2108, allocations: 15.91 kB / 483.3 MB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.211, allocations: 91.47 kB / 483.3 MB, free: 25.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001549/0.2125, allocations: 1.341 MB / 484.7 MB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00876/0.2213, allocations: 5.334 MB / 490 MB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01929/0.2406, allocations: 19.08 MB / 0.4972 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.2432, allocations: 1.656 MB / 0.4988 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005796/0.2438, allocations: 0.6337 MB / 0.4994 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003262/0.2471, allocations: 2.987 MB / 0.5023 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.2471, allocations: 39.06 kB / 0.5024 GB, free: 7.781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.276e-06/0.2471, allocations: 6.344 kB / 0.5024 GB, free: 7.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002814/0.2499, allocations: 2.112 MB / 0.5044 GB, free: 5.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.2499, allocations: 55.91 kB / 0.5045 GB, free: 5.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.2514, allocations: 2.05 MB / 0.5065 GB, free: 3.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.2514, allocations: 41.69 kB / 0.5065 GB, free: 3.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.2519, allocations: 1.895 MB / 0.5084 GB, free: 1.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.252, allocations: 321.6 kB / 0.5087 GB, free: 1.258 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.2523, allocations: 0.6078 MB / 0.5093 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.2524, allocations: 361.9 kB / 0.5096 GB, free: 288 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007877/0.2532, allocations: 0.8881 MB / 0.5105 GB, free: 15.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.2548, allocations: 2.751 MB / 0.5132 GB, free: 11.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002687/0.2574, allocations: 3.972 MB / 0.517 GB, free: 6.805 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.084e-05/0.2575, allocations: 20 kB / 0.5171 GB, free: 6.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00362/0.2611, allocations: 3.525 MB / 0.5205 GB, free: 3.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.2611, allocations: 32 kB / 0.5205 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.77e-05/0.2612, allocations: 68 kB / 0.5206 GB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.905e-05/0.2612, allocations: 84 kB / 0.5207 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.2623, allocations: 0.6628 MB / 0.5213 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.624e-05/0.2624, allocations: 132.3 kB / 0.5215 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.2636, allocations: 425.3 kB / 0.5219 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.2638, allocations: 192 kB / 0.522 GB, free: 1.676 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.00179/0.2656, allocations: 1.34 MB / 0.5234 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.2658, allocations: 166.9 kB / 0.5235 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.2661, allocations: 197 kB / 0.5237 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.2661, allocations: 15.89 kB / 0.5237 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.2661, allocations: 11.94 kB / 0.5237 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2661, allocations: 3.984 kB / 0.5237 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/0.2709, allocations: 3.972 MB / 0.5276 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.2709, allocations: 4 kB / 0.5276 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.2712, allocations: 99.88 kB / 0.5277 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.2712, allocations: 8 kB / 0.5277 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.2712, allocations: 12.72 kB / 0.5277 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.2712, allocations: 19.92 kB / 0.5278 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.2712, allocations: 15.56 kB / 0.5278 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000971/0.2722, allocations: 1.224 MB / 0.529 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.2724, allocations: 178.6 kB / 0.5291 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.2725, allocations: 23.97 kB / 0.5292 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.2728, allocations: 31.94 kB / 0.5292 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.2729, allocations: 59.67 kB / 0.5292 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.2729, allocations: 32 kB / 0.5293 GB, free: 10.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001347/0.2743, allocations: 1.263 MB / 0.5305 GB, free: 8.781 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2743, allocations: 4 kB / 0.5305 GB, free: 8.777 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001786/0.276, allocations: 0.6891 MB / 0.5312 GB, free: 8.086 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.001385/0.2774, allocations: 1.846 MB / 0.533 GB, free: 6.145 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.2796, allocations: 1.958 MB / 0.5349 GB, free: 4.207 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.2796, allocations: 4 kB / 0.5349 GB, free: 4.203 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.28, allocations: 433.8 kB / 0.5353 GB, free: 3.781 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008974/0.2809, allocations: 239.8 kB / 0.5355 GB, free: 3.566 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/0.3016, allocations: 20.77 MB / 0.5558 GB, free: 12.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.3033, allocations: 1.703 MB / 0.5575 GB, free: 10.53 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001415/0.3047, allocations: 0.9518 MB / 0.5584 GB, free: 9.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009206/0.3056, allocations: 1.039 MB / 0.5594 GB, free: 8.531 MB / 474.7 MB Notification: Performance of SimCode: time 2.585e-06/0.3056, allocations: 0 / 0.5594 GB, free: 8.531 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04644/0.3521, allocations: 32.95 MB / 0.5916 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.362, allocations: 7.859 kB / 0.5916 GB, free: 7.965 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.541614185087383]