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.001108/0.001108, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002695, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001069/0.001069, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002429, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9245/0.9245, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09995/1.024, allocations: 53.64 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.2349/0.2349, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02846/0.2634, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.7 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.402e-05, allocations: 4.422 kB / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01005/0.01006, allocations: 9.116 MB / 301.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005731/0.0158, allocations: 2.986 MB / 304.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005922/0.01639, allocations: 55.81 kB / 304.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.0192, allocations: 2.032 MB / 306.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.02104, allocations: 1.159 MB / 308 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.02153, allocations: 299.2 kB / 308.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.02369, allocations: 2.215 MB / 310.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.02539, allocations: 1.77 MB / 312.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.02667, allocations: 1.352 MB / 313.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.02788, allocations: 1.11 MB / 314.7 MB, free: 72 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.02812, allocations: 196 kB / 314.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009883/0.0291, allocations: 0.6474 MB / 315.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008392/0.02994, allocations: 1.071 MB / 316.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006556/0.0306, allocations: 0.5919 MB / 317.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.03308, allocations: 2.557 MB / 319.8 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.03309, allocations: 0 / 319.8 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.03309, allocations: 0 / 319.8 MB, free: 11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.03311, allocations: 0 / 319.8 MB, free: 11 MB / 314.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.002351/0.03546, allocations: 3.241 MB / 323 MB, free: 7.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.03549, allocations: 16.03 kB / 323 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.03707, allocations: 0.7577 MB / 323.8 MB, free: 6.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009533/0.03802, allocations: 1.046 MB / 324.8 MB, free: 5.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/0.03809, allocations: 144 kB / 325 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.03828, allocations: 188.3 kB / 325.2 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/0.04118, allocations: 2.837 MB / 328 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.04121, allocations: 15.88 kB / 328 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.04135, allocations: 83.91 kB / 328.1 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009977/0.04235, allocations: 1.207 MB / 329.3 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.0443, allocations: 1.516 MB / 330.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/0.05463, allocations: 15.28 MB / 346.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.05621, allocations: 0.8921 MB / 347 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.0564, allocations: 148.5 kB / 347.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00254/0.05894, allocations: 2.087 MB / 349.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.05896, allocations: 39.06 kB / 349.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 1.683e-06/0.05896, allocations: 0 / 349.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002069/0.06103, allocations: 1.07 MB / 350.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.06106, allocations: 55.91 kB / 350.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008361/0.06189, allocations: 1.424 MB / 351.8 MB, free: 9.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.06192, allocations: 33.69 kB / 351.8 MB, free: 9.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00068/0.0626, allocations: 1.842 MB / 353.7 MB, free: 8.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.06274, allocations: 317.6 kB / 354 MB, free: 7.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006426/0.06339, allocations: 0.5762 MB / 354.6 MB, free: 7.113 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.06347, allocations: 345.9 kB / 354.9 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.06378, allocations: 314.2 kB / 355.2 MB, free: 6.457 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009652/0.06475, allocations: 2.095 MB / 357.3 MB, free: 3.426 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.0666, allocations: 2.746 MB / 360 MB, free: 15.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.06662, allocations: 16 kB / 360.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001691/0.06831, allocations: 1.974 MB / 362 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.06834, allocations: 32 kB / 362.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/0.06838, allocations: 68 kB / 362.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.775e-05/0.06843, allocations: 84 kB / 362.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.06951, allocations: 0.7097 MB / 362.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.266e-05/0.06958, allocations: 135.4 kB / 363.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008022/0.07038, allocations: 409.1 kB / 363.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.07051, allocations: 160 kB / 363.6 MB, free: 12.18 MB / 362.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.0004187/0.07093, allocations: 361.7 kB / 364 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/0.07102, allocations: 99.83 kB / 364.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.07116, allocations: 156 kB / 364.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.07117, allocations: 8 kB / 364.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.07117, allocations: 3.938 kB / 364.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.07118, allocations: 11.98 kB / 364.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.07295, allocations: 1.864 MB / 366.1 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.07296, allocations: 4 kB / 366.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.07315, allocations: 99.84 kB / 366.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.923e-05/0.07325, allocations: 150.8 kB / 366.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.07326, allocations: 8 kB / 366.4 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.07328, allocations: 16 kB / 366.4 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.07329, allocations: 12.47 kB / 366.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.0733, allocations: 15.98 kB / 366.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.07395, allocations: 0.6173 MB / 367 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.07403, allocations: 20 kB / 367 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.07421, allocations: 16 kB / 367.1 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.07426, allocations: 43.81 kB / 367.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.07428, allocations: 31.98 kB / 367.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003774/0.07466, allocations: 0.5448 MB / 367.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07466, allocations: 4 kB / 367.7 MB, free: 7.898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001191/0.07585, allocations: 0.7083 MB / 368.4 MB, free: 7.188 MB / 362.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.0001923/0.07605, allocations: 132.7 kB / 368.5 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008556/0.0769, allocations: 1.1 MB / 369.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.608e-05/0.07698, allocations: 55.92 kB / 369.7 MB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.07712, allocations: 160.1 kB / 369.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.07767, allocations: 297.7 kB / 370.1 MB, free: 5.449 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.08224, allocations: 4.58 MB / 374.7 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.0828, allocations: 0.7579 MB / 375.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004666/0.08327, allocations: 246.5 kB / 375.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.08356, allocations: 271.3 kB / 376 MB, free: 15.45 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.08357, allocations: 0 / 376 MB, free: 15.45 MB / 378.7 MB Notification: Performance of Templates: time 0.0196/0.1032, allocations: 12.63 MB / 388.6 MB, free: 2.973 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] 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","",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.074070547707379]