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.001069/0.001069, 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.0008396/0.0008396, allocations: 170 kB / 23.95 MB, free: 0.6133 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.903/0.903, allocations: 177.1 MB / 204.3 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.264/0.264, allocations: 34.25 MB / 294.9 MB, free: 0.6914 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.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 1.613e-06/1.613e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.071e-05, allocations: 2.281 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2023/0.2023, allocations: 8.407 MB / 450.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.2058, allocations: 2.786 MB / 453.4 MB, free: 37.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000563/0.2064, allocations: 56.44 kB / 453.4 MB, free: 37.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.2082, allocations: 2.033 MB / 455.5 MB, free: 37.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.2098, allocations: 1.165 MB / 456.6 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.2103, allocations: 317.4 kB / 456.9 MB, free: 36.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.2122, allocations: 2.375 MB / 459.3 MB, free: 35.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009964/0.2132, allocations: 1.736 MB / 461 MB, free: 34.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007613/0.2139, allocations: 1.285 MB / 462.3 MB, free: 34.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008968/0.2148, allocations: 1.139 MB / 463.5 MB, free: 33.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.215, allocations: 192.7 kB / 463.6 MB, free: 33.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006948/0.2157, allocations: 0.6477 MB / 464.3 MB, free: 33.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000535/0.2163, allocations: 1.182 MB / 465.5 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003906/0.2167, allocations: 0.7131 MB / 466.2 MB, free: 32.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.2188, allocations: 4.284 MB / 470.5 MB, free: 31.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2188, allocations: 0 / 470.5 MB, free: 31.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2188, allocations: 4 kB / 470.5 MB, free: 31.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.2188, allocations: 0 / 470.5 MB, free: 31.36 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.00228/0.2211, allocations: 2.827 MB / 473.3 MB, free: 29.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2211, allocations: 6.781 kB / 473.3 MB, free: 29.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000306/0.2214, allocations: 483 kB / 473.8 MB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.2238, allocations: 1.593 MB / 475.4 MB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.2251, allocations: 1.281 MB / 476.7 MB, free: 28.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.2251, allocations: 152.3 kB / 476.8 MB, free: 28.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.2253, allocations: 193 kB / 477 MB, free: 28.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005241/0.2306, allocations: 6.25 MB / 483.2 MB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.2306, allocations: 13.56 kB / 483.3 MB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.2308, allocations: 87.34 kB / 483.3 MB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001394/0.2322, allocations: 1.34 MB / 484.7 MB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006635/0.2388, allocations: 5.34 MB / 490 MB, free: 23.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/0.2578, allocations: 19.09 MB / 0.4972 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.2609, allocations: 1.643 MB / 0.4988 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.2616, allocations: 0.6357 MB / 0.4994 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0031/0.2647, allocations: 2.984 MB / 0.5023 GB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2647, allocations: 46.25 kB / 0.5024 GB, free: 7.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.735e-06/0.2647, allocations: 2.344 kB / 0.5024 GB, free: 7.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002756/0.2674, allocations: 2.112 MB / 0.5044 GB, free: 5.504 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.2675, allocations: 55.91 kB / 0.5045 GB, free: 5.438 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.2688, allocations: 2.054 MB / 0.5065 GB, free: 3.379 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.2688, allocations: 29.7 kB / 0.5065 GB, free: 3.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.2692, allocations: 1.903 MB / 0.5084 GB, free: 1.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.2694, allocations: 321.6 kB / 0.5087 GB, free: 1.102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.2698, allocations: 0.6078 MB / 0.5093 GB, free: 496 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.12e-05/0.2699, allocations: 353.9 kB / 0.5096 GB, free: 136 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008302/0.2707, allocations: 0.892 MB / 0.5105 GB, free: 15.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.2725, allocations: 2.748 MB / 0.5132 GB, free: 11.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/0.2756, allocations: 3.974 MB / 0.517 GB, free: 6.648 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-05/0.2756, allocations: 19.94 kB / 0.5171 GB, free: 6.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004906/0.2805, allocations: 3.529 MB / 0.5205 GB, free: 3.098 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.2806, allocations: 32 kB / 0.5205 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.477e-05/0.2806, allocations: 64 kB / 0.5206 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.172e-05/0.2807, allocations: 88 kB / 0.5207 GB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.2824, allocations: 0.6596 MB / 0.5213 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.684e-05/0.2825, allocations: 132.3 kB / 0.5215 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.2842, allocations: 428.8 kB / 0.5219 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.2844, allocations: 188 kB / 0.522 GB, free: 1.523 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.00205/0.2865, allocations: 1.352 MB / 0.5234 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.2867, allocations: 162.9 kB / 0.5235 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.2869, allocations: 200.9 kB / 0.5237 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.287, allocations: 8 kB / 0.5237 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.287, allocations: 3.938 kB / 0.5237 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.287, allocations: 3.984 kB / 0.5237 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006005/0.293, allocations: 3.976 MB / 0.5276 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.293, allocations: 8 kB / 0.5276 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.2933, allocations: 92.62 kB / 0.5277 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.2934, allocations: 8 kB / 0.5277 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.2934, allocations: 24 kB / 0.5277 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.2934, allocations: 11.94 kB / 0.5278 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.2934, allocations: 11.94 kB / 0.5278 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.2948, allocations: 1.232 MB / 0.529 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.295, allocations: 182.4 kB / 0.5291 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.2952, allocations: 19.98 kB / 0.5292 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.2956, allocations: 27.94 kB / 0.5292 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/0.2957, allocations: 67.67 kB / 0.5293 GB, free: 9.906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.2958, allocations: 28 kB / 0.5293 GB, free: 9.879 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001608/0.2974, allocations: 1.263 MB / 0.5305 GB, free: 8.625 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2974, allocations: 0 / 0.5305 GB, free: 8.625 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002566/0.2999, allocations: 0.6891 MB / 0.5312 GB, free: 7.934 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.0018/0.3017, allocations: 1.846 MB / 0.533 GB, free: 5.992 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.3039, allocations: 1.962 MB / 0.5349 GB, free: 4.051 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3039, allocations: 0 / 0.5349 GB, free: 4.051 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.3043, allocations: 434.6 kB / 0.5353 GB, free: 3.629 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/0.3052, allocations: 240.6 kB / 0.5355 GB, free: 3.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/0.3252, allocations: 20.77 MB / 0.5558 GB, free: 12.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/0.3268, allocations: 1.703 MB / 0.5575 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00138/0.3281, allocations: 0.948 MB / 0.5584 GB, free: 9.414 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000898/0.329, allocations: 1.031 MB / 0.5594 GB, free: 8.383 MB / 474.7 MB Notification: Performance of SimCode: time 1.983e-06/0.329, allocations: 0 / 0.5594 GB, free: 8.383 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/0.3721, allocations: 32.96 MB / 0.5916 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.843/8.215, allocations: 7.859 kB / 0.5916 GB, free: 7.805 MB / 0.4948 GB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/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: 10.36175771523267]