Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, 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.001452/0.001452, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 75.77 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1283, allocations: 62.44 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.004005/0.1324, allocations: 1.946 MB / 482.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.1345, allocations: 1.079 MB / 483.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.1347, allocations: 4 kB / 483.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.1352, allocations: 263.1 kB / 484 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006649/0.1359, allocations: 271 kB / 484.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1375, allocations: 0.6412 MB / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.1381, allocations: 315.1 kB / 485.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.1383, allocations: 60.72 kB / 485.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.1385, allocations: 131.4 kB / 485.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.1388, allocations: 199.3 kB / 485.6 MB, free: 400 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.1389, allocations: 8 kB / 485.6 MB, free: 392 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.139, allocations: 63.89 kB / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.1392, allocations: 87.73 kB / 485.7 MB, free: 240 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1393, allocations: 103.1 kB / 485.8 MB, free: 136 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.1398, allocations: 295.2 kB / 486.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1398, allocations: 0 / 486.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1398, allocations: 0 / 486.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.1398, allocations: 0 / 486.1 MB, free: 15.84 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008514/0.1407, allocations: 0.626 MB / 486.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1407, allocations: 16.03 kB / 486.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.1409, allocations: 36.47 kB / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.1413, allocations: 326.1 kB / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1413, allocations: 4.375 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1413, allocations: 8.375 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.1415, allocations: 97.7 kB / 487.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1416, allocations: 0 / 487.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1416, allocations: 4 kB / 487.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1416, allocations: 4 kB / 487.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.1418, allocations: 75.89 kB / 487.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.1425, allocations: 452.5 kB / 487.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1426, allocations: 74.55 kB / 487.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/0.1427, allocations: 32.95 kB / 487.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.1428, allocations: 8 kB / 487.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1428, allocations: 34.56 kB / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1428, allocations: 0 / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000381/0.1432, allocations: 153.1 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.1432, allocations: 59.34 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/0.1439, allocations: 0.5721 MB / 488.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1439, allocations: 33.64 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.1441, allocations: 196 kB / 488.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.1441, allocations: 27.72 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1441, allocations: 17.72 kB / 488.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1443, allocations: 350.8 kB / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.1444, allocations: 27.98 kB / 489.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.1444, allocations: 23.97 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1446, allocations: 72.7 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1446, allocations: 8 kB / 489.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002338/0.1448, allocations: 125.2 kB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1449, allocations: 4 kB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1449, allocations: 0 / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1449, allocations: 3.984 kB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.145, allocations: 19.92 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.145, allocations: 0 / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.1451, allocations: 7.906 kB / 489.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1451, allocations: 0 / 489.6 MB, free: 12.17 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 (6): * Single equations (assignments): 6 * 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.0001606/0.1453, allocations: 181.7 kB / 489.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.1453, allocations: 35.53 kB / 489.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.1457, allocations: 149.5 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1457, allocations: 3.938 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1457, allocations: 4.062 kB / 489.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1457, allocations: 7.984 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.146, allocations: 285.5 kB / 490.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.146, allocations: 4 kB / 490.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.1461, allocations: 15.98 kB / 490.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1461, allocations: 4 kB / 490.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1461, allocations: 0 / 490.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1461, allocations: 7.922 kB / 490.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1461, allocations: 0 / 490.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1464, allocations: 230.9 kB / 490.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.1465, allocations: 100.7 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1465, allocations: 4 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.1466, allocations: 7.875 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.1467, allocations: 7.984 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1467, allocations: 4 kB / 490.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004286/0.1471, allocations: 431.1 kB / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1471, allocations: 0 / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1474, allocations: 32 kB / 491.1 MB, free: 10.58 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 (6): * Single equations (assignments): 6 * 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.001417/0.1488, allocations: 0.5812 MB / 491.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1491, allocations: 67.89 kB / 491.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1491, allocations: 4 kB / 491.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.146e-05/0.1492, allocations: 35.97 kB / 491.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.1498, allocations: 78.19 kB / 491.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1509, allocations: 0.6639 MB / 492.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.1513, allocations: 0.8021 MB / 493.3 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.1514, allocations: 27.44 kB / 493.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1514, allocations: 0 / 493.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of Templates: time 0.007474/0.1589, allocations: 3.969 MB / 497.3 MB, free: 4.527 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches