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.001627/0.001627, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001747/0.001747, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2253/0.2253, allocations: 46.92 MB / 360.8 MB, free: 4.168 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.00308/0.00308, allocations: 91.84 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.335, allocations: 66.07 MB / 0.5607 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01157/0.3466, allocations: 9.589 MB / 0.5701 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006234/0.3528, allocations: 2.959 MB / 0.573 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.354, allocations: 55.81 kB / 0.573 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004261/0.3583, allocations: 2.029 MB / 0.575 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.3612, allocations: 1.136 MB / 0.5761 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008507/0.3621, allocations: 295.4 kB / 0.5764 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003519/0.3656, allocations: 2.329 MB / 0.5787 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.3679, allocations: 1.734 MB / 0.5804 GB, free: 40 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.3691, allocations: 0.8956 MB / 0.5812 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.3707, allocations: 1.254 MB / 0.5825 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.3711, allocations: 192 kB / 0.5827 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.3724, allocations: 0.7255 MB / 0.5834 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.3735, allocations: 1.133 MB / 0.5845 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.3749, allocations: 1.308 MB / 0.5857 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004862/0.3797, allocations: 4.338 MB / 0.59 GB, free: 6.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3798, allocations: 4 kB / 0.59 GB, free: 6.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3798, allocations: 0 / 0.59 GB, free: 6.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.918e-05/0.3798, allocations: 3.938 kB / 0.59 GB, free: 6.152 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.00499/0.3848, allocations: 2.855 MB / 0.5928 GB, free: 3.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3849, allocations: 15.97 kB / 0.5928 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006617/0.3855, allocations: 491.1 kB / 0.5933 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005155/0.3907, allocations: 1.574 MB / 0.5948 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.3937, allocations: 1.282 MB / 0.5961 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.3939, allocations: 147.8 kB / 0.5962 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004221/0.3943, allocations: 183.9 kB / 0.5964 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.4045, allocations: 6.242 MB / 0.6025 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/0.4045, allocations: 11.88 kB / 0.6025 GB, free: 9.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/0.4048, allocations: 91.91 kB / 0.6026 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002125/0.4069, allocations: 1.344 MB / 0.6039 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.4179, allocations: 5.344 MB / 0.6091 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03006/0.4479, allocations: 19.99 MB / 0.6286 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.452, allocations: 1.488 MB / 0.6301 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.453, allocations: 0.6367 MB / 0.6307 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007035/0.4601, allocations: 3.164 MB / 0.6338 GB, free: 8.305 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.4601, allocations: 35 kB / 0.6338 GB, free: 8.262 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.346e-06/0.4601, allocations: 0 / 0.6338 GB, free: 8.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00563/0.4657, allocations: 1.99 MB / 0.6358 GB, free: 6.262 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.4658, allocations: 59.84 kB / 0.6358 GB, free: 6.191 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/0.4687, allocations: 1.945 MB / 0.6377 GB, free: 4.242 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.255e-05/0.4688, allocations: 37.7 kB / 0.6377 GB, free: 4.199 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.4703, allocations: 1.903 MB / 0.6396 GB, free: 2.273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/0.4706, allocations: 329.5 kB / 0.6399 GB, free: 1.949 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008879/0.4715, allocations: 0.6272 MB / 0.6405 GB, free: 1.312 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.4717, allocations: 353.9 kB / 0.6409 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.4731, allocations: 0.8881 MB / 0.6417 GB, free: 72 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/0.4761, allocations: 2.751 MB / 0.6444 GB, free: 12.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004855/0.481, allocations: 3.965 MB / 0.6483 GB, free: 7.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-05/0.481, allocations: 20 kB / 0.6483 GB, free: 7.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006702/0.4877, allocations: 3.535 MB / 0.6518 GB, free: 3.934 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/0.4878, allocations: 32 kB / 0.6518 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.929e-05/0.4879, allocations: 68 kB / 0.6519 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.574e-05/0.488, allocations: 87.94 kB / 0.6519 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.49, allocations: 0.655 MB / 0.6526 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001186/0.4902, allocations: 128.1 kB / 0.6527 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.4922, allocations: 428.9 kB / 0.6531 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003319/0.4925, allocations: 191.9 kB / 0.6533 GB, free: 2.363 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.002056/0.4946, allocations: 1.343 MB / 0.6546 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.4948, allocations: 162.9 kB / 0.6548 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.4952, allocations: 200.9 kB / 0.655 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.4952, allocations: 11.94 kB / 0.655 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4952, allocations: 0 / 0.655 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4952, allocations: 3.984 kB / 0.655 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006895/0.5021, allocations: 3.997 MB / 0.6589 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.5021, allocations: 12.16 kB / 0.6589 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.5026, allocations: 103.8 kB / 0.659 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.5026, allocations: 12 kB / 0.659 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.5026, allocations: 23.94 kB / 0.659 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.5026, allocations: 15.92 kB / 0.659 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.5027, allocations: 8 kB / 0.659 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.5042, allocations: 1.27 MB / 0.6603 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.5046, allocations: 178.6 kB / 0.6605 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.5048, allocations: 19.98 kB / 0.6605 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.5053, allocations: 35.94 kB / 0.6605 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.5053, allocations: 51.8 kB / 0.6606 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.5054, allocations: 31.98 kB / 0.6606 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001861/0.5073, allocations: 1.275 MB / 0.6618 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5073, allocations: 0 / 0.6618 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002442/0.5097, allocations: 0.6852 MB / 0.6625 GB, free: 8.684 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.002123/0.5118, allocations: 1.872 MB / 0.6643 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003186/0.515, allocations: 1.96 MB / 0.6662 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.515, allocations: 0 / 0.6662 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.5156, allocations: 441.4 kB / 0.6667 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.5169, allocations: 242.8 kB / 0.6669 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03101/0.5479, allocations: 20.94 MB / 0.6873 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002852/0.5508, allocations: 2.283 MB / 0.6896 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002226/0.553, allocations: 0.952 MB / 0.6905 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/0.5545, allocations: 1.05 MB / 0.6915 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of SimCode: time 1.343e-06/0.5545, allocations: 0 / 0.6915 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07663/0.6312, allocations: 35.27 MB / 0.726 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.28, allocations: 8.781 kB / 0.726 GB, free: 5.148 MB / 0.5606 GB " [Timeout remaining time 644] (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: 19.496486834999814]