Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001075/0.001075, 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.0009023/0.0009023, allocations: 174 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.8927/0.8927, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2618/0.2618, allocations: 34.25 MB / 294.9 MB, free: 0.7031 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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.348e-06/4.348e-06, allocations: 7.984 kB / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.6e-05, allocations: 4.812 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1946/0.1946, allocations: 8.923 MB / 451.1 MB, free: 39.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004875/0.1995, allocations: 2.928 MB / 454 MB, free: 37.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.2009, allocations: 64.22 kB / 454.1 MB, free: 37.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.2034, allocations: 2.656 MB / 456.7 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.2059, allocations: 1.252 MB / 458 MB, free: 36.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.2066, allocations: 380.2 kB / 458.4 MB, free: 35.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.2089, allocations: 2.584 MB / 460.9 MB, free: 34.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.2112, allocations: 2.262 MB / 463.2 MB, free: 33.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.2127, allocations: 1.547 MB / 464.8 MB, free: 33.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.2141, allocations: 1.339 MB / 466.1 MB, free: 32.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002734/0.2144, allocations: 251.2 kB / 466.3 MB, free: 32.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008748/0.2152, allocations: 0.6992 MB / 467 MB, free: 32.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006879/0.2159, allocations: 1.41 MB / 468.4 MB, free: 32.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.2166, allocations: 0.8761 MB / 469.3 MB, free: 31.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.2199, allocations: 5.092 MB / 474.4 MB, free: 29.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.22, allocations: 3.469 kB / 474.4 MB, free: 29.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.22, allocations: 0 / 474.4 MB, free: 29.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001518/0.2201, allocations: 0 / 474.4 MB, free: 29.82 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.004151/0.2243, allocations: 3.236 MB / 477.7 MB, free: 27.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.2243, allocations: 9.062 kB / 477.7 MB, free: 27.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004737/0.2248, allocations: 0.5501 MB / 478.2 MB, free: 27.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.2276, allocations: 1.637 MB / 479.8 MB, free: 27.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.2298, allocations: 1.447 MB / 481.3 MB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.2299, allocations: 183.5 kB / 481.5 MB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002922/0.2302, allocations: 226.1 kB / 481.7 MB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009299/0.2395, allocations: 7.127 MB / 488.8 MB, free: 23.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/0.2395, allocations: 14.22 kB / 488.8 MB, free: 23.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.2397, allocations: 102.5 kB / 488.9 MB, free: 23.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001641/0.2414, allocations: 1.447 MB / 490.4 MB, free: 23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009749/0.2511, allocations: 5.95 MB / 496.3 MB, free: 21.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02178/0.2729, allocations: 21.23 MB / 0.5054 GB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.2753, allocations: 1.765 MB / 0.5072 GB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/0.2759, allocations: 0.7073 MB / 0.5078 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003939/0.2798, allocations: 3.334 MB / 0.5111 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.2799, allocations: 39.16 kB / 0.5111 GB, free: 14.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 3.898e-06/0.2799, allocations: 4 kB / 0.5111 GB, free: 14.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.004232/0.2841, allocations: 2.406 MB / 0.5135 GB, free: 12.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.2841, allocations: 61.09 kB / 0.5135 GB, free: 12.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.2863, allocations: 2.176 MB / 0.5157 GB, free: 10.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/0.2863, allocations: 41.64 kB / 0.5157 GB, free: 10.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.2875, allocations: 2.098 MB / 0.5178 GB, free: 7.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.2877, allocations: 353.3 kB / 0.5181 GB, free: 7.551 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005564/0.2883, allocations: 0.6434 MB / 0.5187 GB, free: 6.898 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2884, allocations: 361.9 kB / 0.5191 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.2895, allocations: 0.9313 MB / 0.52 GB, free: 5.605 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.2912, allocations: 2.872 MB / 0.5228 GB, free: 1.766 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.2947, allocations: 4.151 MB / 0.5268 GB, free: 12.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.538e-05/0.2947, allocations: 16 kB / 0.5269 GB, free: 12.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.004224/0.299, allocations: 3.718 MB / 0.5305 GB, free: 8.922 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.299, allocations: 36.25 kB / 0.5305 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.963e-05/0.2991, allocations: 75.98 kB / 0.5306 GB, free: 8.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.859e-05/0.2991, allocations: 88 kB / 0.5307 GB, free: 8.727 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.3003, allocations: 0.6862 MB / 0.5313 GB, free: 8.039 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003603/0.3007, allocations: 140.8 kB / 0.5315 GB, free: 7.902 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.3022, allocations: 448.6 kB / 0.5319 GB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.3024, allocations: 192 kB / 0.5321 GB, free: 7.273 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (382): * Single equations (assignments): 377 * 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.001821/0.3042, allocations: 1.503 MB / 0.5336 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.3044, allocations: 182.7 kB / 0.5337 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.3046, allocations: 214.2 kB / 0.5339 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.3046, allocations: 8 kB / 0.5339 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.3046, allocations: 4 kB / 0.534 GB, free: 5.348 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3046, allocations: 3.984 kB / 0.534 GB, free: 5.344 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005324/0.3099, allocations: 4.831 MB / 0.5387 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.31, allocations: 8 kB / 0.5387 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.3102, allocations: 115.8 kB / 0.5388 GB, free: 236 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.3102, allocations: 12 kB / 0.5388 GB, free: 224 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.3103, allocations: 23.94 kB / 0.5388 GB, free: 200 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.3103, allocations: 19.92 kB / 0.5388 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.3103, allocations: 12.47 kB / 0.5389 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.3114, allocations: 1.399 MB / 0.5402 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.3117, allocations: 214.4 kB / 0.5404 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3118, allocations: 27.94 kB / 0.5405 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.3121, allocations: 35.92 kB / 0.5405 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.3121, allocations: 68.59 kB / 0.5406 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.3122, allocations: 39.98 kB / 0.5406 GB, free: 14.26 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001359/0.3135, allocations: 1.444 MB / 0.542 GB, free: 12.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3135, allocations: 0 / 0.542 GB, free: 12.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001815/0.3154, allocations: 0.7824 MB / 0.5428 GB, free: 12.01 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.001339/0.3167, allocations: 2.015 MB / 0.5447 GB, free: 9.875 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.319, allocations: 2.072 MB / 0.5468 GB, free: 7.816 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.319, allocations: 4 kB / 0.5468 GB, free: 7.812 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.3193, allocations: 485.2 kB / 0.5472 GB, free: 7.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.3202, allocations: 269.5 kB / 0.5475 GB, free: 7.082 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02333/0.3435, allocations: 23.13 MB / 0.5701 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/0.3456, allocations: 1.946 MB / 0.572 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001425/0.347, allocations: 1.028 MB / 0.573 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009779/0.348, allocations: 1.203 MB / 0.5741 GB, free: 9.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.223e-06/0.348, allocations: 0 / 0.5741 GB, free: 9.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05098/0.399, allocations: 37.26 MB / 0.6105 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.172, allocations: 18.27 kB / 0.6105 GB, free: 4.207 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_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_CutForceAndTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutForceAndTorque.torque[3] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv. Warning: Get data of variable cutForceAndTorque.torque[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.307550399564207]