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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002435/0.002435, allocations: 196.5 kB / 22.98 MB, free: 5.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.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.2274/0.2274, allocations: 44.92 MB / 351.6 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 63.89 kB / 495.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4348, allocations: 64.26 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01294/0.4478, allocations: 9.813 MB / 0.556 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007777/0.4555, allocations: 2.953 MB / 0.5588 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.4577, allocations: 51.88 kB / 0.5589 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003975/0.4616, allocations: 2.025 MB / 0.5609 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.4649, allocations: 1.156 MB / 0.562 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.4657, allocations: 291.4 kB / 0.5623 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003328/0.469, allocations: 2.318 MB / 0.5645 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.4711, allocations: 1.648 MB / 0.5662 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.4722, allocations: 0.9034 MB / 0.567 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.4738, allocations: 1.269 MB / 0.5683 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.4741, allocations: 204 kB / 0.5685 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.4754, allocations: 0.7294 MB / 0.5692 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.4765, allocations: 1.18 MB / 0.5703 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.4778, allocations: 1.351 MB / 0.5717 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004974/0.4827, allocations: 4.482 MB / 0.576 GB, free: 1.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4827, allocations: 0 / 0.576 GB, free: 1.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4827, allocations: 0 / 0.576 GB, free: 1.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.759e-05/0.4828, allocations: 0 / 0.576 GB, free: 1.34 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004883/0.4877, allocations: 3.02 MB / 0.579 GB, free: 14.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4877, allocations: 11.97 kB / 0.579 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004862/0.4926, allocations: 1.606 MB / 0.5806 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.495, allocations: 1.36 MB / 0.5819 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.4951, allocations: 152 kB / 0.582 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003415/0.4955, allocations: 195.8 kB / 0.5822 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.506, allocations: 6.428 MB / 0.5885 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-05/0.506, allocations: 11.88 kB / 0.5885 GB, free: 4.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002832/0.5063, allocations: 91.91 kB / 0.5886 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002281/0.5086, allocations: 1.403 MB / 0.59 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.519, allocations: 5.495 MB / 0.5953 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03088/0.5498, allocations: 20.46 MB / 0.6153 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00441/0.5543, allocations: 2.014 MB / 0.6173 GB, free: 5.996 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.5553, allocations: 0.6367 MB / 0.6179 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006471/0.5617, allocations: 3.516 MB / 0.6213 GB, free: 1.691 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.5618, allocations: 39 kB / 0.6214 GB, free: 1.645 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.5618, allocations: 0 / 0.6214 GB, free: 1.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005358/0.5671, allocations: 1.986 MB / 0.6233 GB, free: 15.65 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.5672, allocations: 59.84 kB / 0.6234 GB, free: 15.58 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/0.5704, allocations: 1.967 MB / 0.6253 GB, free: 13.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.5705, allocations: 37.69 kB / 0.6253 GB, free: 13.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.5721, allocations: 1.958 MB / 0.6272 GB, free: 11.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.5724, allocations: 329.5 kB / 0.6275 GB, free: 11.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008871/0.5733, allocations: 0.6235 MB / 0.6282 GB, free: 10.63 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.5735, allocations: 361.9 kB / 0.6285 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.5749, allocations: 0.8881 MB / 0.6294 GB, free: 9.383 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003186/0.5781, allocations: 2.774 MB / 0.6321 GB, free: 5.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005098/0.5832, allocations: 3.999 MB / 0.636 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-05/0.5833, allocations: 20 kB / 0.636 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005854/0.5891, allocations: 3.559 MB / 0.6395 GB, free: 13.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.5892, allocations: 36 kB / 0.6395 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.269e-05/0.5892, allocations: 68 kB / 0.6396 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.384e-05/0.5893, allocations: 87.94 kB / 0.6397 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.5912, allocations: 0.6667 MB / 0.6403 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001114/0.5913, allocations: 131.5 kB / 0.6404 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.5931, allocations: 429 kB / 0.6408 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/0.5934, allocations: 188 kB / 0.641 GB, free: 11.56 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.002917/0.5963, allocations: 1.369 MB / 0.6424 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004821/0.5968, allocations: 166.8 kB / 0.6425 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/0.5973, allocations: 205.2 kB / 0.6427 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/0.5974, allocations: 11.98 kB / 0.6427 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.5974, allocations: 0 / 0.6427 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.5974, allocations: 11.92 kB / 0.6427 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009768/0.6072, allocations: 4.145 MB / 0.6468 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.6072, allocations: 4 kB / 0.6468 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.6076, allocations: 99.81 kB / 0.6469 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.6076, allocations: 12.75 kB / 0.6469 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.982e-05/0.6076, allocations: 16 kB / 0.6469 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.6076, allocations: 12 kB / 0.6469 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/0.6077, allocations: 15.92 kB / 0.6469 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.6093, allocations: 1.251 MB / 0.6482 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005282/0.6098, allocations: 251.7 kB / 0.6484 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/0.6102, allocations: 23.97 kB / 0.6484 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.6108, allocations: 23.98 kB / 0.6484 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.6109, allocations: 55.83 kB / 0.6485 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.611, allocations: 27.98 kB / 0.6485 GB, free: 3.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002195/0.6132, allocations: 1.287 MB / 0.6498 GB, free: 2.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6132, allocations: 0 / 0.6498 GB, free: 2.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002723/0.6159, allocations: 0.7202 MB / 0.6505 GB, free: 1.609 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.00034/0.6162, allocations: 143 kB / 0.6506 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003329/0.6196, allocations: 1.968 MB / 0.6525 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.6196, allocations: 0 / 0.6525 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.6202, allocations: 425.5 kB / 0.653 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.6216, allocations: 252.9 kB / 0.6532 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.6354, allocations: 5.199 MB / 0.6583 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004304/0.6397, allocations: 2.319 MB / 0.6605 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002578/0.6423, allocations: 0.9638 MB / 0.6615 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.6427, allocations: 127.4 kB / 0.6616 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of SimCode: time 2.535e-06/0.6427, allocations: 0 / 0.6616 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of Templates: time 0.04098/0.6837, allocations: 16.21 MB / 0.6774 GB, free: 5.922 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/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: 6.059374407865107]