Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008873/0.0008873, allocations: 92.92 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4455/0.4455, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.000403, allocations: 16 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1645, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002355/0.1669, allocations: 1.305 MB / 491.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1685, allocations: 0.9142 MB / 492.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.1686, allocations: 0 / 492.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.1689, allocations: 19.92 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.1691, allocations: 35.84 kB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.1696, allocations: 147.7 kB / 492.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1698, allocations: 51.84 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1699, allocations: 27.83 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.17, allocations: 19.92 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1702, allocations: 27.84 kB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.1702, allocations: 4 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1704, allocations: 31.98 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.1704, allocations: 19.91 kB / 492.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.1705, allocations: 37.64 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.1707, allocations: 71.83 kB / 492.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1707, allocations: 0 / 492.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1707, allocations: 0 / 492.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1707, allocations: 4 kB / 492.9 MB, free: 8.492 MB / 378.7 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.00068/0.1714, allocations: 383.4 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.1715, allocations: 12.02 kB / 493.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.1715, allocations: 11.86 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.1718, allocations: 190.9 kB / 493.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1718, allocations: 0 / 493.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.1719, allocations: 4 kB / 493.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.1721, allocations: 87.33 kB / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1721, allocations: 0 / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1722, allocations: 0 / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1722, allocations: 0 / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.1723, allocations: 55.91 kB / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.1729, allocations: 300.8 kB / 494 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1731, allocations: 54.5 kB / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1732, allocations: 28.94 kB / 494 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.1733, allocations: 0 / 494 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.1733, allocations: 34.56 kB / 494.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.1733, allocations: 0 / 494.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001067/0.1744, allocations: 269.1 kB / 494.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.1745, allocations: 85.11 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1747, allocations: 129.5 kB / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.1747, allocations: 29.7 kB / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.1748, allocations: 100 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.1748, allocations: 23.66 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1749, allocations: 0 / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.175, allocations: 322.8 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1752, allocations: 47.97 kB / 495.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1753, allocations: 65.61 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1755, allocations: 52 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1755, allocations: 0 / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003544/0.1758, allocations: 133.5 kB / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1759, allocations: 11.95 kB / 495.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1759, allocations: 7.984 kB / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1759, allocations: 0 / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1761, allocations: 19.98 kB / 495.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1761, allocations: 4 kB / 495.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.027e-05/0.1761, allocations: 15.98 kB / 495.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1762, allocations: 4 kB / 495.4 MB, free: 5.828 MB / 378.7 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.0001259/0.1763, allocations: 121.8 kB / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.1763, allocations: 7.906 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.1767, allocations: 157.9 kB / 495.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1768, allocations: 0 / 495.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1768, allocations: 4 kB / 495.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1768, allocations: 0 / 495.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/0.1774, allocations: 422.8 kB / 496.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.1774, allocations: 3.953 kB / 496.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.1775, allocations: 19.98 kB / 496.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1776, allocations: 11.92 kB / 496.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1776, allocations: 8 kB / 496.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1776, allocations: 0 / 496.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1776, allocations: 0 / 496.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.178, allocations: 243.4 kB / 496.3 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.178, allocations: 84.97 kB / 496.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1781, allocations: 0 / 496.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.1782, allocations: 15.98 kB / 496.4 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.1782, allocations: 11.98 kB / 496.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1783, allocations: 4 kB / 496.5 MB, free: 4.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.462e-05/0.1784, allocations: 103.3 kB / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1784, allocations: 0 / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.1786, allocations: 27.98 kB / 496.6 MB, free: 4.5 MB / 378.7 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.001008/0.1796, allocations: 448.9 kB / 497 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.1801, allocations: 99.94 kB / 497.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1801, allocations: 3.938 kB / 497.1 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1802, allocations: 55.97 kB / 497.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.1806, allocations: 15.98 kB / 497.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.1811, allocations: 239 kB / 497.4 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1815, allocations: 0.6926 MB / 498.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.1815, allocations: 15.44 kB / 498.1 MB, free: 2.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1816, allocations: 0 / 498.1 MB, free: 2.93 MB / 378.7 MB Notification: Performance of Templates: time 0.004434/0.186, allocations: 1.793 MB / 499.9 MB, free: 1.141 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches