Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001168/0.001168, allocations: 83.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.000871/0.000871, allocations: 170 kB / 23.95 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.8726/0.8726, 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.2321/0.2321, allocations: 32.79 MB / 293.5 MB, free: 1.219 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.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 7.875 kB / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.44e-05/5.656e-05, allocations: 4.109 kB / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.1841/0.1841, allocations: 8.416 MB / 448 MB, free: 41.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.1874, allocations: 2.784 MB / 450.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004525/0.1879, allocations: 55.88 kB / 450.8 MB, free: 40.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.1896, allocations: 2.035 MB / 452.9 MB, free: 39.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.1907, allocations: 1.174 MB / 454 MB, free: 39.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.1911, allocations: 314.2 kB / 454.3 MB, free: 38.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.1929, allocations: 2.373 MB / 456.7 MB, free: 38.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.1943, allocations: 1.739 MB / 458.5 MB, free: 37.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00092/0.1952, allocations: 1.282 MB / 459.7 MB, free: 36.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009392/0.1961, allocations: 1.138 MB / 460.9 MB, free: 36.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002538/0.1964, allocations: 196.4 kB / 461.1 MB, free: 36.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008208/0.1972, allocations: 0.649 MB / 461.7 MB, free: 36.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006558/0.1979, allocations: 1.176 MB / 462.9 MB, free: 35.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005258/0.1984, allocations: 0.7129 MB / 463.6 MB, free: 35.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.201, allocations: 4.285 MB / 467.9 MB, free: 33.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.201, allocations: 0 / 467.9 MB, free: 33.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.201, allocations: 0 / 467.9 MB, free: 33.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.803e-05/0.2011, allocations: 0 / 467.9 MB, free: 33.95 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.002782/0.2038, allocations: 2.836 MB / 470.7 MB, free: 32.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.2039, allocations: 9.812 kB / 470.7 MB, free: 32.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003371/0.2042, allocations: 479.1 kB / 471.2 MB, free: 31.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/0.2066, allocations: 1.597 MB / 472.8 MB, free: 31.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.2078, allocations: 1.279 MB / 474.1 MB, free: 31.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.2079, allocations: 143 kB / 474.2 MB, free: 30.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.208, allocations: 191.2 kB / 474.4 MB, free: 30.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004416/0.2125, allocations: 6.26 MB / 480.7 MB, free: 28.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.2125, allocations: 14.47 kB / 480.7 MB, free: 28.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.2126, allocations: 86.78 kB / 480.8 MB, free: 28.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001226/0.2139, allocations: 1.34 MB / 482.1 MB, free: 27.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005386/0.2192, allocations: 5.34 MB / 487.4 MB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.2317, allocations: 19.13 MB / 0.4947 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/0.2339, allocations: 1.565 MB / 0.4962 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.2345, allocations: 0.6447 MB / 0.4969 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003433/0.2379, allocations: 3.114 MB / 0.4999 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.2379, allocations: 39.06 kB / 0.4999 GB, free: 11.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.324e-06/0.2379, allocations: 0 / 0.4999 GB, free: 11.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002739/0.2407, allocations: 2.119 MB / 0.502 GB, free: 9.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2407, allocations: 59.91 kB / 0.5021 GB, free: 9.215 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.242, allocations: 2.056 MB / 0.5041 GB, free: 7.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.242, allocations: 33.7 kB / 0.5041 GB, free: 7.117 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.2424, allocations: 1.895 MB / 0.506 GB, free: 5.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.722e-05/0.2425, allocations: 321.6 kB / 0.5063 GB, free: 4.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/0.2429, allocations: 0.6117 MB / 0.5069 GB, free: 4.262 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.2429, allocations: 361.9 kB / 0.5072 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000651/0.2436, allocations: 0.8842 MB / 0.5081 GB, free: 3.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.2447, allocations: 2.751 MB / 0.5108 GB, free: 15.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/0.2473, allocations: 3.972 MB / 0.5146 GB, free: 10.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/0.2474, allocations: 20 kB / 0.5147 GB, free: 10.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004095/0.2515, allocations: 3.53 MB / 0.5181 GB, free: 6.879 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.2515, allocations: 36 kB / 0.5181 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.993e-05/0.2516, allocations: 64 kB / 0.5182 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.568e-05/0.2516, allocations: 88 kB / 0.5183 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.2531, allocations: 0.6589 MB / 0.5189 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.313e-05/0.2532, allocations: 128.1 kB / 0.519 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.2546, allocations: 436.7 kB / 0.5195 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.2548, allocations: 180 kB / 0.5196 GB, free: 5.305 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.001599/0.2564, allocations: 1.354 MB / 0.521 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.2565, allocations: 165.1 kB / 0.5211 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.2568, allocations: 192.9 kB / 0.5213 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.2568, allocations: 15.98 kB / 0.5213 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2568, allocations: 4 kB / 0.5213 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.2568, allocations: 3.984 kB / 0.5213 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.2611, allocations: 3.928 MB / 0.5252 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.2611, allocations: 8 kB / 0.5252 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.2613, allocations: 103.8 kB / 0.5253 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.2614, allocations: 8 kB / 0.5253 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.2614, allocations: 24.5 kB / 0.5253 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.2614, allocations: 11.94 kB / 0.5253 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.2614, allocations: 15.94 kB / 0.5253 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.2622, allocations: 1.248 MB / 0.5265 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.2624, allocations: 182.6 kB / 0.5267 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.501e-05/0.2625, allocations: 23.94 kB / 0.5267 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.2627, allocations: 27.91 kB / 0.5268 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.2628, allocations: 59.75 kB / 0.5268 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.2628, allocations: 32 kB / 0.5269 GB, free: 13.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001355/0.2642, allocations: 1.271 MB / 0.5281 GB, free: 12.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2642, allocations: 0 / 0.5281 GB, free: 12.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00185/0.266, allocations: 0.6852 MB / 0.5288 GB, free: 11.7 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.001216/0.2672, allocations: 1.874 MB / 0.5306 GB, free: 9.719 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.2689, allocations: 1.96 MB / 0.5325 GB, free: 7.773 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2689, allocations: 0 / 0.5325 GB, free: 7.773 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.2692, allocations: 442.5 kB / 0.5329 GB, free: 7.344 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.2699, allocations: 230.8 kB / 0.5331 GB, free: 7.133 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.2861, allocations: 20.83 MB / 0.5535 GB, free: 15.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.2874, allocations: 1.708 MB / 0.5552 GB, free: 14.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001183/0.2886, allocations: 0.9534 MB / 0.5561 GB, free: 13.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008353/0.2894, allocations: 1.051 MB / 0.5571 GB, free: 12 MB / 474.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2894, allocations: 0 / 0.5571 GB, free: 12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.3273, allocations: 32.98 MB / 0.5893 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.589, allocations: 12.55 kB / 0.5893 GB, free: 11.42 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.626312523148954]