Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001325/0.001325, allocations: 111.5 kB / 18.45 MB, free: 4.621 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.001467/0.001467, allocations: 208.3 kB / 21.41 MB, free: 1.668 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.598/1.598, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2963/0.2963, allocations: 46.93 MB / 357.8 MB, free: 10.33 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.CutForce3,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.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.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.89 kB / 0.4921 GB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1522, allocations: 66 MB / 0.5565 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01333/0.1656, allocations: 9.558 MB / 0.5658 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007183/0.1727, allocations: 2.944 MB / 0.5687 GB, free: 8.812 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.1744, allocations: 55.81 kB / 0.5688 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004004/0.1784, allocations: 2.021 MB / 0.5707 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.1815, allocations: 1.129 MB / 0.5718 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.1823, allocations: 287.4 kB / 0.5721 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003445/0.1858, allocations: 2.333 MB / 0.5744 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/0.1882, allocations: 1.907 MB / 0.5763 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.1894, allocations: 0.8956 MB / 0.5771 GB, free: 136 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.1911, allocations: 1.254 MB / 0.5784 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.1915, allocations: 195.9 kB / 0.5785 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.1928, allocations: 0.7216 MB / 0.5793 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.1939, allocations: 1.141 MB / 0.5804 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.1953, allocations: 1.312 MB / 0.5816 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.2005, allocations: 4.33 MB / 0.5859 GB, free: 7.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2005, allocations: 0 / 0.5859 GB, free: 7.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2005, allocations: 0 / 0.5859 GB, free: 7.148 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001156/0.2006, allocations: 0 / 0.5859 GB, free: 7.148 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.005638/0.2062, allocations: 2.942 MB / 0.5887 GB, free: 4.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.2063, allocations: 16.03 kB / 0.5888 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/0.2116, allocations: 1.571 MB / 0.5903 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.2145, allocations: 1.344 MB / 0.5916 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.2147, allocations: 144 kB / 0.5917 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003792/0.215, allocations: 187.8 kB / 0.5919 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3427/0.5578, allocations: 6.244 MB / 0.598 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.488e-05/0.5579, allocations: 12.19 kB / 0.598 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.5581, allocations: 92.33 kB / 0.5981 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002399/0.5605, allocations: 1.342 MB / 0.5994 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.5717, allocations: 5.333 MB / 0.6046 GB, free: 30.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0298/0.6015, allocations: 20.03 MB / 0.6242 GB, free: 17.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.6055, allocations: 2.015 MB / 0.6262 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/0.6063, allocations: 0.632 MB / 0.6268 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005674/0.6119, allocations: 3.497 MB / 0.6302 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.612, allocations: 41.91 kB / 0.6302 GB, free: 13.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.517e-06/0.612, allocations: 0 / 0.6302 GB, free: 13.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004799/0.6168, allocations: 1.986 MB / 0.6322 GB, free: 11.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.6168, allocations: 55.84 kB / 0.6322 GB, free: 11.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.6195, allocations: 1.942 MB / 0.6341 GB, free: 9.176 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.6196, allocations: 35.91 kB / 0.6342 GB, free: 9.137 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.6207, allocations: 1.909 MB / 0.636 GB, free: 7.352 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.621, allocations: 325.5 kB / 0.6363 GB, free: 7.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007607/0.6217, allocations: 0.6251 MB / 0.637 GB, free: 6.406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.6218, allocations: 357.9 kB / 0.6373 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.6229, allocations: 0.8881 MB / 0.6382 GB, free: 5.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.6246, allocations: 2.744 MB / 0.6408 GB, free: 1.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004735/0.6293, allocations: 3.977 MB / 0.6447 GB, free: 12.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.66e-05/0.6294, allocations: 16 kB / 0.6447 GB, free: 12.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006554/0.6359, allocations: 3.538 MB / 0.6482 GB, free: 9.027 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/0.636, allocations: 32.94 kB / 0.6482 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.6361, allocations: 64 kB / 0.6483 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/0.6362, allocations: 91.94 kB / 0.6484 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.6382, allocations: 0.6589 MB / 0.649 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001917/0.6384, allocations: 127.5 kB / 0.6491 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.6406, allocations: 424.8 kB / 0.6495 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/0.641, allocations: 199.3 kB / 0.6497 GB, free: 7.449 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.002495/0.6435, allocations: 1.341 MB / 0.651 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.6438, allocations: 162.9 kB / 0.6512 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.6444, allocations: 196.9 kB / 0.6514 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.6444, allocations: 11.94 kB / 0.6514 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.6444, allocations: 0 / 0.6514 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.6444, allocations: 3.984 kB / 0.6514 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008751/0.6531, allocations: 4.086 MB / 0.6554 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.6532, allocations: 4 kB / 0.6554 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.6536, allocations: 103.8 kB / 0.6555 GB, free: 1.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/0.6536, allocations: 8 kB / 0.6555 GB, free: 1.391 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.6536, allocations: 15.94 kB / 0.6555 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/0.6537, allocations: 15.92 kB / 0.6555 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.6537, allocations: 8 kB / 0.6555 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.6554, allocations: 1.247 MB / 0.6568 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005376/0.656, allocations: 255.7 kB / 0.657 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.6563, allocations: 19.94 kB / 0.657 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005774/0.6568, allocations: 27.97 kB / 0.6571 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.6569, allocations: 51.83 kB / 0.6571 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/0.657, allocations: 28 kB / 0.6571 GB, free: 15.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002275/0.6593, allocations: 1.271 MB / 0.6584 GB, free: 14.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6593, allocations: 4 kB / 0.6584 GB, free: 14.35 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002858/0.6621, allocations: 0.6852 MB / 0.659 GB, free: 13.66 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.0003874/0.6625, allocations: 147 kB / 0.6592 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003559/0.6661, allocations: 1.952 MB / 0.6611 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6661, allocations: 0 / 0.6611 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006426/0.6667, allocations: 433.7 kB / 0.6615 GB, free: 11.15 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.6683, allocations: 231.5 kB / 0.6617 GB, free: 10.94 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.6791, allocations: 5.406 MB / 0.667 GB, free: 5.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003284/0.6824, allocations: 2.271 MB / 0.6692 GB, free: 3.109 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.6829, allocations: 147.4 kB / 0.6694 GB, free: 2.969 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6829, allocations: 0 / 0.6694 GB, free: 2.969 MB / 478.1 MB Notification: Performance of Templates: time 0.05336/0.7362, allocations: 30.27 MB / 0.6989 GB, free: 4.777 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 11.043570106994594]