Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001954/0.001954, allocations: 112.5 kB / 18.45 MB, free: 4.562 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.002764/0.002764, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.679/1.679, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2476/0.2476, allocations: 46.91 MB / 357.8 MB, free: 10.3 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+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.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 68.03 kB / 0.4921 GB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1571, allocations: 65.99 MB / 0.5565 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01307/0.1702, allocations: 9.571 MB / 0.5659 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007335/0.1775, allocations: 2.94 MB / 0.5687 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.1793, allocations: 55.81 kB / 0.5688 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003935/0.1833, allocations: 2.013 MB / 0.5707 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.1864, allocations: 1.129 MB / 0.5718 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008639/0.1873, allocations: 283.5 kB / 0.5721 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003586/0.1908, allocations: 2.341 MB / 0.5744 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.1932, allocations: 1.914 MB / 0.5763 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.1946, allocations: 0.8917 MB / 0.5771 GB, free: 96 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/0.1964, allocations: 1.25 MB / 0.5784 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003492/0.1967, allocations: 192 kB / 0.5785 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.1981, allocations: 0.7333 MB / 0.5793 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.1992, allocations: 1.133 MB / 0.5804 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.2005, allocations: 1.308 MB / 0.5816 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005199/0.2057, allocations: 4.334 MB / 0.5859 GB, free: 7.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.2057, allocations: 3.984 kB / 0.5859 GB, free: 7.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2057, allocations: 0 / 0.5859 GB, free: 7.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.2058, allocations: 0 / 0.5859 GB, free: 7.109 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.005717/0.2116, allocations: 2.938 MB / 0.5887 GB, free: 4.109 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.2116, allocations: 12.03 kB / 0.5888 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005351/0.217, allocations: 1.574 MB / 0.5903 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.2199, allocations: 1.344 MB / 0.5916 GB, free: 1.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.22, allocations: 140 kB / 0.5917 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003939/0.2204, allocations: 191.8 kB / 0.5919 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3215/0.5419, allocations: 6.246 MB / 0.598 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.676e-05/0.542, allocations: 14.94 kB / 0.598 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.5422, allocations: 89.53 kB / 0.5981 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002554/0.5448, allocations: 1.338 MB / 0.5994 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.5567, allocations: 5.334 MB / 0.6046 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02759/0.5843, allocations: 20.04 MB / 0.6242 GB, free: 17.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003872/0.5882, allocations: 2.018 MB / 0.6262 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007129/0.5889, allocations: 0.6347 MB / 0.6268 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005098/0.594, allocations: 3.495 MB / 0.6302 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.594, allocations: 39 kB / 0.6302 GB, free: 13.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.086e-06/0.594, allocations: 0 / 0.6302 GB, free: 13.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004603/0.5986, allocations: 1.98 MB / 0.6322 GB, free: 11.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.5987, allocations: 62.73 kB / 0.6322 GB, free: 11.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.6008, allocations: 1.942 MB / 0.6341 GB, free: 9.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.6008, allocations: 33.64 kB / 0.6342 GB, free: 9.113 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008129/0.6016, allocations: 1.917 MB / 0.636 GB, free: 7.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.6018, allocations: 321.7 kB / 0.6363 GB, free: 7.012 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005719/0.6024, allocations: 0.6256 MB / 0.637 GB, free: 6.379 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.6024, allocations: 357.9 kB / 0.6373 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009223/0.6034, allocations: 0.8881 MB / 0.6382 GB, free: 5.133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.605, allocations: 2.744 MB / 0.6408 GB, free: 1.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004323/0.6093, allocations: 3.976 MB / 0.6447 GB, free: 12.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.481e-05/0.6093, allocations: 20 kB / 0.6448 GB, free: 12.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006369/0.6157, allocations: 3.53 MB / 0.6482 GB, free: 9.004 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.419e-05/0.6157, allocations: 36.09 kB / 0.6482 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-05/0.6158, allocations: 64 kB / 0.6483 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.6159, allocations: 95.94 kB / 0.6484 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.618, allocations: 0.6589 MB / 0.649 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001094/0.6181, allocations: 123.5 kB / 0.6491 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.6202, allocations: 424.8 kB / 0.6496 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.6205, allocations: 198 kB / 0.6497 GB, free: 7.426 MB / 462.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.002545/0.6231, allocations: 1.342 MB / 0.6511 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.6234, allocations: 162.9 kB / 0.6512 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.6238, allocations: 200.9 kB / 0.6514 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.6238, allocations: 10.58 kB / 0.6514 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.6238, allocations: 0 / 0.6514 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.6238, allocations: 0 / 0.6514 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007045/0.6309, allocations: 4.086 MB / 0.6554 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.6309, allocations: 5.5 kB / 0.6554 GB, free: 1.473 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.6313, allocations: 103.8 kB / 0.6555 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.6313, allocations: 8 kB / 0.6555 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.6314, allocations: 15.94 kB / 0.6555 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-05/0.6314, allocations: 11.98 kB / 0.6555 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/0.6314, allocations: 11.94 kB / 0.6555 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.6331, allocations: 1.243 MB / 0.6568 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.6336, allocations: 255.7 kB / 0.657 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.6337, allocations: 19.94 kB / 0.657 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.6342, allocations: 27.98 kB / 0.6571 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.6343, allocations: 55.75 kB / 0.6571 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.6343, allocations: 28.75 kB / 0.6571 GB, free: 15.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001902/0.6362, allocations: 1.271 MB / 0.6584 GB, free: 14.33 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6362, allocations: 4 kB / 0.6584 GB, free: 14.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002882/0.6391, allocations: 0.6852 MB / 0.659 GB, free: 13.64 MB / 478.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.0003494/0.6395, allocations: 147 kB / 0.6592 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003344/0.6428, allocations: 1.952 MB / 0.6611 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6428, allocations: 0 / 0.6611 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.6434, allocations: 429.8 kB / 0.6615 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.6447, allocations: 235 kB / 0.6617 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.6552, allocations: 5.409 MB / 0.667 GB, free: 5.379 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002587/0.6578, allocations: 2.271 MB / 0.6692 GB, free: 3.078 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.6583, allocations: 147.4 kB / 0.6694 GB, free: 2.938 MB / 478.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6583, allocations: 0 / 0.6694 GB, free: 2.938 MB / 478.1 MB Notification: Performance of Templates: time 0.05569/0.714, allocations: 30.26 MB / 0.6989 GB, free: 4.738 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 10.906168591987807]