Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.001403/0.001403, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001606/0.001606, allocations: 173 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.006/1.006, allocations: 158.6 MB / 186 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.142/0.142, allocations: 32.37 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.61e-05, allocations: 2.312 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.001741/0.001757, allocations: 1.651 MB / 349.3 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004439/0.002201, allocations: 319.4 kB / 349.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.002258, allocations: 0 / 349.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.002664, allocations: 451 kB / 350.1 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.002917, allocations: 263.3 kB / 350.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.003117, allocations: 103.7 kB / 350.4 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.003278, allocations: 163.6 kB / 350.6 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.003363, allocations: 12.19 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.003447, allocations: 115.8 kB / 350.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.003591, allocations: 235.6 kB / 351 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.003608, allocations: 4 kB / 351 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.615e-05/0.003674, allocations: 31.98 kB / 351 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.003753, allocations: 79.7 kB / 351.1 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.003783, allocations: 39.73 kB / 351.1 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.003954, allocations: 199.1 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003956, allocations: 4 kB / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003957, allocations: 0 / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.003961, allocations: 0 / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004282/0.00439, allocations: 0.6815 MB / 352 MB, free: 5.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.004427, allocations: 8.031 kB / 352 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.004487, allocations: 48.66 kB / 352 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.004655, allocations: 240.9 kB / 352.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.004667, allocations: 4.375 kB / 352.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.004689, allocations: 4.312 kB / 352.3 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.004805, allocations: 58.95 kB / 352.3 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.004817, allocations: 4.188 kB / 352.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.004828, allocations: 3.938 kB / 352.3 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.004838, allocations: 0 / 352.3 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.43e-05/0.004872, allocations: 8 kB / 352.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.005339, allocations: 427.6 kB / 352.8 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.005551, allocations: 46.92 kB / 352.8 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.005578, allocations: 15.69 kB / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.005602, allocations: 0 / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.005623, allocations: 37.39 kB / 352.9 MB, free: 4.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.005624, allocations: 0 / 352.9 MB, free: 4.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004481/0.006073, allocations: 188.8 kB / 353.1 MB, free: 4.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.006104, allocations: 51.41 kB / 353.1 MB, free: 4.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.006428, allocations: 0.6199 MB / 353.7 MB, free: 3.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.006434, allocations: 29.7 kB / 353.8 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.006531, allocations: 270.8 kB / 354 MB, free: 3.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.006552, allocations: 27.78 kB / 354 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.00658, allocations: 23.38 kB / 354.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.006656, allocations: 0.5508 MB / 354.6 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.006673, allocations: 7.984 kB / 354.6 MB, free: 2.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.006687, allocations: 7.938 kB / 354.6 MB, free: 2.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.006719, allocations: 23.88 kB / 354.7 MB, free: 2.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.00672, allocations: 4 kB / 354.7 MB, free: 2.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.309e-05/0.006803, allocations: 97.41 kB / 354.8 MB, free: 2.449 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.006816, allocations: 4 kB / 354.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006821, allocations: 3.938 kB / 354.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.006836, allocations: 0 / 354.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.006881, allocations: 15.98 kB / 354.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.006886, allocations: 0 / 354.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.006916, allocations: 3.938 kB / 354.8 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.006922, allocations: 4 kB / 354.8 MB, free: 2.418 MB / 282.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 (5): * Single equations (assignments): 5 * 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 5.91e-05/0.006981, allocations: 164.5 kB / 354.9 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.007009, allocations: 43.72 kB / 355 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.007124, allocations: 89.12 kB / 355.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007126, allocations: 288 / 355.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.00713, allocations: 0 / 355.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.007134, allocations: 4 kB / 355.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.00741, allocations: 469.2 kB / 355.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.007412, allocations: 0 / 355.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.007439, allocations: 15.98 kB / 355.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.007441, allocations: 0 / 355.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.007449, allocations: 4 kB / 355.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.00745, allocations: 0 / 355.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007451, allocations: 0 / 355.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.924e-05/0.00754, allocations: 251.7 kB / 355.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.00756, allocations: 31.72 kB / 355.8 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.007575, allocations: 4 kB / 355.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.37e-05/0.007609, allocations: 0 / 355.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.007644, allocations: 7.984 kB / 355.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.007646, allocations: 0 / 355.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.007824, allocations: 422.8 kB / 356.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007824, allocations: 0 / 356.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.007991, allocations: 35.86 kB / 356.3 MB, free: 0.832 MB / 282.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 (5): * Single equations (assignments): 5 * 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.0008007/0.008791, allocations: 378.6 kB / 356.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.008893, allocations: 31.69 kB / 356.7 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008894, allocations: 3.938 kB / 356.7 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.008914, allocations: 27.61 kB / 356.7 MB, free: 492 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.009145, allocations: 27.2 kB / 356.8 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.009715, allocations: 0.5665 MB / 357.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.817e-05/0.009793, allocations: 119.2 kB / 357.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.628e-05/0.009829, allocations: 4 kB / 357.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.009858, allocations: 12.5 kB / 357.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.009859, allocations: 4 kB / 357.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of Templates: time 0.003632/0.01349, allocations: 1.361 MB / 358.8 MB, free: 14.35 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.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.367279554018751]