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.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.0009607/0.0009607, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001122/0.001122, allocations: 170 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9984/0.9984, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.2449/0.2449, allocations: 32.8 MB / 294.6 MB, free: 1.176 MB / 266.7 MB " [Timeout remaining time 180] 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.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.056e-05, allocations: 6.188 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.009289/0.00932, allocations: 9.045 MB / 332.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003903/0.01322, allocations: 2.954 MB / 335.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.0136, allocations: 55.81 kB / 335.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.01564, allocations: 2.11 MB / 337.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.01708, allocations: 1.163 MB / 338.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.01739, allocations: 323.2 kB / 338.9 MB, free: 9.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.01888, allocations: 2.203 MB / 341.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.02006, allocations: 1.848 MB / 343 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008029/0.02086, allocations: 1.294 MB / 344.3 MB, free: 4.504 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008162/0.02168, allocations: 1.122 MB / 345.4 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.02183, allocations: 192 kB / 345.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005706/0.0224, allocations: 0.6552 MB / 346.2 MB, free: 2.535 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005996/0.023, allocations: 1.192 MB / 347.4 MB, free: 1.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004413/0.02344, allocations: 0.7241 MB / 348.1 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.02509, allocations: 2.72 MB / 350.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.02509, allocations: 4 kB / 350.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02509, allocations: 0 / 350.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.02511, allocations: 0 / 350.9 MB, free: 13.88 MB / 330.7 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.002066/0.02718, allocations: 2.674 MB / 353.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.02721, allocations: 8.031 kB / 353.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.02887, allocations: 0.7539 MB / 354.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/0.02984, allocations: 1.049 MB / 355.3 MB, free: 9.324 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.02993, allocations: 152 kB / 355.5 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.03012, allocations: 192.2 kB / 355.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.03276, allocations: 2.841 MB / 358.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.0328, allocations: 15.88 kB / 358.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.03293, allocations: 87.91 kB / 358.6 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009366/0.03387, allocations: 1.192 MB / 359.8 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.03587, allocations: 1.506 MB / 361.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.04642, allocations: 15.26 MB / 376.6 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.04809, allocations: 0.9229 MB / 377.5 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.04828, allocations: 159.7 kB / 377.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002324/0.05061, allocations: 2.119 MB / 379.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.05063, allocations: 39 kB / 379.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 1.903e-06/0.05063, allocations: 0 / 379.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.00221/0.05284, allocations: 1.093 MB / 380.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.05287, allocations: 59.91 kB / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008497/0.05372, allocations: 1.424 MB / 382.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.05375, allocations: 33.7 kB / 382.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009571/0.05471, allocations: 1.842 MB / 384.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.05486, allocations: 325.4 kB / 384.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004112/0.05527, allocations: 0.5762 MB / 385.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.05536, allocations: 349.9 kB / 385.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.05568, allocations: 314.2 kB / 385.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.05669, allocations: 2.087 MB / 387.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.05868, allocations: 2.755 MB / 390.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/0.0587, allocations: 16 kB / 390.7 MB, free: 3.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001758/0.06045, allocations: 1.961 MB / 392.6 MB, free: 1.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.06049, allocations: 32 kB / 392.7 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/0.06053, allocations: 72.16 kB / 392.7 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.565e-05/0.06058, allocations: 88 kB / 392.8 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.06166, allocations: 0.6667 MB / 393.5 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.795e-05/0.06172, allocations: 131.5 kB / 393.6 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008244/0.06254, allocations: 397.2 kB / 394 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.06271, allocations: 160 kB / 394.2 MB, free: 15.62 MB / 378.7 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.0005642/0.06327, allocations: 369.6 kB / 394.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.06337, allocations: 103.6 kB / 394.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.06354, allocations: 160 kB / 394.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.06355, allocations: 8 kB / 394.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.06356, allocations: 0 / 394.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.06357, allocations: 7.984 kB / 394.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.06577, allocations: 1.868 MB / 396.7 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.06578, allocations: 11.94 kB / 396.7 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.06598, allocations: 87.91 kB / 396.8 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.06598, allocations: 11.94 kB / 396.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.06601, allocations: 19.98 kB / 396.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.06601, allocations: 11.94 kB / 396.8 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.06602, allocations: 11.94 kB / 396.8 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.06645, allocations: 0.6136 MB / 397.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.06655, allocations: 154.8 kB / 397.6 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.06663, allocations: 16 kB / 397.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.06682, allocations: 16 kB / 397.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.06688, allocations: 55.73 kB / 397.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.06691, allocations: 20 kB / 397.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003945/0.0673, allocations: 0.5448 MB / 398.2 MB, free: 11.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0673, allocations: 4 kB / 398.2 MB, free: 11.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001252/0.06856, allocations: 0.7122 MB / 398.9 MB, free: 10.63 MB / 378.7 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.0001833/0.06874, allocations: 128.1 kB / 399.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008975/0.06964, allocations: 1.095 MB / 400.2 MB, free: 9.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.834e-05/0.06971, allocations: 47.94 kB / 400.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.06985, allocations: 158 kB / 400.4 MB, free: 9.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.07038, allocations: 206.8 kB / 400.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.07447, allocations: 4.473 MB / 405 MB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.07503, allocations: 0.7462 MB / 405.8 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004702/0.0755, allocations: 250.5 kB / 406 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.07579, allocations: 271.3 kB / 406.3 MB, free: 3.109 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.07579, allocations: 0 / 406.3 MB, free: 3.109 MB / 378.7 MB Notification: Performance of Templates: time 0.01962/0.09541, allocations: 12.46 MB / 418.8 MB, free: 6.801 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.171249996405095]