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.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.001439/0.001439, allocations: 105.5 kB / 19.81 MB, free: 2.516 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.001978/0.001978, allocations: 193.2 kB / 22.98 MB, free: 5.617 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.491/1.491, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2313/0.2313, allocations: 44.92 MB / 351.6 MB, free: 12.24 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.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: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 495.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4189, allocations: 64.24 MB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01502/0.4339, allocations: 9.811 MB / 0.556 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009041/0.443, allocations: 2.956 MB / 0.5588 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/0.4456, allocations: 51.88 kB / 0.5589 GB, free: 3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004611/0.4502, allocations: 2.025 MB / 0.5609 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003864/0.4541, allocations: 1.156 MB / 0.562 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009428/0.4551, allocations: 291.4 kB / 0.5623 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.459, allocations: 2.321 MB / 0.5645 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.4613, allocations: 1.659 MB / 0.5662 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.4625, allocations: 0.8994 MB / 0.567 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.4641, allocations: 1.273 MB / 0.5683 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.4645, allocations: 200 kB / 0.5685 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.4657, allocations: 0.7255 MB / 0.5692 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.4669, allocations: 1.192 MB / 0.5703 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.4684, allocations: 1.343 MB / 0.5717 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005497/0.4739, allocations: 4.474 MB / 0.576 GB, free: 1.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4739, allocations: 4 kB / 0.576 GB, free: 1.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4739, allocations: 4 kB / 0.576 GB, free: 1.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.049e-05/0.474, allocations: 0 / 0.576 GB, free: 1.348 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.005326/0.4793, allocations: 3.024 MB / 0.579 GB, free: 14.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4794, allocations: 8.031 kB / 0.579 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00502/0.4844, allocations: 1.602 MB / 0.5806 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.4871, allocations: 1.364 MB / 0.5819 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.4873, allocations: 148.1 kB / 0.582 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004501/0.4877, allocations: 187.8 kB / 0.5822 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.4997, allocations: 6.436 MB / 0.5885 GB, free: 4.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/0.4997, allocations: 11.88 kB / 0.5885 GB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/0.5, allocations: 91.89 kB / 0.5886 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002324/0.5023, allocations: 1.41 MB / 0.59 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.5142, allocations: 5.487 MB / 0.5953 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03433/0.5485, allocations: 20.46 MB / 0.6153 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004766/0.5533, allocations: 2.018 MB / 0.6173 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.5544, allocations: 0.6367 MB / 0.6179 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007406/0.5619, allocations: 3.516 MB / 0.6213 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.5619, allocations: 43 kB / 0.6214 GB, free: 1.648 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.996e-06/0.5619, allocations: 0 / 0.6214 GB, free: 1.648 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005564/0.5675, allocations: 1.982 MB / 0.6233 GB, free: 15.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.5675, allocations: 59.78 kB / 0.6234 GB, free: 15.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003637/0.5712, allocations: 1.963 MB / 0.6253 GB, free: 13.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/0.5712, allocations: 37.7 kB / 0.6253 GB, free: 13.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/0.573, allocations: 1.962 MB / 0.6272 GB, free: 11.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.5733, allocations: 329.5 kB / 0.6276 GB, free: 11.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009157/0.5743, allocations: 0.6274 MB / 0.6282 GB, free: 10.64 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003154/0.5746, allocations: 357.9 kB / 0.6285 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.5759, allocations: 0.8881 MB / 0.6294 GB, free: 9.391 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004184/0.5801, allocations: 2.774 MB / 0.6321 GB, free: 5.676 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006165/0.5863, allocations: 3.992 MB / 0.636 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.8e-05/0.5863, allocations: 20 kB / 0.636 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006776/0.5931, allocations: 3.566 MB / 0.6395 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/0.5931, allocations: 35.98 kB / 0.6395 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.518e-05/0.5932, allocations: 68 kB / 0.6396 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.5933, allocations: 92.75 kB / 0.6397 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.5953, allocations: 0.6589 MB / 0.6403 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001181/0.5954, allocations: 131.5 kB / 0.6404 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.5974, allocations: 424.8 kB / 0.6408 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/0.5977, allocations: 191.9 kB / 0.641 GB, free: 11.57 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.002274/0.5999, allocations: 1.385 MB / 0.6424 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.6002, allocations: 170.8 kB / 0.6425 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.6007, allocations: 197.2 kB / 0.6427 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.6007, allocations: 8 kB / 0.6427 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6007, allocations: 0 / 0.6427 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6007, allocations: 3.984 kB / 0.6427 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00708/0.6078, allocations: 4.149 MB / 0.6468 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.6078, allocations: 4 kB / 0.6468 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/0.6082, allocations: 103.8 kB / 0.6469 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.6082, allocations: 8 kB / 0.6469 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.6083, allocations: 16 kB / 0.6469 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.6083, allocations: 15.98 kB / 0.6469 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.6083, allocations: 7.938 kB / 0.6469 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.6099, allocations: 1.251 MB / 0.6482 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.6104, allocations: 255.7 kB / 0.6484 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.6105, allocations: 16 kB / 0.6484 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.611, allocations: 27.97 kB / 0.6485 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.6112, allocations: 59.83 kB / 0.6485 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.6113, allocations: 24 kB / 0.6485 GB, free: 3.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001946/0.6132, allocations: 1.283 MB / 0.6498 GB, free: 2.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6132, allocations: 0 / 0.6498 GB, free: 2.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002897/0.6161, allocations: 0.7241 MB / 0.6505 GB, free: 1.621 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.0003757/0.6165, allocations: 139 kB / 0.6506 GB, free: 1.477 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003788/0.6203, allocations: 1.972 MB / 0.6525 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.6203, allocations: 0 / 0.6525 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.6209, allocations: 437 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.001408/0.6223, allocations: 249.6 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.01016/0.6325, 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.002683/0.6352, allocations: 2.323 MB / 0.6606 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002224/0.6374, allocations: 0.9676 MB / 0.6615 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.6377, allocations: 115.4 kB / 0.6616 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/0.6377, allocations: 0 / 0.6616 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of Templates: time 0.03738/0.6751, allocations: 16.2 MB / 0.6774 GB, free: 5.93 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/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.922857060097158]