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.001519/0.001519, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.001593/0.001593, allocations: 200.3 kB / 20.74 MB, free: 2.344 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.589/1.589, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2383/0.2383, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.002086/0.002086, allocations: 63.91 kB / 0.4914 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1471, allocations: 65.99 MB / 0.5558 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0132/0.1603, allocations: 9.562 MB / 0.5652 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007641/0.1679, allocations: 2.948 MB / 0.5681 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.1695, allocations: 55.81 kB / 0.5681 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004282/0.1738, allocations: 2.013 MB / 0.5701 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.1773, allocations: 1.133 MB / 0.5712 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008461/0.1781, allocations: 287.4 kB / 0.5715 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003898/0.182, allocations: 2.34 MB / 0.5737 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/0.1845, allocations: 1.907 MB / 0.5756 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.1861, allocations: 0.8995 MB / 0.5765 GB, free: 96 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.1885, allocations: 1.25 MB / 0.5777 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003965/0.1889, allocations: 192 kB / 0.5779 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.1903, allocations: 0.7254 MB / 0.5786 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.1915, allocations: 1.137 MB / 0.5797 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.1933, allocations: 1.308 MB / 0.581 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005615/0.1989, allocations: 4.334 MB / 0.5852 GB, free: 7.117 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1989, allocations: 0 / 0.5852 GB, free: 7.117 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1989, allocations: 0 / 0.5852 GB, free: 7.117 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.013e-05/0.199, allocations: 0 / 0.5852 GB, free: 7.117 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.005885/0.2049, allocations: 2.942 MB / 0.5881 GB, free: 4.113 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2049, allocations: 8.031 kB / 0.5881 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005582/0.2105, allocations: 1.582 MB / 0.5896 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.2135, allocations: 1.336 MB / 0.5909 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.2137, allocations: 148 kB / 0.5911 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004491/0.2141, allocations: 187.8 kB / 0.5913 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2874/0.5015, allocations: 6.25 MB / 0.5974 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/0.5015, allocations: 13.98 kB / 0.5974 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.5018, allocations: 84.94 kB / 0.5975 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002339/0.5041, allocations: 1.342 MB / 0.5988 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.5156, allocations: 5.327 MB / 0.604 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02524/0.5408, allocations: 20.03 MB / 0.6235 GB, free: 17.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/0.5446, allocations: 2.015 MB / 0.6255 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/0.5454, allocations: 0.6341 MB / 0.6261 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004935/0.5503, allocations: 3.499 MB / 0.6295 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.5503, allocations: 35 kB / 0.6296 GB, free: 13.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 1.337e-05/0.5503, allocations: 0 / 0.6296 GB, free: 13.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004741/0.5551, allocations: 1.983 MB / 0.6315 GB, free: 11.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.5551, allocations: 63.77 kB / 0.6316 GB, free: 11.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.5572, allocations: 1.94 MB / 0.6335 GB, free: 9.156 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.5572, allocations: 35.59 kB / 0.6335 GB, free: 9.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/0.558, allocations: 1.911 MB / 0.6354 GB, free: 7.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.5582, allocations: 323.6 kB / 0.6357 GB, free: 7.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006194/0.5588, allocations: 0.6234 MB / 0.6363 GB, free: 6.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.5589, allocations: 365.9 kB / 0.6366 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000974/0.5598, allocations: 0.8842 MB / 0.6375 GB, free: 5.141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.5614, allocations: 2.744 MB / 0.6402 GB, free: 1.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004286/0.5657, allocations: 3.983 MB / 0.6441 GB, free: 12.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.653e-05/0.5658, allocations: 16 kB / 0.6441 GB, free: 12.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005981/0.5718, allocations: 3.53 MB / 0.6475 GB, free: 9.008 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.5718, allocations: 32 kB / 0.6476 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.81e-05/0.5719, allocations: 67.94 kB / 0.6476 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/0.572, allocations: 88.78 kB / 0.6477 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.5741, allocations: 0.6628 MB / 0.6484 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001587/0.5742, allocations: 127.5 kB / 0.6485 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.5762, allocations: 426.3 kB / 0.6489 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003005/0.5765, allocations: 195 kB / 0.6491 GB, free: 7.43 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.002194/0.5787, allocations: 1.338 MB / 0.6504 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.579, allocations: 166.9 kB / 0.6505 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004462/0.5795, allocations: 199.8 kB / 0.6507 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.5795, allocations: 8 kB / 0.6507 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5795, allocations: 0 / 0.6507 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5795, allocations: 0 / 0.6507 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007809/0.5873, allocations: 4.089 MB / 0.6547 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.5873, allocations: 4 kB / 0.6547 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.5878, allocations: 103.8 kB / 0.6548 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.5878, allocations: 8 kB / 0.6548 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.5878, allocations: 15.94 kB / 0.6549 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/0.5878, allocations: 14.52 kB / 0.6549 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/0.5878, allocations: 11.94 kB / 0.6549 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.5895, allocations: 1.239 MB / 0.6561 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.59, allocations: 255.7 kB / 0.6563 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.5903, allocations: 19.94 kB / 0.6564 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.5908, allocations: 27.97 kB / 0.6564 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.5909, allocations: 55.77 kB / 0.6564 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.591, allocations: 31.94 kB / 0.6565 GB, free: 15.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002152/0.5932, allocations: 1.267 MB / 0.6577 GB, free: 14.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5932, allocations: 0 / 0.6577 GB, free: 14.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003389/0.5965, allocations: 0.693 MB / 0.6584 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.0004557/0.597, allocations: 143 kB / 0.6585 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003889/0.6009, allocations: 1.955 MB / 0.6604 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.6009, allocations: 2 kB / 0.6604 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.6016, allocations: 433.8 kB / 0.6608 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.001597/0.6032, allocations: 235.7 kB / 0.6611 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009508/0.6127, allocations: 5.096 MB / 0.666 GB, free: 5.699 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/0.6157, allocations: 2.267 MB / 0.6683 GB, free: 3.402 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002303/0.618, allocations: 0.9542 MB / 0.6692 GB, free: 2.445 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.6184, allocations: 123.4 kB / 0.6693 GB, free: 2.328 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6184, allocations: 0 / 0.6693 GB, free: 2.328 MB / 478.1 MB Notification: Performance of Templates: time 0.03511/0.6535, allocations: 15.26 MB / 0.6842 GB, free: 3.113 MB / 494.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/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: 6.124829098582268]