Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 88.19 kB / 15.7 MB, free: 460 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.001213/0.001213, allocations: 173.4 kB / 16.58 MB, free: 6.84 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.914/1.914, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.5123/0.5123, allocations: 43.58 MB / 314.6 MB, free: 8.758 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.0006437/0.0006443, allocations: 26.95 kB / 384 MB, free: 7.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1684, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.002127/0.1706, allocations: 1.314 MB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005789/0.1712, allocations: 291.8 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.1712, allocations: 4 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.1715, allocations: 51.86 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.1716, allocations: 47.81 kB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.1719, allocations: 103.9 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1721, allocations: 55.84 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.1722, allocations: 8.172 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.1722, allocations: 27.86 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.293e-05/0.1723, allocations: 39.89 kB / 444.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1724, allocations: 7.938 kB / 444.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.026e-05/0.1724, allocations: 27.98 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.1725, allocations: 19.91 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.1726, allocations: 33.7 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1727, allocations: 60.19 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.1727, allocations: 0 / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1727, allocations: 3.938 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1727, allocations: 0 / 444.9 MB, free: 10.92 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.0006069/0.1733, allocations: 402.9 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1734, allocations: 12.02 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.1734, allocations: 11.86 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1736, allocations: 183.5 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1737, allocations: 8 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1737, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1739, allocations: 69.66 kB / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1739, allocations: 0 / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1739, allocations: 0 / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1739, allocations: 0 / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.174, allocations: 55.84 kB / 445.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.1745, allocations: 288.8 kB / 445.9 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1746, allocations: 46.55 kB / 446 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.949e-05/0.1747, allocations: 28.94 kB / 446 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1747, allocations: 4 kB / 446 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.1748, allocations: 38.5 kB / 446 MB, free: 9.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.1748, allocations: 4 kB / 446 MB, free: 9.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007682/0.1756, allocations: 241 kB / 446.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.1756, allocations: 59.47 kB / 446.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1758, allocations: 178.5 kB / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1759, allocations: 29.64 kB / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.1759, allocations: 104.1 kB / 446.6 MB, free: 8.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.176, allocations: 19.66 kB / 446.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.176, allocations: 4 kB / 446.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1761, allocations: 322.8 kB / 447 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1763, allocations: 39.97 kB / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.1764, allocations: 39.97 kB / 447 MB, free: 8.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.1765, allocations: 47.97 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1765, allocations: 3.938 kB / 447.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002649/0.1768, allocations: 125.5 kB / 447.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1768, allocations: 11.95 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1768, allocations: 7.922 kB / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1768, allocations: 0 / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.177, allocations: 23.98 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.177, allocations: 0 / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.177, allocations: 15.98 kB / 447.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1771, allocations: 4 kB / 447.3 MB, free: 8.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.1772, allocations: 117.8 kB / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.1772, allocations: 7.906 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.1776, allocations: 150.2 kB / 447.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1776, allocations: 0 / 447.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1776, allocations: 4 kB / 447.6 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1776, allocations: 3.984 kB / 447.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/0.1781, allocations: 398.9 kB / 447.9 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.1781, allocations: 3.953 kB / 448 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.1782, allocations: 31.98 kB / 448 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1782, allocations: 0 / 448 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1783, allocations: 3.938 kB / 448 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1783, allocations: 0 / 448 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1783, allocations: 80 / 448 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.1786, allocations: 231.4 kB / 448.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.1787, allocations: 88.88 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.1787, allocations: 7.984 kB / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.1788, allocations: 20 kB / 448.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.1789, allocations: 7.984 kB / 448.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1789, allocations: 0 / 448.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.179, allocations: 144 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.179, allocations: 0 / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1793, allocations: 20 kB / 448.5 MB, free: 7.004 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 (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.000974/0.1802, allocations: 407.3 kB / 448.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003699/0.1806, allocations: 87.94 kB / 449 MB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1806, allocations: 4 kB / 449 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1808, allocations: 51.95 kB / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1811, allocations: 12 kB / 449 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.1816, allocations: 245.2 kB / 449.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.182, allocations: 0.7043 MB / 450 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.182, allocations: 11.98 kB / 450 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.1821, allocations: 11.44 kB / 450 MB, free: 5.465 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1821, allocations: 0 / 450 MB, free: 5.465 MB / 382.1 MB Notification: Performance of Templates: time 0.003795/0.1859, allocations: 1.143 MB / 451.2 MB, free: 4.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches