Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001808/0.001808, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002127/0.002127, allocations: 161.9 kB / 24.5 MB, free: 3.711 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.53/1.53, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.2057/0.2057, allocations: 32.8 MB / 294.1 MB, free: 20 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.CutForce3,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.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,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.CutForce3") [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.002124/0.002124, allocations: 59.91 kB / 440.6 MB, free: 9.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3303, allocations: 65.45 MB / 0.4941 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.007859/0.3382, allocations: 8.409 MB / 0.5024 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005202/0.3434, allocations: 2.785 MB / 0.5051 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008605/0.3443, allocations: 54.47 kB / 0.5051 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.3473, allocations: 1.937 MB / 0.507 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.3495, allocations: 1.138 MB / 0.5081 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.3501, allocations: 286.3 kB / 0.5084 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002082/0.3521, allocations: 2.331 MB / 0.5107 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.3539, allocations: 1.729 MB / 0.5124 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.355, allocations: 0.9002 MB / 0.5132 GB, free: 20.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.3567, allocations: 1.165 MB / 0.5144 GB, free: 20.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003995/0.3571, allocations: 198.2 kB / 0.5146 GB, free: 20.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.3584, allocations: 0.6087 MB / 0.5152 GB, free: 20.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.3595, allocations: 1.142 MB / 0.5163 GB, free: 19.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.3607, allocations: 0.9492 MB / 0.5172 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006066/0.3667, allocations: 4.339 MB / 0.5214 GB, free: 17.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3667, allocations: 0 / 0.5214 GB, free: 17.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3667, allocations: 0 / 0.5214 GB, free: 17.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001284/0.3669, allocations: 0 / 0.5214 GB, free: 17.52 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.007205/0.3741, allocations: 2.86 MB / 0.5242 GB, free: 15.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.3741, allocations: 10.75 kB / 0.5243 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005988/0.3801, allocations: 1.596 MB / 0.5258 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00354/0.3837, allocations: 1.28 MB / 0.5271 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.3838, allocations: 151.9 kB / 0.5272 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004934/0.3843, allocations: 192.3 kB / 0.5274 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.395, allocations: 6.254 MB / 0.5335 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/0.395, allocations: 13 kB / 0.5335 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.3953, allocations: 86.56 kB / 0.5336 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002018/0.3973, allocations: 1.341 MB / 0.5349 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00949/0.4068, allocations: 5.334 MB / 0.5401 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02326/0.4301, allocations: 18.36 MB / 0.558 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004252/0.4343, allocations: 1.645 MB / 0.5596 GB, free: 4.969 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009574/0.4353, allocations: 0.6417 MB / 0.5603 GB, free: 4.316 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005928/0.4412, allocations: 2.964 MB / 0.5632 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.4412, allocations: 39.06 kB / 0.5632 GB, free: 1.281 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.835e-06/0.4412, allocations: 0 / 0.5632 GB, free: 1.281 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005503/0.4467, allocations: 2.108 MB / 0.5653 GB, free: 15.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.4468, allocations: 59.91 kB / 0.5653 GB, free: 15.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002843/0.4496, allocations: 1.935 MB / 0.5672 GB, free: 13.15 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.4497, allocations: 37.64 kB / 0.5672 GB, free: 13.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.4512, allocations: 1.923 MB / 0.5691 GB, free: 11.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.4515, allocations: 321.5 kB / 0.5694 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008324/0.4523, allocations: 0.6273 MB / 0.57 GB, free: 10.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4525, allocations: 345.9 kB / 0.5704 GB, free: 9.863 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.4539, allocations: 0.8842 MB / 0.5712 GB, free: 8.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/0.4568, allocations: 2.751 MB / 0.5739 GB, free: 5.293 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004867/0.4616, allocations: 3.974 MB / 0.5778 GB, free: 400 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.015e-05/0.4617, allocations: 20 kB / 0.5778 GB, free: 380 kB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006504/0.4682, allocations: 3.52 MB / 0.5813 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.4682, allocations: 36 kB / 0.5813 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.658e-05/0.4683, allocations: 68 kB / 0.5814 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.725e-05/0.4684, allocations: 88 kB / 0.5814 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/0.4707, allocations: 0.6589 MB / 0.5821 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001222/0.4708, allocations: 127.5 kB / 0.5822 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.473, allocations: 413 kB / 0.5826 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/0.4733, allocations: 192 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.003043/0.4764, allocations: 1.353 MB / 0.5841 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.4767, allocations: 154.9 kB / 0.5843 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.4771, allocations: 188 kB / 0.5844 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.4772, allocations: 8 kB / 0.5844 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.4772, allocations: 0 / 0.5844 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4772, allocations: 3.984 kB / 0.5844 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006034/0.4832, allocations: 3.135 MB / 0.5875 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.4832, allocations: 11.98 kB / 0.5875 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.4837, allocations: 95.83 kB / 0.5876 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.4837, allocations: 8 kB / 0.5876 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.4837, allocations: 23.98 kB / 0.5876 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/0.4837, allocations: 8 kB / 0.5876 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/0.4838, allocations: 15.88 kB / 0.5877 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.4855, allocations: 1.226 MB / 0.5889 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.4859, allocations: 154.7 kB / 0.589 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.486, allocations: 19.98 kB / 0.589 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.4864, allocations: 23.98 kB / 0.5891 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4865, allocations: 59.69 kB / 0.5891 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.4866, allocations: 35.92 kB / 0.5891 GB, free: 4.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001725/0.4883, allocations: 1.11 MB / 0.5902 GB, free: 3.441 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4883, allocations: 0 / 0.5902 GB, free: 3.441 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003165/0.4915, allocations: 0.7006 MB / 0.5909 GB, free: 2.738 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.0004013/0.4919, allocations: 146.9 kB / 0.5911 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.4953, allocations: 1.959 MB / 0.593 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4953, allocations: 0 / 0.593 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005754/0.4959, allocations: 427.2 kB / 0.5934 GB, free: 228 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.497, allocations: 184.3 kB / 0.5935 GB, free: 44 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009887/0.5069, 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.002557/0.5095, allocations: 1.712 MB / 0.6002 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002213/0.5117, allocations: 0.9233 MB / 0.6011 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.512, allocations: 112.5 kB / 0.6012 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.512, allocations: 0 / 0.6012 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of Templates: time 0.02818/0.5402, 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.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.606293643009849]