Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.00144/0.00144, 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.001562/0.001562, allocations: 166.7 kB / 24.91 MB, free: 9.152 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.449 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.2719/0.2719, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,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.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.42e-05, allocations: 2.312 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002414/0.002428, allocations: 2.065 MB / 325.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.003795, allocations: 1.128 MB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.003891, allocations: 3.938 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.004268, allocations: 274.9 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.00463, allocations: 262.9 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.005534, allocations: 0.6352 MB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.005894, allocations: 367 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.006038, allocations: 54.8 kB / 328.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.006212, allocations: 183.4 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.006381, allocations: 175.6 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.006403, allocations: 12 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.006518, allocations: 75.89 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.562e-05/0.006613, allocations: 99.61 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.006663, allocations: 67.66 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.006918, allocations: 258.8 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.00692, allocations: 0 / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006921, allocations: 0 / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.006925, allocations: 0 / 328.9 MB, free: 4 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.0004591/0.007384, allocations: 0.5657 MB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.007413, allocations: 8.031 kB / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.007458, allocations: 32.91 kB / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.007683, allocations: 267.9 kB / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.007693, allocations: 8.375 kB / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.007716, allocations: 20.36 kB / 329.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.007836, allocations: 86.91 kB / 329.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.007847, allocations: 8.141 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.007857, allocations: 8.125 kB / 329.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.007864, allocations: 4 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.299e-05/0.007907, allocations: 27.91 kB / 329.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.008236, allocations: 282.7 kB / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.092e-05/0.008307, allocations: 65.25 kB / 330.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.008327, allocations: 12.86 kB / 330.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.008346, allocations: 8 kB / 330.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.008366, allocations: 34.56 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.81e-07/0.008367, allocations: 0 / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003909/0.008758, allocations: 215.8 kB / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.008784, allocations: 55.41 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.009038, allocations: 416.9 kB / 331 MB, free: 1.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.009051, allocations: 29.7 kB / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.00911, allocations: 149.7 kB / 331.2 MB, free: 1.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.009144, allocations: 51.53 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.009182, allocations: 37.91 kB / 331.3 MB, free: 1.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.009263, allocations: 350.7 kB / 331.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.009287, allocations: 23.92 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.00931, allocations: 19.98 kB / 331.6 MB, free: 1.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.248e-05/0.009373, allocations: 57.98 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.009374, allocations: 0 / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001024/0.009476, allocations: 112.3 kB / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.009488, allocations: 8 kB / 331.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.009492, allocations: 0 / 331.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.009502, allocations: 3.938 kB / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.929e-05/0.009591, allocations: 31.97 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.009593, allocations: 0 / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.009625, allocations: 15.94 kB / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.009633, allocations: 4 kB / 331.9 MB, free: 0.8672 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 7.33e-05/0.009706, allocations: 116.6 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.009754, allocations: 27.97 kB / 332 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.009982, allocations: 145.7 kB / 332.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.009986, allocations: 3.938 kB / 332.2 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.00999, allocations: 7.984 kB / 332.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.009993, allocations: 0 / 332.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.0104, allocations: 374.4 kB / 332.5 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.0104, allocations: 4 kB / 332.5 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.01048, allocations: 35.86 kB / 332.6 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01048, allocations: 0 / 332.6 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.0105, allocations: 8 kB / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.0105, allocations: 0 / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0105, allocations: 0 / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.01066, allocations: 196.4 kB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.01069, allocations: 35.7 kB / 332.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.01071, allocations: 4 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.01078, allocations: 4 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.01081, allocations: 19.91 kB / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.01082, allocations: 4 kB / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.01099, allocations: 191.5 kB / 333 MB, free: 15.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01099, allocations: 0 / 333 MB, free: 15.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.01123, allocations: 55.92 kB / 333.1 MB, free: 15.59 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.002336/0.01357, allocations: 0.9193 MB / 334 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.0137, allocations: 71.66 kB / 334.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.0137, allocations: 8 kB / 334.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.01376, allocations: 48.75 kB / 334.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01408, allocations: 82.92 kB / 334.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.01476, allocations: 0.5943 MB / 334.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.055e-05/0.01485, allocations: 116.3 kB / 334.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.965e-05/0.01495, allocations: 53.89 kB / 335 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.01507, allocations: 91.34 kB / 335.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01507, allocations: 0 / 335.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of Templates: time 0.00648/0.02155, allocations: 3.767 MB / 338.8 MB, free: 10.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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.033332522958517]