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.0008492/0.0008492, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002147, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007438/0.0007438, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009982/0.001742, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.085/1.085, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1155/1.201, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.3242/0.3242, allocations: 34.24 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0306/0.3548, allocations: 13.11 MB / 291.5 MB, free: 7.332 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.049e-05, allocations: 3.016 kB / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01157/0.0116, allocations: 9.13 MB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005359/0.01696, allocations: 2.982 MB / 304.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008812/0.01784, allocations: 55.81 kB / 305 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.02004, allocations: 2.028 MB / 307 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.02231, allocations: 1.167 MB / 308.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.02297, allocations: 303.2 kB / 308.5 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002596/0.02556, allocations: 2.215 MB / 310.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.02744, allocations: 1.77 MB / 312.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.02913, allocations: 1.348 MB / 313.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.03079, allocations: 1.107 MB / 314.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003997/0.03119, allocations: 192 kB / 315.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.03233, allocations: 0.6591 MB / 315.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000758/0.03309, allocations: 1.064 MB / 316.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006225/0.03371, allocations: 0.5919 MB / 317.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.03626, allocations: 2.549 MB / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.03627, allocations: 0 / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.03627, allocations: 0 / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.63e-05/0.03633, allocations: 0 / 320 MB, free: 10.91 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.003416/0.03974, allocations: 3.257 MB / 323.2 MB, free: 7.602 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.03979, allocations: 8.031 kB / 323.2 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.04167, allocations: 0.7499 MB / 324 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.04292, allocations: 1.053 MB / 325 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.04301, allocations: 144 kB / 325.2 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.04322, allocations: 188.3 kB / 325.4 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003228/0.04645, allocations: 2.837 MB / 328.2 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.04648, allocations: 11.88 kB / 328.2 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.04663, allocations: 95.89 kB / 328.3 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00117/0.0478, allocations: 1.141 MB / 329.4 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.05017, allocations: 1.512 MB / 331 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.06362, allocations: 15.28 MB / 346.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.06546, allocations: 0.896 MB / 347.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/0.06601, allocations: 152.5 kB / 347.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002949/0.06896, allocations: 2.099 MB / 349.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.06899, allocations: 35.06 kB / 349.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 4.498e-06/0.069, allocations: 3.984 kB / 349.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002351/0.07135, allocations: 1.066 MB / 350.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.07138, allocations: 55.91 kB / 350.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.07251, allocations: 1.42 MB / 352 MB, free: 9.867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.07254, allocations: 41.62 kB / 352 MB, free: 9.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008937/0.07344, allocations: 1.846 MB / 353.9 MB, free: 7.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.07366, allocations: 321.6 kB / 354.2 MB, free: 7.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008001/0.07446, allocations: 0.5802 MB / 354.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.07458, allocations: 349.8 kB / 355.1 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.07483, allocations: 217.9 kB / 355.3 MB, free: 6.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.07603, allocations: 2.147 MB / 357.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.07865, allocations: 3.028 MB / 360.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.943e-05/0.07869, allocations: 20 kB / 360.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002087/0.08077, allocations: 1.993 MB / 362.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.08081, allocations: 40.03 kB / 362.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.241e-05/0.08089, allocations: 72 kB / 362.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-05/0.08095, allocations: 92 kB / 362.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.08216, allocations: 0.7409 MB / 363.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.102e-05/0.08223, allocations: 135.4 kB / 363.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.08337, allocations: 401 kB / 364 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.08353, allocations: 172 kB / 364.1 MB, free: 11.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 311 * 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 (372): * Single equations (assignments): 369 * 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 prepare postOptimizeDAE: time 0.0008886/0.08442, allocations: 369.6 kB / 364.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.08459, allocations: 95.83 kB / 364.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.08478, allocations: 156 kB / 364.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.0848, allocations: 8 kB / 364.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.08481, allocations: 0 / 364.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.08482, allocations: 3.984 kB / 364.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.0875, allocations: 1.868 MB / 366.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.851e-05/0.08751, allocations: 12 kB / 366.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.08774, allocations: 95.89 kB / 366.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.08792, allocations: 146.8 kB / 366.9 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.08793, allocations: 11.94 kB / 366.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.08797, allocations: 23.98 kB / 366.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.08798, allocations: 8 kB / 366.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.08798, allocations: 7.938 kB / 366.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/0.08886, allocations: 0.6294 MB / 367.5 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/0.08895, allocations: 19.98 kB / 367.6 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.08916, allocations: 16 kB / 367.6 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.08922, allocations: 55.75 kB / 367.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.08926, allocations: 20 kB / 367.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004344/0.08969, allocations: 0.5487 MB / 368.2 MB, free: 7.449 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08969, allocations: 3.938 kB / 368.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001692/0.09138, allocations: 0.7123 MB / 368.9 MB, free: 6.73 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.0002788/0.09166, allocations: 124.2 kB / 369 MB, free: 6.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.09294, allocations: 1.181 MB / 370.2 MB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.688e-05/0.09302, allocations: 55.86 kB / 370.3 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.09325, allocations: 204.1 kB / 370.5 MB, free: 5.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.09428, allocations: 1.077 MB / 371.5 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.1018, allocations: 4.578 MB / 376.1 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/0.1026, allocations: 0.7463 MB / 376.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000624/0.1032, allocations: 238.8 kB / 377.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.1035, allocations: 263.3 kB / 377.4 MB, free: 13.99 MB / 378.7 MB Notification: Performance of SimCode: time 2.614e-06/0.1035, allocations: 0 / 377.4 MB, free: 13.99 MB / 378.7 MB Notification: Performance of Templates: time 0.02218/0.1257, allocations: 9.86 MB / 387.2 MB, free: 4.16 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.329827823676169]