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.001715/0.001715, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002142/0.002142, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2258/0.2258, allocations: 46.93 MB / 360.9 MB, free: 4.262 MB / 286.1 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 0.00198/0.00198, allocations: 83.86 kB / 0.4962 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2927, allocations: 66.03 MB / 0.5606 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01151/0.3042, allocations: 9.593 MB / 0.57 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005808/0.31, allocations: 2.959 MB / 0.5729 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007885/0.3108, allocations: 55.81 kB / 0.573 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003862/0.3146, allocations: 2.025 MB / 0.5749 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.3172, allocations: 1.14 MB / 0.576 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.3179, allocations: 287.5 kB / 0.5763 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.3209, allocations: 2.329 MB / 0.5786 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002077/0.323, allocations: 1.738 MB / 0.5803 GB, free: 260 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.324, allocations: 0.8957 MB / 0.5812 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.3256, allocations: 1.246 MB / 0.5824 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003061/0.3259, allocations: 196 kB / 0.5826 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.3271, allocations: 0.7254 MB / 0.5833 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.3281, allocations: 1.137 MB / 0.5844 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.3294, allocations: 1.312 MB / 0.5857 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.334, allocations: 4.334 MB / 0.5899 GB, free: 6.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.334, allocations: 0 / 0.5899 GB, free: 6.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.334, allocations: 0 / 0.5899 GB, free: 6.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.589e-05/0.3341, allocations: 0 / 0.5899 GB, free: 6.375 MB / 430.1 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.004959/0.3391, allocations: 2.866 MB / 0.5927 GB, free: 3.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3391, allocations: 8.031 kB / 0.5927 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005652/0.3397, allocations: 487.1 kB / 0.5932 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.3446, allocations: 1.578 MB / 0.5947 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.3474, allocations: 1.279 MB / 0.596 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.3475, allocations: 147.9 kB / 0.5961 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000378/0.3479, allocations: 183.9 kB / 0.5963 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009613/0.3575, allocations: 6.246 MB / 0.6024 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-05/0.3576, allocations: 11.88 kB / 0.6024 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.3578, allocations: 87.91 kB / 0.6025 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002059/0.3599, allocations: 1.348 MB / 0.6038 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009555/0.3694, allocations: 5.334 MB / 0.609 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02783/0.3973, allocations: 20 MB / 0.6285 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/0.4012, allocations: 1.478 MB / 0.63 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009734/0.4022, allocations: 0.6406 MB / 0.6306 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006363/0.4085, allocations: 3.16 MB / 0.6337 GB, free: 8.531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.4086, allocations: 35 kB / 0.6337 GB, free: 8.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.547e-06/0.4086, allocations: 0 / 0.6337 GB, free: 8.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005521/0.4141, allocations: 1.994 MB / 0.6357 GB, free: 6.484 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.4141, allocations: 59.84 kB / 0.6357 GB, free: 6.414 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002875/0.417, allocations: 1.942 MB / 0.6376 GB, free: 4.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/0.4171, allocations: 33.7 kB / 0.6377 GB, free: 4.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.4187, allocations: 1.907 MB / 0.6395 GB, free: 2.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.4191, allocations: 333.5 kB / 0.6398 GB, free: 2.172 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008784/0.42, allocations: 0.6234 MB / 0.6404 GB, free: 1.539 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.4202, allocations: 357.9 kB / 0.6408 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.4217, allocations: 0.8842 MB / 0.6416 GB, free: 304 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/0.4248, allocations: 2.751 MB / 0.6443 GB, free: 12.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005331/0.4302, allocations: 3.966 MB / 0.6482 GB, free: 7.719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.021e-05/0.4302, allocations: 20 kB / 0.6482 GB, free: 7.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00669/0.4369, allocations: 3.538 MB / 0.6517 GB, free: 4.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/0.437, allocations: 32 kB / 0.6517 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.494e-05/0.4371, allocations: 67.98 kB / 0.6518 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001046/0.4372, allocations: 96 kB / 0.6519 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.4392, allocations: 0.6511 MB / 0.6525 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001173/0.4393, allocations: 131.5 kB / 0.6526 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.4413, allocations: 428.9 kB / 0.653 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/0.4415, allocations: 187.9 kB / 0.6532 GB, free: 2.582 MB / 494.1 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.002127/0.4436, allocations: 1.346 MB / 0.6545 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.4439, allocations: 166.9 kB / 0.6547 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.4443, allocations: 192.9 kB / 0.6549 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/0.4443, allocations: 11.94 kB / 0.6549 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4443, allocations: 0 / 0.6549 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4443, allocations: 3.984 kB / 0.6549 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007092/0.4514, allocations: 4 MB / 0.6588 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.4514, allocations: 8 kB / 0.6588 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.4519, allocations: 99.83 kB / 0.6589 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.4519, allocations: 8 kB / 0.6589 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.452, allocations: 19.98 kB / 0.6589 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/0.452, allocations: 19.88 kB / 0.6589 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.452, allocations: 7.938 kB / 0.659 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.454, allocations: 1.275 MB / 0.6602 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.4544, allocations: 178.6 kB / 0.6604 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.4546, allocations: 19.98 kB / 0.6604 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.455, allocations: 35.88 kB / 0.6604 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4552, allocations: 59.73 kB / 0.6605 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.548e-05/0.4552, allocations: 28 kB / 0.6605 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002138/0.4574, allocations: 1.271 MB / 0.6617 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4574, allocations: 0 / 0.6617 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002818/0.4602, allocations: 0.6891 MB / 0.6624 GB, free: 8.902 MB / 0.4981 GB 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.002331/0.4625, allocations: 1.872 MB / 0.6642 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003405/0.4659, allocations: 1.958 MB / 0.6662 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4659, allocations: 1.938 kB / 0.6662 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006184/0.4665, allocations: 437 kB / 0.6666 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.4679, allocations: 244.4 kB / 0.6668 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03348/0.5014, allocations: 20.95 MB / 0.6873 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002814/0.5042, allocations: 2.267 MB / 0.6895 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002275/0.5065, allocations: 0.9559 MB / 0.6904 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/0.5081, allocations: 1.046 MB / 0.6914 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.124e-06/0.5081, allocations: 0 / 0.6914 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07628/0.5843, allocations: 35.29 MB / 0.7259 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/15.83, allocations: 0 / 0.7259 GB, free: 5.426 MB / 0.5606 GB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/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: 19.090795693999098]