Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 105.8 kB / 15.98 MB, free: 6.359 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.00128/0.00128, allocations: 193 kB / 16.91 MB, free: 6.191 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.778/1.778, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.4431/0.4431, allocations: 43.5 MB / 313.6 MB, free: 8.492 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.001564/0.001564, allocations: 67.91 kB / 382.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1703, allocations: 57.79 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003716/0.1741, allocations: 1.61 MB / 441.6 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1756, allocations: 0.922 MB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.1757, allocations: 0 / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.176, allocations: 23.92 kB / 442.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.1762, allocations: 39.84 kB / 442.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1765, allocations: 83.89 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1766, allocations: 47.86 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1768, allocations: 23.95 kB / 442.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.1768, allocations: 27.86 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.177, allocations: 19.92 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.177, allocations: 4 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1772, allocations: 55.91 kB / 442.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.1772, allocations: 15.92 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1773, allocations: 15.88 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1775, allocations: 95.98 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1775, allocations: 0 / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1775, allocations: 0 / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1775, allocations: 0 / 443 MB, free: 11.75 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.0005513/0.1781, allocations: 379.2 kB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1781, allocations: 15.89 kB / 443.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.1782, allocations: 0.9375 kB / 443.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1784, allocations: 188.2 kB / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1784, allocations: 4.375 kB / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1784, allocations: 8.266 kB / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1786, allocations: 67.47 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1786, allocations: 0 / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1787, allocations: 4 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1787, allocations: 4 kB / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.378e-05/0.1788, allocations: 27.95 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.1792, allocations: 280.9 kB / 443.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.1795, allocations: 54.5 kB / 444 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.1796, allocations: 16.94 kB / 444 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1796, allocations: 0 / 444 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1796, allocations: 34.56 kB / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1796, allocations: 0 / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006128/0.1803, allocations: 141.4 kB / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.1803, allocations: 81.11 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1805, allocations: 133.8 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1805, allocations: 29.7 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.1806, allocations: 95.98 kB / 444.5 MB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.1807, allocations: 11.81 kB / 444.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.1807, allocations: 17.7 kB / 444.5 MB, free: 9.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1809, allocations: 322.8 kB / 444.9 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.181, allocations: 27.97 kB / 444.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.1811, allocations: 29.7 kB / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1812, allocations: 56.77 kB / 445 MB, free: 9.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1812, allocations: 0 / 445 MB, free: 9.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001912/0.1814, allocations: 85.56 kB / 445.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.1815, allocations: 8 kB / 445.1 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1815, allocations: 7.969 kB / 445.1 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1815, allocations: 0 / 445.1 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.1816, allocations: 8 kB / 445.1 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1816, allocations: 3.984 kB / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.1816, allocations: 4 kB / 445.1 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1816, allocations: 4 kB / 445.1 MB, free: 9.395 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 (5): * Single equations (assignments): 5 * 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.0001076/0.1818, allocations: 125.7 kB / 445.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.1818, allocations: 0 / 445.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.1821, allocations: 101.9 kB / 445.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1821, allocations: 64 / 445.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1821, allocations: 4 kB / 445.3 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1821, allocations: 0 / 445.3 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.1826, allocations: 358.3 kB / 445.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1826, allocations: 0 / 445.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.1827, allocations: 27.92 kB / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1827, allocations: 0 / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1827, allocations: 0 / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1827, allocations: 3.938 kB / 445.7 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1827, allocations: 0 / 445.7 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.1829, allocations: 175.5 kB / 445.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.183, allocations: 81.02 kB / 446 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.183, allocations: 7.938 kB / 446 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.1831, allocations: 15.92 kB / 446 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.1832, allocations: 4 kB / 446 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.1832, allocations: 0 / 446 MB, free: 8.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1833, allocations: 103.3 kB / 446.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1833, allocations: 0 / 446.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1836, allocations: 27.98 kB / 446.1 MB, free: 8.273 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 (5): * Single equations (assignments): 5 * 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.001157/0.1847, allocations: 455 kB / 446.6 MB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.185, allocations: 51.97 kB / 446.6 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1851, allocations: 0 / 446.6 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.1851, allocations: 31.91 kB / 446.6 MB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.1856, allocations: 19.86 kB / 446.7 MB, free: 7.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.1861, allocations: 185.5 kB / 446.8 MB, free: 7.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.1866, allocations: 0.6885 MB / 447.5 MB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.646e-05/0.1867, allocations: 20.23 kB / 447.5 MB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.1868, allocations: 11.44 kB / 447.6 MB, free: 6.805 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1868, allocations: 0 / 447.6 MB, free: 6.805 MB / 382.1 MB Notification: Performance of Templates: time 0.004817/0.1916, allocations: 1.334 MB / 448.9 MB, free: 5.469 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches