Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001735/0.001735, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002211/0.002211, allocations: 204 kB / 23.72 MB, free: 4.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.96 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003247/0.003247, allocations: 79.88 kB / 0.4961 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3514, allocations: 66.08 MB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01124/0.3626, allocations: 8.413 MB / 0.5689 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005665/0.3683, allocations: 2.776 MB / 0.5716 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007574/0.369, allocations: 55.81 kB / 0.5716 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.3728, allocations: 1.935 MB / 0.5735 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.3752, allocations: 1.14 MB / 0.5746 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.3759, allocations: 295.4 kB / 0.5749 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.3788, allocations: 2.325 MB / 0.5772 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.3808, allocations: 1.746 MB / 0.5789 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.3819, allocations: 0.884 MB / 0.5798 GB, free: 384 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.3834, allocations: 1.254 MB / 0.581 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.3837, allocations: 196 kB / 0.5812 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.3848, allocations: 0.6163 MB / 0.5818 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.3858, allocations: 1.137 MB / 0.5829 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009969/0.3868, allocations: 0.9432 MB / 0.5838 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005046/0.3919, allocations: 4.346 MB / 0.5881 GB, free: 7.855 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3919, allocations: 0 / 0.5881 GB, free: 7.855 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3919, allocations: 0 / 0.5881 GB, free: 7.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.974e-05/0.392, allocations: 0 / 0.5881 GB, free: 7.855 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.004988/0.397, allocations: 2.866 MB / 0.5909 GB, free: 4.945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.397, allocations: 12.03 kB / 0.5909 GB, free: 4.934 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006518/0.3977, allocations: 483.1 kB / 0.5913 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005288/0.403, allocations: 1.582 MB / 0.5929 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/0.4064, allocations: 1.282 MB / 0.5941 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.4065, allocations: 147.8 kB / 0.5943 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004515/0.407, allocations: 187.9 kB / 0.5944 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.4208, allocations: 6.246 MB / 0.6005 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.268e-05/0.4208, allocations: 11.88 kB / 0.6006 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003952/0.4212, allocations: 87.91 kB / 0.6006 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003731/0.425, allocations: 1.34 MB / 0.602 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/0.442, allocations: 5.33 MB / 0.6072 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02768/0.4697, allocations: 19.05 MB / 0.6258 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/0.4737, allocations: 1.489 MB / 0.6272 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009648/0.4746, allocations: 0.6367 MB / 0.6278 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006505/0.4811, allocations: 3.02 MB / 0.6308 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4812, allocations: 38.94 kB / 0.6308 GB, free: 11.05 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.196e-06/0.4812, allocations: 4 kB / 0.6308 GB, free: 11.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005181/0.4864, allocations: 1.99 MB / 0.6328 GB, free: 9.043 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.4864, allocations: 55.84 kB / 0.6328 GB, free: 8.977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.4891, allocations: 2.05 MB / 0.6348 GB, free: 6.922 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.4891, allocations: 37.69 kB / 0.6349 GB, free: 6.879 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.4905, allocations: 1.911 MB / 0.6367 GB, free: 4.945 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.4908, allocations: 329.5 kB / 0.637 GB, free: 4.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007492/0.4916, allocations: 0.6195 MB / 0.6376 GB, free: 3.992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4917, allocations: 353.9 kB / 0.638 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.493, allocations: 0.8881 MB / 0.6389 GB, free: 2.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/0.4958, allocations: 2.759 MB / 0.6415 GB, free: 15.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004658/0.5005, allocations: 3.958 MB / 0.6454 GB, free: 10.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.402e-05/0.5005, allocations: 20 kB / 0.6454 GB, free: 10.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005775/0.5063, allocations: 3.545 MB / 0.6489 GB, free: 6.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.763e-05/0.5064, allocations: 32 kB / 0.6489 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.435e-05/0.5064, allocations: 72 kB / 0.649 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-05/0.5065, allocations: 91.94 kB / 0.6491 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.5084, allocations: 0.655 MB / 0.6497 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/0.5085, allocations: 127.5 kB / 0.6498 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.5105, allocations: 425.2 kB / 0.6502 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.5107, allocations: 188 kB / 0.6504 GB, free: 5.031 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.001995/0.5127, allocations: 1.346 MB / 0.6517 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.513, allocations: 166.9 kB / 0.6519 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/0.5133, allocations: 188.9 kB / 0.6521 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.5133, allocations: 19.92 kB / 0.6521 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.5133, allocations: 0 / 0.6521 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.5133, allocations: 4 kB / 0.6521 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006551/0.5199, allocations: 3.915 MB / 0.6559 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.5199, allocations: 4 kB / 0.6559 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.5203, allocations: 107.8 kB / 0.656 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.5203, allocations: 8 kB / 0.656 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.5204, allocations: 20 kB / 0.6561 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/0.5204, allocations: 8 kB / 0.6561 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.5204, allocations: 12.41 kB / 0.6561 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.5219, allocations: 1.271 MB / 0.6573 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.5223, allocations: 186.5 kB / 0.6575 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.5224, allocations: 19.98 kB / 0.6575 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.5229, allocations: 27.97 kB / 0.6575 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.523, allocations: 55.81 kB / 0.6576 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.523, allocations: 28 kB / 0.6576 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001722/0.5248, allocations: 1.271 MB / 0.6589 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5248, allocations: 4 kB / 0.6589 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002311/0.5271, allocations: 0.689 MB / 0.6595 GB, free: 11.44 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.001978/0.5291, allocations: 1.872 MB / 0.6614 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002944/0.532, allocations: 1.96 MB / 0.6633 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.532, allocations: 0 / 0.6633 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005649/0.5326, allocations: 437.5 kB / 0.6637 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.5337, allocations: 255.5 kB / 0.6639 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03041/0.5641, allocations: 20.93 MB / 0.6844 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00246/0.5666, allocations: 1.708 MB / 0.6861 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00224/0.5688, allocations: 0.952 MB / 0.687 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/0.5703, allocations: 1.046 MB / 0.688 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.5703, allocations: 0 / 0.688 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07127/0.6415, allocations: 34.23 MB / 0.7214 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.08, allocations: 12.06 kB / 0.7214 GB, free: 9.691 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.322923796018586]