Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.0009634/0.0009634, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.001059/0.001059, allocations: 166 kB / 23.95 MB, free: 0.5977 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.8724/0.8724, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2265/0.2265, allocations: 34.25 MB / 294.9 MB, free: 0.7305 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.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 442.2 MB, free: 1.707 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.262e-05, allocations: 6.281 kB / 442.2 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.166/0.166, allocations: 8.412 MB / 450.6 MB, free: 39.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003844/0.1699, allocations: 2.795 MB / 453.4 MB, free: 38.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000807/0.1707, allocations: 55.56 kB / 453.4 MB, free: 38.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.1724, allocations: 2.029 MB / 455.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.1739, allocations: 1.168 MB / 456.6 MB, free: 36.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.1743, allocations: 316.8 kB / 456.9 MB, free: 36.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.1759, allocations: 2.364 MB / 459.3 MB, free: 35.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.177, allocations: 1.743 MB / 461 MB, free: 34.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008173/0.1778, allocations: 1.285 MB / 462.3 MB, free: 34.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007392/0.1785, allocations: 1.133 MB / 463.5 MB, free: 34.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.1787, allocations: 195 kB / 463.6 MB, free: 34.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.1792, allocations: 0.6522 MB / 464.3 MB, free: 33.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.1796, allocations: 1.182 MB / 465.5 MB, free: 33.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003698/0.18, allocations: 0.7127 MB / 466.2 MB, free: 33.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.182, allocations: 4.282 MB / 470.5 MB, free: 31.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.182, allocations: 3.219 kB / 470.5 MB, free: 31.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.182, allocations: 0 / 470.5 MB, free: 31.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.63e-05/0.1821, 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.002317/0.1844, allocations: 2.834 MB / 473.3 MB, free: 29.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1844, allocations: 9.188 kB / 473.3 MB, free: 29.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002948/0.1847, allocations: 482.4 kB / 473.8 MB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.187, allocations: 1.595 MB / 475.4 MB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.1882, allocations: 1.274 MB / 476.7 MB, free: 28.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.1883, allocations: 150.8 kB / 476.8 MB, free: 28.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.1885, allocations: 193.4 kB / 477 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005/0.1935, allocations: 6.252 MB / 483.2 MB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.1935, allocations: 16.28 kB / 483.3 MB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.1936, allocations: 87.44 kB / 483.3 MB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00146/0.1951, allocations: 1.344 MB / 484.7 MB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006753/0.2019, allocations: 5.328 MB / 490 MB, free: 23.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/0.217, allocations: 19.13 MB / 0.4972 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.2194, allocations: 1.568 MB / 0.4987 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.2199, allocations: 0.6415 MB / 0.4994 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003129/0.2231, allocations: 3.126 MB / 0.5024 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.2231, allocations: 42.25 kB / 0.5025 GB, free: 7.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.465e-06/0.2231, allocations: 2.344 kB / 0.5025 GB, free: 7.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002807/0.2259, allocations: 2.119 MB / 0.5045 GB, free: 5.566 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.2259, allocations: 59.91 kB / 0.5046 GB, free: 5.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.2274, allocations: 2.05 MB / 0.5066 GB, free: 3.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.2274, allocations: 37.69 kB / 0.5066 GB, free: 3.398 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005641/0.228, allocations: 1.895 MB / 0.5085 GB, free: 1.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.2281, allocations: 325.6 kB / 0.5088 GB, free: 1.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003962/0.2285, allocations: 0.6039 MB / 0.5094 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.2286, allocations: 361.9 kB / 0.5097 GB, free: 192 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000838/0.2294, allocations: 0.8881 MB / 0.5106 GB, free: 15.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.2311, allocations: 2.748 MB / 0.5133 GB, free: 11.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/0.2339, allocations: 3.974 MB / 0.5172 GB, free: 6.711 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.748e-05/0.2339, allocations: 20 kB / 0.5172 GB, free: 6.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003283/0.2372, allocations: 3.533 MB / 0.5206 GB, free: 3.156 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.2373, allocations: 36 kB / 0.5207 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.848e-05/0.2373, allocations: 67.94 kB / 0.5207 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.129e-05/0.2374, allocations: 88 kB / 0.5208 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.2384, allocations: 0.655 MB / 0.5215 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-05/0.2385, allocations: 132.2 kB / 0.5216 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.2395, allocations: 437.1 kB / 0.522 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.2396, allocations: 180 kB / 0.5222 GB, free: 1.578 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.001308/0.2409, allocations: 1.343 MB / 0.5235 GB, free: 232 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.2412, allocations: 164.8 kB / 0.5236 GB, free: 68 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.2414, allocations: 192.9 kB / 0.5238 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.2414, allocations: 15.98 kB / 0.5238 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2414, allocations: 3.938 kB / 0.5238 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2414, allocations: 7.984 kB / 0.5238 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004269/0.2457, allocations: 3.928 MB / 0.5277 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.2457, allocations: 8 kB / 0.5277 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.2459, allocations: 103.8 kB / 0.5278 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.2459, allocations: 8 kB / 0.5278 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.246, allocations: 19.94 kB / 0.5278 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.246, allocations: 11.94 kB / 0.5278 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.246, allocations: 12.22 kB / 0.5278 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.247, allocations: 1.252 MB / 0.5291 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.2472, allocations: 182.6 kB / 0.5292 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.2473, allocations: 27.92 kB / 0.5293 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.2476, allocations: 19.98 kB / 0.5293 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.2476, allocations: 63.73 kB / 0.5293 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.2477, allocations: 31.94 kB / 0.5294 GB, free: 9.938 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.2488, allocations: 1.271 MB / 0.5306 GB, free: 8.676 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2488, allocations: 4 kB / 0.5306 GB, free: 8.672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001639/0.2504, allocations: 0.6813 MB / 0.5313 GB, free: 7.988 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.001293/0.2517, allocations: 1.881 MB / 0.5331 GB, free: 6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.2537, allocations: 1.953 MB / 0.535 GB, free: 4.066 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2537, allocations: 0 / 0.535 GB, free: 4.066 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.254, allocations: 433.8 kB / 0.5354 GB, free: 3.645 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.2547, allocations: 245.6 kB / 0.5357 GB, free: 3.426 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.2719, allocations: 20.84 MB / 0.556 GB, free: 12.04 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.2733, allocations: 1.704 MB / 0.5577 GB, free: 10.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001217/0.2745, allocations: 0.9543 MB / 0.5586 GB, free: 9.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008376/0.2753, allocations: 1.043 MB / 0.5596 GB, free: 8.297 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2753, allocations: 4 kB / 0.5596 GB, free: 8.293 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.315, allocations: 32.97 MB / 0.5918 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.381, allocations: 8.5 kB / 0.5919 GB, free: 7.719 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_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_CutTorque2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.41268652305007]