Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002154/0.002154, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 76.62 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1293, allocations: 62.45 MB / 480.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003715/0.1331, allocations: 1.653 MB / 482.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1343, allocations: 0.5572 MB / 483 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.1344, allocations: 4 kB / 483 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.135, allocations: 451.1 kB / 483.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005165/0.1356, allocations: 299.3 kB / 483.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.136, allocations: 123 kB / 483.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1363, allocations: 171.6 kB / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1364, allocations: 19.97 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1365, allocations: 103.8 kB / 484.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.1368, allocations: 219.6 kB / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1369, allocations: 0 / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.137, allocations: 39.97 kB / 484.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.1371, allocations: 79.69 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1372, allocations: 99 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.1376, allocations: 259 kB / 484.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1376, allocations: 0 / 484.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1376, allocations: 0 / 484.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1376, allocations: 3.938 kB / 484.8 MB, free: 1.203 MB / 350.1 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.0008363/0.1385, allocations: 0.6377 MB / 485.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1385, allocations: 8.031 kB / 485.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.1386, allocations: 40.47 kB / 485.5 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.1389, allocations: 296.1 kB / 485.8 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.139, allocations: 8.375 kB / 485.8 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.139, allocations: 384 / 485.8 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1392, allocations: 57.8 kB / 485.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1392, allocations: 4 kB / 485.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1392, allocations: 0 / 485.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1392, allocations: 4 kB / 485.8 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.97e-05/0.1393, allocations: 27.92 kB / 485.9 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.1399, allocations: 380.7 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1402, allocations: 42.55 kB / 486.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.852e-05/0.1402, allocations: 24.86 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1403, allocations: 4.062 kB / 486.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.1403, allocations: 34.5 kB / 486.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1403, allocations: 0 / 486.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007025/0.141, allocations: 236 kB / 486.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.1411, allocations: 55.41 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009613/0.1421, allocations: 0.8653 MB / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1421, allocations: 29.7 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.1423, allocations: 223.9 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.1424, allocations: 11.81 kB / 487.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.1424, allocations: 25.7 kB / 487.8 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.1426, allocations: 358.7 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.1427, allocations: 15.98 kB / 488.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.1428, allocations: 23.98 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1429, allocations: 48.83 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1429, allocations: 3.938 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002286/0.1432, allocations: 117 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1432, allocations: 10.48 kB / 488.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1432, allocations: 0 / 488.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1432, allocations: 0 / 488.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.1433, allocations: 16.25 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1433, allocations: 0 / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.1434, allocations: 19.86 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.1434, allocations: 0 / 488.4 MB, free: 13.39 MB / 366.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 (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 0.000248/0.1437, allocations: 209.8 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.1437, allocations: 39.53 kB / 488.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.1441, allocations: 141 kB / 488.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1441, allocations: 4 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1441, allocations: 0 / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1441, allocations: 3.938 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006502/0.1448, allocations: 458.4 kB / 489.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1448, allocations: 0 / 489.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.1448, allocations: 8 kB / 489.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.1448, allocations: 8 kB / 489.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1449, allocations: 3.938 kB / 489.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.1449, allocations: 7.922 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1449, allocations: 0 / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.1452, allocations: 203.1 kB / 489.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1453, allocations: 108.5 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.1454, allocations: 7.938 kB / 489.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.1454, allocations: 11.98 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.1455, allocations: 4 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1455, allocations: 0 / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007143/0.1462, allocations: 0.6589 MB / 490.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1462, allocations: 0 / 490.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1465, allocations: 16 kB / 490.3 MB, free: 11.41 MB / 366.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 (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.00153/0.148, allocations: 401.8 kB / 490.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1483, allocations: 55.91 kB / 490.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1483, allocations: 4 kB / 490.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.539e-05/0.1484, allocations: 19.98 kB / 490.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.1488, allocations: 33.05 kB / 490.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.1501, allocations: 0.832 MB / 491.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.1506, allocations: 0.8221 MB / 492.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.1507, allocations: 11.44 kB / 492.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1507, allocations: 0 / 492.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of Templates: time 0.008076/0.1588, allocations: 3.727 MB / 496.1 MB, free: 5.59 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches