Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 99.81 kB / 17.01 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 194.4 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.18 MB / 344.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 8.219 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 63.57 MB / 482.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002135/0.1395, allocations: 1.346 MB / 483.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009516/0.1405, allocations: 0.5265 MB / 484.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.1406, allocations: 4 kB / 484.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000574/0.1411, allocations: 451.1 kB / 484.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004082/0.1416, allocations: 263.5 kB / 485 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.142, allocations: 159.1 kB / 485.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.1423, allocations: 139.6 kB / 485.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.1424, allocations: 19.92 kB / 485.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.1426, allocations: 103.8 kB / 485.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.1428, allocations: 163.7 kB / 485.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1428, allocations: 0 / 485.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.1429, allocations: 39.91 kB / 485.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1431, allocations: 83.75 kB / 485.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.1431, allocations: 65.45 kB / 485.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.1434, allocations: 183.7 kB / 485.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1434, allocations: 0 / 485.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1434, allocations: 8 kB / 485.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1434, allocations: 0 / 485.9 MB, free: 0.9883 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.0007153/0.1441, allocations: 0.5913 MB / 486.5 MB, free: 356 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1442, allocations: 12.03 kB / 486.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.1442, allocations: 39.44 kB / 486.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1445, allocations: 283.2 kB / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1446, allocations: 0 / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1446, allocations: 8 kB / 486.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1448, allocations: 61.61 kB / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1448, allocations: 0 / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1448, allocations: 11.88 kB / 486.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1448, allocations: 0 / 486.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1449, allocations: 31.98 kB / 487 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.1454, allocations: 392.8 kB / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1457, allocations: 58.47 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.1457, allocations: 12.86 kB / 487.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1458, allocations: 4 kB / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1458, allocations: 38.56 kB / 487.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1458, allocations: 0 / 487.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006637/0.1465, allocations: 259.9 kB / 487.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.1465, allocations: 59.34 kB / 487.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008152/0.1473, allocations: 0.8698 MB / 488.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1474, allocations: 25.7 kB / 488.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.1475, allocations: 220.1 kB / 488.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1476, allocations: 15.8 kB / 488.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.1476, allocations: 0 / 488.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1477, allocations: 358.8 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.1478, allocations: 27.98 kB / 489.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.1479, allocations: 27.97 kB / 489.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.581e-05/0.148, allocations: 27.98 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.148, allocations: 3.938 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002156/0.1482, allocations: 133.1 kB / 489.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1482, allocations: 4 kB / 489.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1482, allocations: 0 / 489.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1482, allocations: 4.234 kB / 489.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.1483, allocations: 12 kB / 489.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1483, allocations: 8 kB / 489.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.1484, allocations: 11.94 kB / 489.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1484, allocations: 4 kB / 489.5 MB, free: 13.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.1486, allocations: 214.2 kB / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.1486, allocations: 47.42 kB / 489.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.1489, allocations: 153.1 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1489, allocations: 0 / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1489, allocations: 0 / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.149, allocations: 0 / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.1495, allocations: 494.4 kB / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1495, allocations: 0 / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.1496, allocations: 12 kB / 490.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1496, allocations: 0 / 490.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1496, allocations: 3.984 kB / 490.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1496, allocations: 0 / 490.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.1496, allocations: 7.938 kB / 490.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1499, allocations: 234.9 kB / 490.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.1499, allocations: 108.5 kB / 490.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.15, allocations: 0 / 490.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.1501, allocations: 11.98 kB / 490.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1501, allocations: 3.953 kB / 490.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1501, allocations: 8 kB / 490.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006213/0.1507, allocations: 0.655 MB / 491.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1507, allocations: 3.938 kB / 491.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.151, allocations: 24 kB / 491.5 MB, free: 11.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008788/0.1519, allocations: 389.8 kB / 491.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1521, allocations: 63.95 kB / 491.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1521, allocations: 7.938 kB / 491.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.1522, allocations: 31.92 kB / 491.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.1525, allocations: 22.3 kB / 492 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1537, allocations: 0.8416 MB / 492.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.1541, allocations: 0.8301 MB / 493.6 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.1542, allocations: 11.98 kB / 493.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.1542, allocations: 23.42 kB / 493.7 MB, free: 9 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1542, allocations: 0 / 493.7 MB, free: 9 MB / 366.1 MB Notification: Performance of Templates: time 0.004322/0.1585, allocations: 1.383 MB / 495 MB, free: 7.617 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches