Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001606/0.001606, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002197/0.002197, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.55/1.55, allocations: 230.3 MB / 258 MB, free: 8.191 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2303/0.2303, allocations: 46.93 MB / 361.4 MB, free: 4.445 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-beta.om/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: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 83.86 kB / 0.4972 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3742, allocations: 66.04 MB / 0.5616 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01316/0.3873, allocations: 10.19 MB / 0.5716 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007642/0.395, allocations: 3.103 MB / 0.5746 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.3968, allocations: 59.81 kB / 0.5747 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005084/0.4019, allocations: 2.652 MB / 0.5773 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.4061, allocations: 1.21 MB / 0.5785 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.4073, allocations: 359.3 kB / 0.5788 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004679/0.412, allocations: 2.536 MB / 0.5813 GB, free: 308 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003601/0.4156, allocations: 2.128 MB / 0.5834 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.4174, allocations: 1.071 MB / 0.5844 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.4195, allocations: 1.484 MB / 0.5859 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005018/0.42, allocations: 252 kB / 0.5861 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.4214, allocations: 0.788 MB / 0.5869 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.4227, allocations: 1.36 MB / 0.5882 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.4243, allocations: 1.557 MB / 0.5897 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005817/0.4301, allocations: 5.128 MB / 0.5947 GB, free: 2.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4301, allocations: 0 / 0.5947 GB, free: 2.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4301, allocations: 3.938 kB / 0.5947 GB, free: 2.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001041/0.4302, allocations: 0 / 0.5947 GB, free: 2.457 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.00611/0.4363, allocations: 3.278 MB / 0.5979 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4364, allocations: 8.031 kB / 0.5979 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/0.4412, allocations: 1.625 MB / 0.5995 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.4441, allocations: 1.439 MB / 0.6009 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.4443, allocations: 188.9 kB / 0.6011 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003981/0.4447, allocations: 227.8 kB / 0.6013 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.4565, allocations: 7.11 MB / 0.6083 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.141e-05/0.4566, allocations: 15.88 kB / 0.6083 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/0.4568, allocations: 103.9 kB / 0.6084 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00207/0.4589, allocations: 1.443 MB / 0.6098 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.4705, allocations: 5.952 MB / 0.6156 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03273/0.5032, allocations: 22.24 MB / 0.6373 GB, free: 5.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004601/0.5078, allocations: 1.681 MB / 0.639 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.5089, allocations: 0.7034 MB / 0.6396 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006976/0.5158, allocations: 3.393 MB / 0.643 GB, free: 0 / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.5159, allocations: 35.33 kB / 0.643 GB, free: 15.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 2.485e-06/0.5159, allocations: 7.938 kB / 0.643 GB, free: 15.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006454/0.5223, allocations: 2.257 MB / 0.6452 GB, free: 13.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.5224, allocations: 64.06 kB / 0.6453 GB, free: 13.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.5255, allocations: 2.056 MB / 0.6473 GB, free: 11.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/0.5256, allocations: 37.7 kB / 0.6473 GB, free: 11.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001837/0.5274, allocations: 2.11 MB / 0.6494 GB, free: 9.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/0.5279, allocations: 365.3 kB / 0.6497 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000886/0.5287, allocations: 0.6473 MB / 0.6503 GB, free: 8.359 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.529, allocations: 373.8 kB / 0.6507 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.5304, allocations: 0.9313 MB / 0.6516 GB, free: 7.055 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/0.5337, allocations: 2.86 MB / 0.6544 GB, free: 3.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005201/0.5389, allocations: 4.162 MB / 0.6585 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-05/0.5389, allocations: 20 kB / 0.6585 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006656/0.5456, allocations: 3.707 MB / 0.6621 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.5457, allocations: 38.5 kB / 0.6621 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.998e-05/0.5457, allocations: 72.16 kB / 0.6622 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-05/0.5458, allocations: 88 kB / 0.6623 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/0.5478, allocations: 0.6901 MB / 0.663 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001273/0.5479, allocations: 135.4 kB / 0.6631 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.5499, allocations: 448.6 kB / 0.6635 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/0.5502, allocations: 204 kB / 0.6637 GB, free: 8.719 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (382): * Single equations (assignments): 377 * 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.002367/0.5526, allocations: 1.495 MB / 0.6652 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/0.5529, allocations: 178.8 kB / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003687/0.5533, allocations: 214.2 kB / 0.6656 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.5533, allocations: 12 kB / 0.6656 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.5533, allocations: 0 / 0.6656 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5533, allocations: 3.984 kB / 0.6656 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008618/0.5619, allocations: 4.923 MB / 0.6704 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.5619, allocations: 8 kB / 0.6704 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/0.5624, allocations: 115.8 kB / 0.6705 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.54e-05/0.5624, allocations: 12 kB / 0.6705 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/0.5625, allocations: 19.98 kB / 0.6705 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-05/0.5625, allocations: 15.94 kB / 0.6705 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.5625, allocations: 8 kB / 0.6706 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.5653, allocations: 1.426 MB / 0.672 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006379/0.566, allocations: 222.4 kB / 0.6722 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.5663, allocations: 27.97 kB / 0.6722 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/0.567, allocations: 39.92 kB / 0.6722 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.5672, allocations: 75.67 kB / 0.6723 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.692e-05/0.5673, allocations: 32 kB / 0.6723 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00316/0.5705, allocations: 1.448 MB / 0.6737 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5705, allocations: 4 kB / 0.6737 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004095/0.5746, allocations: 0.7785 MB / 0.6745 GB, free: 13.35 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0003862/0.575, allocations: 150.9 kB / 0.6747 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004814/0.5798, allocations: 2.08 MB / 0.6767 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.5798, allocations: 4.062 kB / 0.6767 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.5808, allocations: 477.4 kB / 0.6771 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.5829, allocations: 283.4 kB / 0.6774 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.5976, allocations: 5.798 MB / 0.6831 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004524/0.6021, allocations: 2.514 MB / 0.6855 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003545/0.6056, allocations: 1.016 MB / 0.6865 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.6061, allocations: 139.4 kB / 0.6867 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of SimCode: time 1.533e-06/0.6061, allocations: 0 / 0.6867 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.04577/0.6519, allocations: 19.31 MB / 0.7055 GB, free: 13.47 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.893277380615473]