Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 101.3 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 194.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.4355/0.4355, allocations: 43.5 MB / 313.6 MB, free: 8.512 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.001786/0.001787, allocations: 67.91 kB / 382.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1639, allocations: 57.79 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.004523/0.1685, allocations: 1.683 MB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007356/0.1692, allocations: 315.7 kB / 442 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1694, allocations: 0 / 442 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006344/0.17, allocations: 451.2 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000407/0.1705, allocations: 243.5 kB / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.1709, allocations: 107.9 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.1712, allocations: 163.6 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1713, allocations: 12.17 kB / 443 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1714, allocations: 111.8 kB / 443.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.1717, allocations: 227.5 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1717, allocations: 0 / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.1718, allocations: 28 kB / 443.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.172, allocations: 91.61 kB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.285e-05/0.1721, allocations: 110.9 kB / 443.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.1724, allocations: 247.2 kB / 443.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1724, allocations: 0 / 443.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1724, allocations: 0 / 443.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.1725, allocations: 0 / 443.8 MB, free: 10.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009297/0.1734, allocations: 0.6414 MB / 444.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1735, allocations: 11.89 kB / 444.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.1735, allocations: 44.38 kB / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.1739, allocations: 292.2 kB / 444.7 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1739, allocations: 4.312 kB / 444.7 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.174, allocations: 4.375 kB / 444.7 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.1742, allocations: 61.61 kB / 444.8 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1742, allocations: 0 / 444.8 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1742, allocations: 0 / 444.8 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1742, allocations: 4 kB / 444.8 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.1744, allocations: 31.97 kB / 444.8 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.1749, allocations: 392.6 kB / 445.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1751, allocations: 46.55 kB / 445.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.1752, allocations: 24.94 kB / 445.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1752, allocations: 3.938 kB / 445.3 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1752, allocations: 34.56 kB / 445.3 MB, free: 9.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1752, allocations: 0 / 445.3 MB, free: 9.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008256/0.1761, allocations: 287.8 kB / 445.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1761, allocations: 51.41 kB / 445.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007941/0.1769, allocations: 0.8534 MB / 446.5 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1769, allocations: 25.7 kB / 446.5 MB, free: 7.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.1771, allocations: 208.1 kB / 446.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.1772, allocations: 27.64 kB / 446.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1772, allocations: 21.72 kB / 446.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.1774, allocations: 358.8 kB / 447.1 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1775, allocations: 36.05 kB / 447.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.907e-05/0.1776, allocations: 35.91 kB / 447.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.1779, allocations: 76.8 kB / 447.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1779, allocations: 0 / 447.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002728/0.1781, allocations: 141.1 kB / 447.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1782, allocations: 4 kB / 447.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1782, allocations: 4 kB / 447.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.1782, allocations: 0 / 447.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.1784, allocations: 15.98 kB / 447.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1784, allocations: 4 kB / 447.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.1785, allocations: 15.92 kB / 447.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1785, allocations: 3.938 kB / 447.5 MB, free: 7.031 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 (7): * Single equations (assignments): 7 * 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.0002111/0.1787, allocations: 217.7 kB / 447.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.1787, allocations: 43.72 kB / 447.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.1791, allocations: 173.7 kB / 447.9 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1791, allocations: 3.984 kB / 447.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1791, allocations: 0 / 447.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1791, allocations: 3.938 kB / 447.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.1797, allocations: 494.4 kB / 448.4 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1797, allocations: 0 / 448.4 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.1798, allocations: 19.98 kB / 448.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1798, allocations: 4 kB / 448.4 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1799, allocations: 3.938 kB / 448.4 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/0.1799, allocations: 4 kB / 448.4 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1799, allocations: 3.938 kB / 448.4 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.1802, allocations: 246.8 kB / 448.7 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.1803, allocations: 112.6 kB / 448.8 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1803, allocations: 7.938 kB / 448.8 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.1804, allocations: 7.984 kB / 448.8 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.1805, allocations: 4 kB / 448.8 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1805, allocations: 0 / 448.8 MB, free: 5.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006097/0.1811, allocations: 0.6511 MB / 449.4 MB, free: 4.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1811, allocations: 0 / 449.4 MB, free: 4.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1814, allocations: 28 kB / 449.5 MB, free: 4.922 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 (7): * Single equations (assignments): 7 * 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.001012/0.1824, allocations: 403.5 kB / 449.9 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003152/0.1827, allocations: 79.88 kB / 449.9 MB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1827, allocations: 0 / 449.9 MB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1829, allocations: 43.97 kB / 450 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.1834, allocations: 29.83 kB / 450 MB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1846, allocations: 0.8851 MB / 450.9 MB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.1851, allocations: 0.8221 MB / 451.7 MB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.556e-05/0.1852, allocations: 16.31 kB / 451.7 MB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.1852, allocations: 15.38 kB / 451.7 MB, free: 2.621 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1852, allocations: 0 / 451.7 MB, free: 2.621 MB / 382.1 MB Notification: Performance of Templates: time 0.006088/0.1913, allocations: 1.487 MB / 453.2 MB, free: 1.133 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches