Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001767/0.001774, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.75/1.75, allocations: 227.4 MB / 251.6 MB, free: 44 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2434/0.2434, allocations: 46.16 MB / 351.1 MB, free: 14.26 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 78.67 kB / 490.2 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1513, allocations: 62.45 MB / 0.5397 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003786/0.1551, allocations: 2.051 MB / 0.5417 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1572, allocations: 1.118 MB / 0.5428 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1574, allocations: 4 kB / 0.5428 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.1579, allocations: 267.1 kB / 0.543 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005254/0.1585, allocations: 267 kB / 0.5433 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.1599, allocations: 0.6567 MB / 0.5439 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000458/0.1604, allocations: 351 kB / 0.5443 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.1606, allocations: 80.64 kB / 0.5443 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.1608, allocations: 151.4 kB / 0.5445 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.1611, allocations: 203.3 kB / 0.5447 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.1611, allocations: 8 kB / 0.5447 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.1613, allocations: 79.91 kB / 0.5448 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.1614, allocations: 99.67 kB / 0.5449 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1616, allocations: 130.9 kB / 0.545 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.162, allocations: 334.3 kB / 0.5453 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.162, allocations: 0 / 0.5453 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1621, allocations: 3.938 kB / 0.5453 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1621, allocations: 0 / 0.5453 GB, free: 14.45 MB / 414.1 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.0008699/0.1629, allocations: 0.6686 MB / 0.546 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.163, allocations: 9.109 kB / 0.546 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.632e-05/0.1631, allocations: 48.61 kB / 0.546 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.1635, allocations: 334.5 kB / 0.5463 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1635, allocations: 12.38 kB / 0.5464 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.1636, allocations: 12.38 kB / 0.5464 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.1639, allocations: 126.1 kB / 0.5465 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1639, allocations: 11.92 kB / 0.5465 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1639, allocations: 4 kB / 0.5465 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1639, allocations: 4 kB / 0.5465 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.1641, allocations: 83.94 kB / 0.5466 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.1649, allocations: 0.512 MB / 0.5471 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.1652, allocations: 106.5 kB / 0.5472 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.1653, allocations: 44.83 kB / 0.5472 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.1653, allocations: 0 / 0.5472 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1653, allocations: 38.55 kB / 0.5473 GB, free: 12.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1653, allocations: 0 / 0.5473 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001053/0.1664, allocations: 452.6 kB / 0.5477 GB, free: 11.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1665, allocations: 55.31 kB / 0.5477 GB, free: 11.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.1671, allocations: 0.5683 MB / 0.5483 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1671, allocations: 25.7 kB / 0.5483 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.1673, allocations: 208.4 kB / 0.5485 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.1674, allocations: 63.47 kB / 0.5486 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.1675, allocations: 41.7 kB / 0.5486 GB, free: 10.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1677, allocations: 354.7 kB / 0.549 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1678, allocations: 71.89 kB / 0.549 GB, free: 10.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1679, allocations: 63.95 kB / 0.5491 GB, free: 10.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.1682, allocations: 155 kB / 0.5492 GB, free: 10.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1683, allocations: 0 / 0.5492 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004067/0.1687, allocations: 239.1 kB / 0.5495 GB, free: 9.965 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1687, allocations: 4 kB / 0.5495 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1687, allocations: 3.984 kB / 0.5495 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1687, allocations: 4 kB / 0.5495 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.1689, allocations: 31.92 kB / 0.5495 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1689, allocations: 4 kB / 0.5495 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.169, allocations: 8 kB / 0.5495 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.169, allocations: 11.97 kB / 0.5495 GB, free: 9.898 MB / 414.1 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 0.0001914/0.1692, allocations: 177.8 kB / 0.5497 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.1693, allocations: 47.66 kB / 0.5498 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005641/0.1699, allocations: 281.5 kB / 0.55 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.1699, allocations: 0 / 0.55 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1699, allocations: 4 kB / 0.55 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1699, allocations: 7.922 kB / 0.55 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009467/0.1709, allocations: 0.6751 MB / 0.5507 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1709, allocations: 4 kB / 0.5507 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.171, allocations: 35.97 kB / 0.5507 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.171, allocations: 0 / 0.5507 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.1711, allocations: 4 kB / 0.5507 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1711, allocations: 11.92 kB / 0.5507 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1711, allocations: 0 / 0.5507 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.1716, allocations: 336.6 kB / 0.5511 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.1716, allocations: 108.9 kB / 0.5512 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.1717, allocations: 0 / 0.5512 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.1718, allocations: 11.98 kB / 0.5512 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.1718, allocations: 11.92 kB / 0.5512 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1719, allocations: 8 kB / 0.5512 GB, free: 8.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000463/0.1723, allocations: 427.1 kB / 0.5516 GB, free: 7.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1723, allocations: 0 / 0.5516 GB, free: 7.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.1726, allocations: 51.94 kB / 0.5517 GB, free: 7.613 MB / 414.1 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.002776/0.1754, allocations: 0.6869 MB / 0.5523 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000368/0.1758, allocations: 162.5 kB / 0.5525 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1758, allocations: 0 / 0.5525 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.176, allocations: 95.89 kB / 0.5526 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.1765, allocations: 76.3 kB / 0.5526 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1777, allocations: 0.7515 MB / 0.5534 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.1781, allocations: 0.8299 MB / 0.5542 GB, free: 5.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.1783, allocations: 57.88 kB / 0.5542 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.1783, allocations: 27.42 kB / 0.5543 GB, free: 5.164 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1783, allocations: 0 / 0.5543 GB, free: 5.164 MB / 414.1 MB Notification: Performance of Templates: time 0.007922/0.1863, allocations: 3.377 MB / 0.5576 GB, free: 1.801 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.659968147985637]