Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001348, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 79.81 kB / 417.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1372, allocations: 62.44 MB / 480 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003851/0.1411, allocations: 1.671 MB / 481.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1423, allocations: 0.5884 MB / 482.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1425, allocations: 0 / 482.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006137/0.1431, allocations: 459.1 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006222/0.1438, allocations: 291.3 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.1444, allocations: 182.8 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.1447, allocations: 179.6 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1448, allocations: 20.22 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.145, allocations: 115.7 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.1453, allocations: 211.6 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1453, allocations: 4 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1454, allocations: 59.91 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1455, allocations: 83.69 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.1456, allocations: 107 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.146, allocations: 266.9 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.146, allocations: 4 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.146, allocations: 0 / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.146, allocations: 0 / 484.2 MB, free: 1.105 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007423/0.1468, allocations: 0.6534 MB / 484.9 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1468, allocations: 8.031 kB / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.218e-05/0.1469, allocations: 44.38 kB / 484.9 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.1472, allocations: 300.1 kB / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1472, allocations: 384 / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1473, allocations: 4.375 kB / 485.2 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1475, allocations: 65.8 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1475, allocations: 4 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1475, allocations: 0 / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1475, allocations: 7.984 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1476, allocations: 35.84 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.1482, allocations: 412.5 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.1483, allocations: 54.59 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.1484, allocations: 20.94 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1484, allocations: 0 / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1484, allocations: 30.56 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.1484, allocations: 0 / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001075/0.1495, allocations: 319.8 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1496, allocations: 59.34 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008669/0.1505, allocations: 0.8699 MB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1505, allocations: 25.7 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.1507, allocations: 224.1 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1507, allocations: 27.56 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.1508, allocations: 29.7 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.151, allocations: 354.8 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.349e-05/0.1511, allocations: 31.97 kB / 487.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.33e-05/0.1511, allocations: 39.86 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1513, allocations: 76.8 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1513, allocations: 4 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002699/0.1516, allocations: 141.2 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1516, allocations: 6.5 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1517, allocations: 0 / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1517, allocations: 0 / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1518, allocations: 19.98 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1518, allocations: 7.875 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.1519, allocations: 7.984 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1519, allocations: 4 kB / 488.1 MB, free: 13.04 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 (8): * Single equations (assignments): 8 * 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.0002009/0.1521, allocations: 213.8 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.1522, allocations: 47.42 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.1525, allocations: 173.8 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1526, allocations: 0 / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.1526, allocations: 7.938 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1526, allocations: 8 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007758/0.1534, allocations: 0.5147 MB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1534, allocations: 3.938 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/0.1535, allocations: 27.86 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1535, allocations: 4 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1535, allocations: 0 / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1535, allocations: 4.031 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1535, allocations: 4 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.1538, allocations: 243.8 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.1539, allocations: 116.5 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.154, allocations: 0 / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1541, allocations: 15.98 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.1542, allocations: 7.938 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.1542, allocations: 4.422 kB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006758/0.1548, allocations: 0.655 MB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1549, allocations: 0 / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1551, allocations: 28 kB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00116/0.1563, allocations: 444.8 kB / 490.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.1566, allocations: 83.81 kB / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1566, allocations: 0 / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1567, allocations: 39.98 kB / 490.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.1572, allocations: 33.11 kB / 490.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.1585, allocations: 0.8353 MB / 491.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.159, allocations: 0.8299 MB / 492.4 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.51e-05/0.1591, allocations: 32.7 kB / 492.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.1592, allocations: 11.44 kB / 492.4 MB, free: 8.668 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1592, allocations: 0 / 492.4 MB, free: 8.668 MB / 366.1 MB Notification: Performance of Templates: time 0.008061/0.1672, allocations: 1.763 MB / 494.2 MB, free: 6.906 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches