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.001719/0.001719, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002098/0.002098, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.451/1.451, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2202/0.2202, allocations: 46.92 MB / 357.1 MB, free: 10.29 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.001964/0.001964, allocations: 63.89 kB / 0.4909 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1255, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01213/0.1376, allocations: 9.568 MB / 0.5647 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006032/0.1436, allocations: 2.94 MB / 0.5676 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.1447, allocations: 59.81 kB / 0.5676 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004214/0.1489, allocations: 2.013 MB / 0.5696 GB, free: 7.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.1516, allocations: 1.133 MB / 0.5707 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000737/0.1524, allocations: 283.5 kB / 0.571 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003201/0.1556, allocations: 2.337 MB / 0.5733 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.1582, allocations: 1.922 MB / 0.5751 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.1596, allocations: 0.8956 MB / 0.576 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.1614, allocations: 1.25 MB / 0.5772 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005495/0.162, allocations: 192 kB / 0.5774 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.1635, allocations: 0.7293 MB / 0.5781 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.1649, allocations: 1.137 MB / 0.5792 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.1668, allocations: 1.305 MB / 0.5805 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005535/0.1723, allocations: 4.338 MB / 0.5847 GB, free: 7.578 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1723, allocations: 0 / 0.5847 GB, free: 7.578 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1723, allocations: 0 / 0.5847 GB, free: 7.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001595/0.1725, allocations: 0 / 0.5847 GB, free: 7.578 MB / 446.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.006535/0.179, allocations: 2.938 MB / 0.5876 GB, free: 4.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1791, allocations: 12.02 kB / 0.5876 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009411/0.18, allocations: 487.1 kB / 0.5881 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/0.1856, allocations: 1.574 MB / 0.5896 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.1883, allocations: 1.34 MB / 0.5909 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.1884, allocations: 151.8 kB / 0.5911 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005822/0.189, allocations: 187.9 kB / 0.5913 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2327/0.4217, allocations: 6.24 MB / 0.5974 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/0.4217, allocations: 13.47 kB / 0.5974 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.422, allocations: 86.84 kB / 0.5975 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002143/0.4241, allocations: 1.342 MB / 0.5988 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.4343, allocations: 5.337 MB / 0.604 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.4576, allocations: 20.07 MB / 0.6236 GB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/0.4612, allocations: 1.934 MB / 0.6255 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.4619, allocations: 0.6429 MB / 0.6261 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005542/0.4675, allocations: 3.628 MB / 0.6296 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.4675, allocations: 35 kB / 0.6297 GB, free: 12.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.925e-06/0.4675, allocations: 0 / 0.6297 GB, free: 12.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004841/0.4723, allocations: 1.992 MB / 0.6316 GB, free: 10.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.4724, allocations: 67.72 kB / 0.6317 GB, free: 10.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.4745, allocations: 1.936 MB / 0.6336 GB, free: 8.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/0.4746, allocations: 33.7 kB / 0.6336 GB, free: 8.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007754/0.4754, allocations: 1.913 MB / 0.6355 GB, free: 7.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.4756, allocations: 330.1 kB / 0.6358 GB, free: 6.719 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006214/0.4763, allocations: 0.6219 MB / 0.6364 GB, free: 6.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.4763, allocations: 353.9 kB / 0.6367 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.4773, allocations: 0.8881 MB / 0.6376 GB, free: 4.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.4789, allocations: 2.744 MB / 0.6403 GB, free: 1.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004258/0.4832, allocations: 3.98 MB / 0.6442 GB, free: 12.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.941e-05/0.4832, allocations: 20 kB / 0.6442 GB, free: 12.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006065/0.4893, allocations: 3.522 MB / 0.6476 GB, free: 8.723 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.4893, allocations: 35.28 kB / 0.6477 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.438e-05/0.4894, allocations: 64 kB / 0.6477 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.725e-05/0.4895, allocations: 96 kB / 0.6478 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.4915, allocations: 0.655 MB / 0.6484 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001109/0.4916, allocations: 131.5 kB / 0.6486 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.4935, allocations: 428.8 kB / 0.649 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000328/0.4938, allocations: 186.3 kB / 0.6492 GB, free: 7.148 MB / 462.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.002033/0.4958, allocations: 1.348 MB / 0.6505 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.4961, allocations: 162.9 kB / 0.6506 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.4965, allocations: 200.8 kB / 0.6508 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.4965, allocations: 10.42 kB / 0.6508 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4965, allocations: 0 / 0.6508 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.4966, allocations: 3.984 kB / 0.6508 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00682/0.5034, allocations: 4.029 MB / 0.6548 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.5034, allocations: 15.17 kB / 0.6548 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.5038, allocations: 99.83 kB / 0.6549 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.5038, allocations: 12 kB / 0.6549 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.5039, allocations: 27.97 kB / 0.6549 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/0.5039, allocations: 11.94 kB / 0.6549 GB, free: 1.082 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.5039, allocations: 11.98 kB / 0.6549 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.5055, allocations: 1.275 MB / 0.6562 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.5059, allocations: 255.7 kB / 0.6564 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.506, allocations: 15.98 kB / 0.6564 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.5065, allocations: 31.94 kB / 0.6565 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.5066, allocations: 51.83 kB / 0.6565 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.5067, allocations: 35.98 kB / 0.6566 GB, free: 15.29 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001859/0.5085, allocations: 1.267 MB / 0.6578 GB, free: 14.03 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5085, allocations: 0 / 0.6578 GB, free: 14.03 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002393/0.5109, allocations: 0.6968 MB / 0.6585 GB, free: 13.33 MB / 478.1 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.002057/0.513, allocations: 1.862 MB / 0.6603 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00302/0.516, allocations: 1.96 MB / 0.6622 GB, free: 9.414 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.516, allocations: 5.812 kB / 0.6622 GB, free: 9.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005868/0.5166, allocations: 433.6 kB / 0.6626 GB, free: 8.988 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.5178, allocations: 238.7 kB / 0.6629 GB, free: 8.766 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02932/0.5471, allocations: 20.94 MB / 0.6833 GB, free: 1.273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/0.5498, allocations: 2.279 MB / 0.6855 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002209/0.552, allocations: 0.9583 MB / 0.6865 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/0.5534, allocations: 1.042 MB / 0.6875 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.5534, allocations: 0 / 0.6875 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06844/0.6219, allocations: 32.81 MB / 0.7195 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.89, allocations: 4.922 kB / 0.7195 GB, free: 12.33 MB / 0.5294 GB " [Timeout remaining time 647] (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: 15.903415812994353]