Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009898/0.00099, allocations: 96.62 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 174.5 kB / 16.58 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 222.7 MB, free: 5.836 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4904/0.4904, allocations: 43.58 MB / 314.6 MB, free: 8.703 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007817/0.0007819, allocations: 16 kB / 384 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1693, allocations: 58.86 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.002027/0.1713, allocations: 1.275 MB / 444.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007241/0.1721, allocations: 279.9 kB / 444.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.1722, allocations: 0 / 444.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006095/0.1728, allocations: 439.3 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.1731, allocations: 243.5 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.1734, allocations: 99.86 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1735, allocations: 123.7 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.1736, allocations: 11.98 kB / 445.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.822e-05/0.1737, allocations: 99.73 kB / 445.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.1739, allocations: 159.8 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.174, allocations: 0 / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.174, allocations: 23.92 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1741, allocations: 83.73 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.1742, allocations: 65.52 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1744, allocations: 171.7 kB / 445.9 MB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1744, allocations: 0 / 445.9 MB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1744, allocations: 0 / 445.9 MB, free: 9.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1744, allocations: 0 / 445.9 MB, free: 9.984 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006019/0.1751, allocations: 0.5834 MB / 446.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1751, allocations: 8.031 kB / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/0.1752, allocations: 51.39 kB / 446.5 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1754, allocations: 271.4 kB / 446.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1754, allocations: 0 / 446.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1754, allocations: 0 / 446.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1756, allocations: 53.69 kB / 446.8 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1756, allocations: 0 / 446.8 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1756, allocations: 4 kB / 446.8 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1756, allocations: 0 / 446.8 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.1757, allocations: 35.88 kB / 446.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.1762, allocations: 368.8 kB / 447.2 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.1763, allocations: 30.52 kB / 447.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.1763, allocations: 20.91 kB / 447.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1764, allocations: 0 / 447.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.1764, allocations: 42.45 kB / 447.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1764, allocations: 0 / 447.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002516/0.1767, allocations: 97.22 kB / 447.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.1767, allocations: 55.52 kB / 447.5 MB, free: 8.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/0.1776, allocations: 0.8574 MB / 448.3 MB, free: 7.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1776, allocations: 25.7 kB / 448.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1778, allocations: 224 kB / 448.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.1778, allocations: 0 / 448.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/0.1778, allocations: 0 / 448.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.1781, allocations: 362.8 kB / 448.9 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.326e-05/0.1781, allocations: 7.984 kB / 448.9 MB, free: 6.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.891e-05/0.1781, allocations: 15.94 kB / 448.9 MB, free: 6.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/0.1782, allocations: 15.98 kB / 448.9 MB, free: 6.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1782, allocations: 3.938 kB / 448.9 MB, free: 6.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001401/0.1784, allocations: 93.12 kB / 449 MB, free: 6.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1784, allocations: 4 kB / 449 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1784, allocations: 4.047 kB / 449 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1784, allocations: 4 kB / 449.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.1785, allocations: 8 kB / 449.1 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1785, allocations: 0 / 449.1 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.1786, allocations: 7.984 kB / 449.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1786, allocations: 0 / 449.1 MB, free: 6.547 MB / 382.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 (2): * Single equations (assignments): 2 * 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.0002034/0.1788, allocations: 209.8 kB / 449.3 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.1789, allocations: 39.44 kB / 449.3 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.1791, allocations: 112.6 kB / 449.4 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1791, allocations: 7.953 kB / 449.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1791, allocations: 0 / 449.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1791, allocations: 3.984 kB / 449.4 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.1794, allocations: 277.5 kB / 449.7 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1794, allocations: 0 / 449.7 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.1795, allocations: 7.984 kB / 449.7 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1795, allocations: 0 / 449.7 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.1795, allocations: 4.031 kB / 449.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1795, allocations: 4 kB / 449.7 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1795, allocations: 3.953 kB / 449.7 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.1797, allocations: 187 kB / 449.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-05/0.1798, allocations: 112.5 kB / 450 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1799, allocations: 32 / 450 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.1799, allocations: 8 kB / 450 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.18, allocations: 7.891 kB / 450 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.18, allocations: 4 kB / 450 MB, free: 5.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007164/0.1807, allocations: 0.6511 MB / 450.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1807, allocations: 0 / 450.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.181, allocations: 20 kB / 450.7 MB, free: 4.809 MB / 382.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 (2): * Single equations (assignments): 2 * 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.0008504/0.1818, allocations: 347.9 kB / 451 MB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.182, allocations: 23.98 kB / 451.1 MB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.182, allocations: 0 / 451.1 MB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.037e-05/0.182, allocations: 16.06 kB / 451.1 MB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1824, allocations: 21.95 kB / 451.1 MB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1836, allocations: 0.7937 MB / 451.9 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.1841, allocations: 0.8223 MB / 452.7 MB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.869e-05/0.1842, allocations: 7.984 kB / 452.7 MB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.1842, allocations: 11.44 kB / 452.7 MB, free: 2.742 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1842, allocations: 4 kB / 452.7 MB, free: 2.738 MB / 382.1 MB Notification: Performance of Templates: time 0.005723/0.19, allocations: 1.143 MB / 453.9 MB, free: 1.594 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches