Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008108/0.0008108, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008218/0.0008218, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9108/0.9108, 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.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.2333/0.2333, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.85e-05, allocations: 4.25 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.2059/0.2059, allocations: 8.414 MB / 448 MB, free: 41.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005405/0.2113, allocations: 2.78 MB / 450.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.2129, allocations: 58.31 kB / 450.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.2152, allocations: 2.036 MB / 452.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.2174, allocations: 1.172 MB / 454 MB, free: 39.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.2179, allocations: 315.7 kB / 454.3 MB, free: 38.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.2197, allocations: 2.356 MB / 456.7 MB, free: 38.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.2208, allocations: 1.752 MB / 458.5 MB, free: 37.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009223/0.2217, allocations: 1.283 MB / 459.7 MB, free: 36.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008191/0.2226, allocations: 1.134 MB / 460.9 MB, free: 36.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.2227, allocations: 194.6 kB / 461.1 MB, free: 36.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007208/0.2235, allocations: 0.6465 MB / 461.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005411/0.224, allocations: 1.175 MB / 462.9 MB, free: 35.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004775/0.2245, allocations: 0.7199 MB / 463.6 MB, free: 35.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.2271, allocations: 4.286 MB / 467.9 MB, free: 33.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2271, allocations: 0 / 467.9 MB, free: 33.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.2271, allocations: 0 / 467.9 MB, free: 33.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.161e-05/0.2272, allocations: 0 / 467.9 MB, free: 33.9 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.003296/0.2305, allocations: 2.83 MB / 470.7 MB, free: 32.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.2305, allocations: 9.531 kB / 470.7 MB, free: 32.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003309/0.2308, allocations: 488.5 kB / 471.2 MB, free: 31.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/0.2334, allocations: 1.594 MB / 472.8 MB, free: 31.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.2351, allocations: 1.279 MB / 474.1 MB, free: 30.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.2352, allocations: 143 kB / 474.2 MB, free: 30.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.2354, allocations: 187.2 kB / 474.4 MB, free: 30.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006345/0.2417, allocations: 6.262 MB / 480.7 MB, free: 28.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.2418, allocations: 13.38 kB / 480.7 MB, free: 28.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.2419, allocations: 91.78 kB / 480.8 MB, free: 28.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001617/0.2435, allocations: 1.342 MB / 482.1 MB, free: 27.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008249/0.2518, allocations: 5.334 MB / 487.4 MB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01926/0.271, allocations: 19.13 MB / 0.4947 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.2736, allocations: 1.565 MB / 0.4962 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.2742, allocations: 0.6376 MB / 0.4969 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003746/0.2779, allocations: 3.123 MB / 0.4999 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.2779, allocations: 36 kB / 0.4999 GB, free: 11.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.416e-06/0.2779, allocations: 0 / 0.4999 GB, free: 11.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002862/0.2808, allocations: 2.122 MB / 0.502 GB, free: 9.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.2808, allocations: 63.89 kB / 0.5021 GB, free: 9.211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.2824, allocations: 2.048 MB / 0.5041 GB, free: 7.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.2824, allocations: 37.7 kB / 0.5041 GB, free: 7.117 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.2829, allocations: 1.895 MB / 0.506 GB, free: 5.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.283, allocations: 317.6 kB / 0.5063 GB, free: 4.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003878/0.2834, allocations: 0.6195 MB / 0.5069 GB, free: 4.258 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.2834, allocations: 353.9 kB / 0.5072 GB, free: 3.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.2841, allocations: 0.8881 MB / 0.5081 GB, free: 3.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.2853, allocations: 2.751 MB / 0.5108 GB, free: 15.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.2884, allocations: 3.967 MB / 0.5146 GB, free: 10.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.974e-05/0.2884, allocations: 21.06 kB / 0.5146 GB, free: 10.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003547/0.292, allocations: 3.529 MB / 0.5181 GB, free: 6.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.292, allocations: 39.92 kB / 0.5181 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/0.292, allocations: 68 kB / 0.5182 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.677e-05/0.2921, allocations: 88 kB / 0.5183 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.2932, allocations: 0.6511 MB / 0.5189 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.234e-05/0.2932, allocations: 124.1 kB / 0.519 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.2943, allocations: 440.7 kB / 0.5195 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.2945, allocations: 192 kB / 0.5196 GB, free: 5.297 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.001506/0.296, allocations: 1.343 MB / 0.521 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.2961, allocations: 168.2 kB / 0.5211 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.2963, allocations: 196.9 kB / 0.5213 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.2964, allocations: 12 kB / 0.5213 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.2964, allocations: 0 / 0.5213 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2964, allocations: 7.984 kB / 0.5213 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/0.301, allocations: 3.928 MB / 0.5252 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.301, allocations: 4 kB / 0.5252 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.3012, allocations: 107.8 kB / 0.5253 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.619e-06/0.3012, allocations: 8 kB / 0.5253 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.3012, allocations: 24.59 kB / 0.5253 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.3012, allocations: 15.92 kB / 0.5253 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.3012, allocations: 15.94 kB / 0.5253 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.3022, allocations: 1.244 MB / 0.5265 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.3025, allocations: 182.6 kB / 0.5267 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/0.3026, allocations: 19.94 kB / 0.5267 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.3028, allocations: 27.97 kB / 0.5268 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.3029, allocations: 63.69 kB / 0.5268 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.3029, allocations: 39.97 kB / 0.5269 GB, free: 13.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001388/0.3043, allocations: 1.263 MB / 0.5281 GB, free: 12.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3043, allocations: 4 kB / 0.5281 GB, free: 12.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002162/0.3065, allocations: 0.6813 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.001774/0.3083, allocations: 1.878 MB / 0.5306 GB, free: 9.715 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.3107, allocations: 1.953 MB / 0.5325 GB, free: 7.777 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.3107, allocations: 4 kB / 0.5325 GB, free: 7.773 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.3111, allocations: 438.5 kB / 0.5329 GB, free: 7.348 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009272/0.312, allocations: 241.4 kB / 0.5332 GB, free: 7.129 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/0.3339, allocations: 20.84 MB / 0.5535 GB, free: 15.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/0.3353, allocations: 1.701 MB / 0.5552 GB, free: 14.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001381/0.3367, allocations: 0.9573 MB / 0.5561 GB, free: 13.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.3379, allocations: 1.047 MB / 0.5571 GB, free: 12 MB / 474.7 MB Notification: Performance of SimCode: time 2.274e-06/0.3379, allocations: 0 / 0.5571 GB, free: 12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04745/0.3853, allocations: 32.97 MB / 0.5893 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.134, allocations: 16.38 kB / 0.5893 GB, free: 11.43 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.230037816800177]