Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001244/0.001244, 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.001493/0.001493, allocations: 170 kB / 23.94 MB, free: 0.6172 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.8979/0.8979, 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.2425/0.2425, allocations: 32.79 MB / 293.5 MB, free: 1.234 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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.735e-05, allocations: 7.906 kB / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1921/0.1921, allocations: 8.924 MB / 448.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.1956, allocations: 2.925 MB / 451.4 MB, free: 40.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005354/0.1961, allocations: 61.19 kB / 451.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.1981, allocations: 2.662 MB / 454.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.1993, allocations: 1.25 MB / 455.4 MB, free: 38.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.1997, allocations: 384.8 kB / 455.8 MB, free: 38.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.2011, allocations: 2.587 MB / 458.4 MB, free: 37.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.2023, allocations: 2.251 MB / 460.6 MB, free: 36.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007855/0.2031, allocations: 1.547 MB / 462.2 MB, free: 35.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007196/0.2038, allocations: 1.342 MB / 463.5 MB, free: 35.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.204, allocations: 252.3 kB / 463.7 MB, free: 35.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005318/0.2045, allocations: 0.6895 MB / 464.4 MB, free: 34.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004847/0.205, allocations: 1.413 MB / 465.8 MB, free: 34.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.2054, allocations: 0.8767 MB / 466.7 MB, free: 33.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.2075, allocations: 5.096 MB / 471.8 MB, free: 32.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2075, allocations: 0 / 471.8 MB, free: 32.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2075, allocations: 0 / 471.8 MB, free: 32.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.753e-05/0.2075, allocations: 0 / 471.8 MB, free: 32.14 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.002399/0.2099, allocations: 3.234 MB / 475.1 MB, free: 30.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.21, allocations: 12.06 kB / 475.1 MB, free: 30.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003479/0.2103, allocations: 0.5464 MB / 475.6 MB, free: 29.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/0.2126, allocations: 1.638 MB / 477.3 MB, free: 29.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.214, allocations: 1.453 MB / 478.7 MB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.214, allocations: 182.7 kB / 478.9 MB, free: 28.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.2143, allocations: 231.4 kB / 479.1 MB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006196/0.2205, allocations: 7.123 MB / 486.2 MB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.2205, allocations: 13.22 kB / 486.2 MB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.2207, allocations: 110 kB / 486.4 MB, free: 25.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001289/0.222, allocations: 1.442 MB / 487.8 MB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006256/0.2282, allocations: 5.951 MB / 493.7 MB, free: 23.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.2423, allocations: 21.23 MB / 0.5029 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.2446, allocations: 1.764 MB / 0.5046 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.2451, allocations: 0.7057 MB / 0.5053 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003022/0.2481, allocations: 3.342 MB / 0.5086 GB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.2481, allocations: 42.53 kB / 0.5086 GB, free: 2.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 1.984e-06/0.2481, allocations: 0 / 0.5086 GB, free: 2.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.003218/0.2513, allocations: 2.402 MB / 0.511 GB, free: 60 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.2514, allocations: 64.06 kB / 0.511 GB, free: 15.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.2531, allocations: 2.172 MB / 0.5131 GB, free: 13.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.2531, allocations: 37.7 kB / 0.5132 GB, free: 13.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008482/0.254, allocations: 2.102 MB / 0.5152 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.2541, allocations: 349.4 kB / 0.5156 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005187/0.2546, allocations: 0.6473 MB / 0.5162 GB, free: 10.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2547, allocations: 361.9 kB / 0.5165 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009132/0.2557, allocations: 0.9352 MB / 0.5175 GB, free: 9.348 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.2575, allocations: 2.868 MB / 0.5203 GB, free: 5.516 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/0.2608, allocations: 4.154 MB / 0.5243 GB, free: 408 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-05/0.2608, allocations: 23.94 kB / 0.5243 GB, free: 384 kB / 426.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.004382/0.2652, allocations: 3.707 MB / 0.528 GB, free: 12.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.2652, allocations: 38.06 kB / 0.528 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.699e-05/0.2653, allocations: 73.97 kB / 0.5281 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.179e-05/0.2654, allocations: 88 kB / 0.5281 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.2666, allocations: 0.6862 MB / 0.5288 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.818e-05/0.2667, allocations: 135.4 kB / 0.5289 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.2681, allocations: 452.5 kB / 0.5294 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.2683, allocations: 200 kB / 0.5296 GB, free: 11.02 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.00169/0.27, allocations: 1.492 MB / 0.531 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.2702, allocations: 182.7 kB / 0.5312 GB, free: 9.332 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.2704, allocations: 218.2 kB / 0.5314 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.2704, allocations: 12 kB / 0.5314 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2704, allocations: 0 / 0.5314 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2704, allocations: 7.922 kB / 0.5314 GB, free: 9.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00537/0.2758, allocations: 4.827 MB / 0.5361 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.2758, allocations: 8 kB / 0.5361 GB, free: 4.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.2761, allocations: 119.7 kB / 0.5363 GB, free: 3.973 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.2761, allocations: 12 kB / 0.5363 GB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.2761, allocations: 31.92 kB / 0.5363 GB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.2761, allocations: 18.48 kB / 0.5363 GB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.2761, allocations: 8 kB / 0.5363 GB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.2772, allocations: 1.403 MB / 0.5377 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.2774, allocations: 218.4 kB / 0.5379 GB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.2775, allocations: 31.86 kB / 0.5379 GB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.2779, allocations: 31.94 kB / 0.538 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.2779, allocations: 63.73 kB / 0.538 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.278, allocations: 35.98 kB / 0.5381 GB, free: 2.004 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001316/0.2793, allocations: 1.456 MB / 0.5395 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2793, allocations: 0 / 0.5395 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00177/0.2811, allocations: 0.7786 MB / 0.5402 GB, free: 15.74 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.001401/0.2825, allocations: 2.019 MB / 0.5422 GB, free: 13.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.2845, allocations: 2.078 MB / 0.5442 GB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2845, allocations: 2 kB / 0.5442 GB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.2849, allocations: 481.3 kB / 0.5447 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008737/0.2858, allocations: 270.1 kB / 0.545 GB, free: 10.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/0.3089, allocations: 23.11 MB / 0.5675 GB, free: 1.027 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/0.3112, allocations: 1.952 MB / 0.5694 GB, free: 15.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001465/0.3126, allocations: 1.03 MB / 0.5704 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.3137, allocations: 1.207 MB / 0.5716 GB, free: 12.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.402e-06/0.3137, allocations: 4 kB / 0.5716 GB, free: 12.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04994/0.3636, allocations: 37.25 MB / 0.608 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.298, allocations: 26.83 kB / 0.608 GB, free: 7.934 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv. Warning: Get data of variable cutForceAndTorque.torque[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.413731356151402]