Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.0009964/0.0009964, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001294/0.001294, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 1.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2655/0.2655, allocations: 32.8 MB / 294.6 MB, free: 1.191 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.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 323.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.499e-05, allocations: 7.672 kB / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003372/0.003397, allocations: 2.078 MB / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.005033, allocations: 1.125 MB / 326.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.005187, allocations: 7.938 kB / 326.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.00565, allocations: 274.9 kB / 326.8 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.006115, allocations: 266.9 kB / 327 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.007132, allocations: 0.6236 MB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.007561, allocations: 374.9 kB / 328 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.007716, allocations: 54.81 kB / 328.1 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.007907, allocations: 183.5 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.008102, allocations: 179.5 kB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.008129, allocations: 12 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.008294, allocations: 95.84 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.008412, allocations: 107.6 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.008468, allocations: 55.72 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.008783, allocations: 282.8 kB / 328.9 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.008785, allocations: 0 / 328.9 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008786, allocations: 0 / 328.9 MB, free: 3.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.008793, allocations: 0 / 328.9 MB, free: 3.984 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005106/0.009303, allocations: 0.5734 MB / 329.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.009344, allocations: 11.97 kB / 329.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.009407, allocations: 32.91 kB / 329.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.009677, allocations: 264 kB / 329.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.009691, allocations: 8.375 kB / 329.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.009721, allocations: 12.38 kB / 329.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.009868, allocations: 95.48 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.009882, allocations: 12.14 kB / 329.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.009894, allocations: 8.125 kB / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.009901, allocations: 0 / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.009947, allocations: 29.89 kB / 330 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.01067, allocations: 278.7 kB / 330.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.285e-05/0.01075, allocations: 53.38 kB / 330.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.01078, allocations: 24.8 kB / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.0108, allocations: 4 kB / 330.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.01082, allocations: 34.55 kB / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.884e-06/0.01083, allocations: 4 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.00043/0.01126, allocations: 217.9 kB / 330.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.01129, allocations: 55.41 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.01156, allocations: 416.9 kB / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.01158, allocations: 29.7 kB / 331.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.01165, allocations: 153.7 kB / 331.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.01169, allocations: 59.47 kB / 331.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.01173, allocations: 29.7 kB / 331.3 MB, free: 1.473 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.01182, allocations: 354.7 kB / 331.7 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.01185, allocations: 12 kB / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.01187, allocations: 23.98 kB / 331.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.01194, allocations: 57.83 kB / 331.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01194, allocations: 0 / 331.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001117/0.01205, allocations: 105.5 kB / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.01206, allocations: 4 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01207, allocations: 4 kB / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.01208, allocations: 7.875 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.01217, allocations: 31.97 kB / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.01217, allocations: 0 / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.0122, allocations: 8 kB / 331.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.01221, allocations: 4 kB / 331.9 MB, free: 0.8555 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (17): * Single equations (assignments): 17 * Array equations: 0 * 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 9.524e-05/0.01231, allocations: 120.6 kB / 332 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.01234, allocations: 31.97 kB / 332.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.01255, allocations: 151.7 kB / 332.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01255, allocations: 3.938 kB / 332.2 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.01255, allocations: 3.938 kB / 332.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.01256, allocations: 4 kB / 332.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.01294, allocations: 378.3 kB / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01294, allocations: 0 / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.01301, allocations: 35.86 kB / 332.6 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01302, allocations: 4 kB / 332.6 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.01302, allocations: 4 kB / 332.6 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01303, allocations: 4 kB / 332.6 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01303, allocations: 3.984 kB / 332.6 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.01317, allocations: 193.5 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.0132, allocations: 35.7 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.01322, allocations: 0 / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.01326, allocations: 11.98 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.0133, allocations: 7.984 kB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.01331, allocations: 0 / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.01345, allocations: 203.5 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.01345, allocations: 0 / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.01363, allocations: 47.94 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * 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.001911/0.01554, allocations: 0.9172 MB / 334.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.01567, allocations: 75.47 kB / 334.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.01567, allocations: 4 kB / 334.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.01571, allocations: 44.78 kB / 334.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.01597, allocations: 88.12 kB / 334.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.01659, allocations: 0.6021 MB / 334.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.348e-05/0.01667, allocations: 120.2 kB / 335 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.549e-05/0.01675, allocations: 37.92 kB / 335 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.01686, allocations: 95.34 kB / 335.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01686, allocations: 0 / 335.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of Templates: time 0.006346/0.0232, allocations: 3.769 MB / 338.9 MB, free: 10.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.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: 2.8875924651511014]