Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.001774/0.001774, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 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.001591/0.001591, allocations: 163.9 kB / 24.49 MB, free: 3.453 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.462/1.462, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2207/0.2207, allocations: 32.81 MB / 294.1 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 71.89 kB / 440.6 MB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.359, allocations: 65.44 MB / 0.4941 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.008335/0.3674, allocations: 8.407 MB / 0.5023 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005381/0.3727, allocations: 2.793 MB / 0.5051 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.3738, allocations: 50.03 kB / 0.5051 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.3767, allocations: 1.935 MB / 0.507 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.3788, allocations: 1.133 MB / 0.5081 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.3793, allocations: 297.8 kB / 0.5084 GB, free: 22.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.3812, allocations: 2.323 MB / 0.5107 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.3827, allocations: 1.733 MB / 0.5124 GB, free: 21.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009771/0.3837, allocations: 0.8846 MB / 0.5132 GB, free: 20.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.3855, allocations: 1.185 MB / 0.5144 GB, free: 20.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.3859, allocations: 194 kB / 0.5146 GB, free: 20.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.3874, allocations: 0.6052 MB / 0.5152 GB, free: 20.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.3887, allocations: 1.137 MB / 0.5163 GB, free: 19.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.3897, allocations: 0.9487 MB / 0.5172 GB, free: 19.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005097/0.3948, allocations: 4.343 MB / 0.5214 GB, free: 17.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3948, allocations: 1.562 kB / 0.5214 GB, free: 17.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3948, allocations: 0 / 0.5214 GB, free: 17.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001297/0.395, allocations: 0 / 0.5214 GB, free: 17.56 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.006706/0.4017, allocations: 2.863 MB / 0.5242 GB, free: 15.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4017, allocations: 9.219 kB / 0.5242 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005576/0.4073, allocations: 1.595 MB / 0.5258 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.4106, allocations: 1.279 MB / 0.5271 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.4108, allocations: 144.6 kB / 0.5272 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/0.4111, allocations: 196.5 kB / 0.5274 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.4231, allocations: 6.256 MB / 0.5335 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.411e-05/0.4232, allocations: 16.62 kB / 0.5335 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.4234, allocations: 92.25 kB / 0.5336 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002113/0.4255, allocations: 1.341 MB / 0.5349 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.4363, allocations: 5.333 MB / 0.5401 GB, free: 9.145 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/0.4599, allocations: 18.36 MB / 0.558 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005006/0.4649, allocations: 1.637 MB / 0.5596 GB, free: 4.965 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.4661, allocations: 0.6393 MB / 0.5603 GB, free: 4.316 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006321/0.4724, allocations: 2.972 MB / 0.5632 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.4724, allocations: 39.06 kB / 0.5632 GB, free: 1.273 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.4724, allocations: 0 / 0.5632 GB, free: 1.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005558/0.478, allocations: 2.104 MB / 0.5653 GB, free: 15.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.478, allocations: 55.91 kB / 0.5653 GB, free: 15.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/0.481, allocations: 1.931 MB / 0.5672 GB, free: 13.15 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.4811, allocations: 41.69 kB / 0.5672 GB, free: 13.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.4825, allocations: 1.923 MB / 0.5691 GB, free: 11.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.4829, allocations: 325.5 kB / 0.5694 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008873/0.4838, allocations: 0.6195 MB / 0.57 GB, free: 10.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4839, allocations: 353.9 kB / 0.5704 GB, free: 9.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.4853, allocations: 0.8842 MB / 0.5712 GB, free: 8.973 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/0.4882, allocations: 2.751 MB / 0.5739 GB, free: 5.289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/0.493, allocations: 3.973 MB / 0.5778 GB, free: 400 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.213e-05/0.493, allocations: 20 kB / 0.5778 GB, free: 380 kB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005855/0.4989, allocations: 3.523 MB / 0.5813 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/0.4989, allocations: 32 kB / 0.5813 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.974e-05/0.499, allocations: 68.88 kB / 0.5814 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-05/0.4991, allocations: 84 kB / 0.5814 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.5011, allocations: 0.6628 MB / 0.5821 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001189/0.5012, allocations: 131.5 kB / 0.5822 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.5032, allocations: 416.9 kB / 0.5826 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/0.5035, allocations: 184 kB / 0.5828 GB, free: 11.27 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 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (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.002245/0.5057, allocations: 1.353 MB / 0.5841 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.506, allocations: 158.9 kB / 0.5843 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.5063, allocations: 188 kB / 0.5844 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/0.5063, allocations: 15.98 kB / 0.5844 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.5064, allocations: 0 / 0.5844 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.5064, allocations: 3.984 kB / 0.5844 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005917/0.5123, allocations: 3.123 MB / 0.5875 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.5123, allocations: 12.73 kB / 0.5875 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/0.5128, allocations: 95.83 kB / 0.5876 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.5128, allocations: 12 kB / 0.5876 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.5128, allocations: 23.98 kB / 0.5876 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.5128, allocations: 11.94 kB / 0.5876 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.5128, allocations: 7.938 kB / 0.5877 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.5144, allocations: 1.23 MB / 0.5889 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.5147, allocations: 154.7 kB / 0.589 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.5149, allocations: 23.98 kB / 0.589 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.5154, allocations: 23.98 kB / 0.5891 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.5155, allocations: 51.75 kB / 0.5891 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.5156, allocations: 31.98 kB / 0.5891 GB, free: 4.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001698/0.5173, allocations: 1.118 MB / 0.5902 GB, free: 3.434 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5173, allocations: 0 / 0.5902 GB, free: 3.434 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002732/0.52, allocations: 0.7006 MB / 0.5909 GB, free: 2.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0003825/0.5204, allocations: 146.9 kB / 0.591 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003193/0.5236, allocations: 1.961 MB / 0.593 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5236, allocations: 0 / 0.593 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005739/0.5242, allocations: 429.6 kB / 0.5934 GB, free: 216 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.5253, allocations: 177.9 kB / 0.5935 GB, free: 40 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009397/0.5347, allocations: 5.065 MB / 0.5985 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00318/0.5379, allocations: 1.708 MB / 0.6002 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002364/0.5402, allocations: 0.9272 MB / 0.6011 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.5406, allocations: 112.5 kB / 0.6012 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of SimCode: time 1.914e-06/0.5406, allocations: 0 / 0.6012 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of Templates: time 0.02874/0.5694, allocations: 11.65 MB / 0.6125 GB, free: 12.61 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.638553509954363]