Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.0008812/0.0008812, allocations: 79.69 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.001004/0.001004, 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.8998/0.8998, 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.241/0.241, allocations: 34.26 MB / 294.9 MB, free: 0.7344 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.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 442.2 MB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.492e-05, allocations: 11.06 kB / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.1805/0.1806, allocations: 8.407 MB / 450.6 MB, free: 39.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003993/0.1845, allocations: 2.789 MB / 453.4 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007793/0.1853, allocations: 57.75 kB / 453.4 MB, free: 38.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.1871, allocations: 2.031 MB / 455.5 MB, free: 37.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.1886, allocations: 1.168 MB / 456.6 MB, free: 36.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.189, allocations: 318.9 kB / 456.9 MB, free: 36.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.1907, allocations: 2.37 MB / 459.3 MB, free: 35.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.1918, allocations: 1.743 MB / 461 MB, free: 34.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008835/0.1927, allocations: 1.286 MB / 462.3 MB, free: 34.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008793/0.1936, allocations: 1.129 MB / 463.5 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.1937, allocations: 196.9 kB / 463.7 MB, free: 34.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006698/0.1944, allocations: 0.6462 MB / 464.3 MB, free: 33.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004789/0.1949, allocations: 1.177 MB / 465.5 MB, free: 33.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.1953, allocations: 0.7138 MB / 466.2 MB, free: 33.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.1976, allocations: 4.281 MB / 470.5 MB, free: 31.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1976, allocations: 11.88 kB / 470.5 MB, free: 31.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1976, allocations: 3.094 kB / 470.5 MB, free: 31.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.553e-05/0.1976, allocations: 0 / 470.5 MB, free: 31.54 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.002719/0.2004, allocations: 2.827 MB / 473.3 MB, free: 29.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2004, allocations: 10.06 kB / 473.3 MB, free: 29.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003116/0.2007, allocations: 482.2 kB / 473.8 MB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/0.2033, allocations: 1.592 MB / 475.4 MB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.2049, allocations: 1.278 MB / 476.7 MB, free: 28.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.2049, allocations: 158.5 kB / 476.8 MB, free: 28.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.2051, allocations: 182.1 kB / 477 MB, free: 28.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006796/0.2119, allocations: 6.257 MB / 483.3 MB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.212, allocations: 14.73 kB / 483.3 MB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.2121, allocations: 86.84 kB / 483.4 MB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001455/0.2136, allocations: 1.341 MB / 484.7 MB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007697/0.2213, allocations: 5.336 MB / 490 MB, free: 23.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02056/0.2418, allocations: 19.13 MB / 0.4972 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.2451, allocations: 1.571 MB / 0.4988 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008364/0.2459, allocations: 0.6348 MB / 0.4994 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003942/0.2499, allocations: 3.13 MB / 0.5024 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.2499, allocations: 38.25 kB / 0.5025 GB, free: 7.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.836e-06/0.2499, allocations: 0 / 0.5025 GB, free: 7.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002998/0.2529, allocations: 2.122 MB / 0.5045 GB, free: 5.547 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.2529, allocations: 55.91 kB / 0.5046 GB, free: 5.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.2546, allocations: 2.046 MB / 0.5066 GB, free: 3.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.2546, allocations: 37.7 kB / 0.5066 GB, free: 3.387 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/0.2551, allocations: 1.899 MB / 0.5085 GB, free: 1.465 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.2552, allocations: 317.6 kB / 0.5088 GB, free: 1.152 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003991/0.2556, allocations: 0.6156 MB / 0.5094 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.2557, allocations: 365.8 kB / 0.5097 GB, free: 168 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008187/0.2565, allocations: 0.8842 MB / 0.5106 GB, free: 15.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.2582, allocations: 2.751 MB / 0.5133 GB, free: 11.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00302/0.2612, allocations: 3.97 MB / 0.5172 GB, free: 6.691 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.778e-05/0.2613, allocations: 20 kB / 0.5172 GB, free: 6.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003761/0.265, allocations: 3.526 MB / 0.5206 GB, free: 3.145 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.2651, allocations: 32 kB / 0.5207 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.99e-05/0.2651, allocations: 68 kB / 0.5207 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-05/0.2652, allocations: 84 kB / 0.5208 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.2662, allocations: 0.6627 MB / 0.5215 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.54e-05/0.2663, allocations: 128.3 kB / 0.5216 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.2677, allocations: 437.2 kB / 0.522 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.2679, allocations: 192 kB / 0.5222 GB, free: 1.559 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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.001457/0.2693, allocations: 1.339 MB / 0.5235 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.2695, allocations: 164.9 kB / 0.5236 GB, free: 52 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.2697, allocations: 201 kB / 0.5238 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.2697, allocations: 8 kB / 0.5238 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.2697, allocations: 4 kB / 0.5238 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.2697, allocations: 7.984 kB / 0.5238 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004246/0.274, allocations: 3.932 MB / 0.5277 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.274, allocations: 7.984 kB / 0.5277 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.2742, allocations: 103.8 kB / 0.5278 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.2742, allocations: 8 kB / 0.5278 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.2743, allocations: 23.92 kB / 0.5278 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.2743, allocations: 8.562 kB / 0.5278 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.2743, allocations: 15.69 kB / 0.5278 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.2754, allocations: 1.252 MB / 0.5291 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.2756, allocations: 178.6 kB / 0.5292 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.295e-05/0.2757, allocations: 23.92 kB / 0.5293 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.2759, allocations: 27.97 kB / 0.5293 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.276, allocations: 59.8 kB / 0.5293 GB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.276, allocations: 28 kB / 0.5294 GB, free: 9.922 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001179/0.2772, allocations: 1.267 MB / 0.5306 GB, free: 8.664 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2772, allocations: 3.938 kB / 0.5306 GB, free: 8.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00177/0.279, allocations: 0.6891 MB / 0.5313 GB, free: 7.969 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.00124/0.2802, allocations: 1.873 MB / 0.5331 GB, free: 5.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.2822, allocations: 1.961 MB / 0.535 GB, free: 4.047 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.2822, allocations: 4 kB / 0.535 GB, free: 4.043 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.2826, allocations: 433.8 kB / 0.5354 GB, free: 3.621 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.2833, allocations: 232.6 kB / 0.5357 GB, free: 3.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.3039, allocations: 20.85 MB / 0.556 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/0.3059, allocations: 1.703 MB / 0.5577 GB, free: 10.28 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001327/0.3073, allocations: 0.9597 MB / 0.5586 GB, free: 9.316 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009213/0.3082, allocations: 1.043 MB / 0.5596 GB, free: 8.273 MB / 474.7 MB Notification: Performance of SimCode: time 1.223e-06/0.3082, allocations: 0 / 0.5596 GB, free: 8.273 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/0.3539, allocations: 32.97 MB / 0.5918 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.42, allocations: 12.56 kB / 0.5919 GB, free: 7.695 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_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_CutTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutTorque.torque[3] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.528592613525689]