Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00943/0.00943, allocations: 98.89 kB / 15.87 MB, free: 6.289 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.002046/0.002047, allocations: 197.4 kB / 16.79 MB, free: 6.219 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.809/1.809, allocations: 205.1 MB / 222.6 MB, free: 4.727 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.3751/0.3751, allocations: 43.49 MB / 313.5 MB, free: 8.605 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.001876/0.001876, allocations: 63.91 kB / 382 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.18, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.003496/0.1835, allocations: 1.618 MB / 441.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006869/0.1842, allocations: 319.7 kB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.1843, allocations: 0 / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.1846, allocations: 107.8 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.1848, allocations: 71.84 kB / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.1851, allocations: 87.83 kB / 442 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1853, allocations: 71.81 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1854, allocations: 11.98 kB / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.942e-05/0.1855, allocations: 35.84 kB / 442.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1857, allocations: 71.73 kB / 442.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1857, allocations: 4 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.1858, allocations: 28 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.1859, allocations: 27.91 kB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.1859, allocations: 27.73 kB / 442.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1861, allocations: 95.88 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1861, allocations: 0 / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1861, allocations: 0 / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1862, allocations: 0 / 442.4 MB, free: 12.26 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.0006174/0.1868, allocations: 418.8 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1868, allocations: 12.03 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1869, allocations: 8.844 kB / 442.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1872, allocations: 204 kB / 443 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1872, allocations: 384 / 443 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1872, allocations: 8.375 kB / 443 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1874, allocations: 49.81 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1874, allocations: 0 / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.1874, allocations: 0 / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1875, allocations: 3.938 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1876, allocations: 27.97 kB / 443.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.1881, allocations: 292.9 kB / 443.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1884, allocations: 42.56 kB / 443.4 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.344e-05/0.1885, allocations: 24.88 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1885, allocations: 4 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1885, allocations: 30.56 kB / 443.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1885, allocations: 0 / 443.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006525/0.1892, allocations: 161.2 kB / 443.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.1893, allocations: 51.41 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.1896, allocations: 246.6 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1896, allocations: 25.7 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.1897, allocations: 112.1 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.1897, allocations: 11.81 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.1898, allocations: 13.72 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.19, allocations: 330.8 kB / 444.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.19, allocations: 23.97 kB / 444.4 MB, free: 9.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.1901, allocations: 23.98 kB / 444.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1903, allocations: 52.83 kB / 444.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1903, allocations: 0 / 444.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000208/0.1905, allocations: 85.8 kB / 444.6 MB, free: 9.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1905, allocations: 7.984 kB / 444.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1905, allocations: 0 / 444.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1906, allocations: 0 / 444.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.1906, allocations: 19.88 kB / 444.6 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1907, allocations: 4 kB / 444.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.1907, allocations: 15.97 kB / 444.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1907, allocations: 0 / 444.6 MB, free: 9.77 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.0001161/0.1908, allocations: 129.8 kB / 444.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.1909, allocations: 15.81 kB / 444.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.1912, allocations: 106.8 kB / 444.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1912, allocations: 4 kB / 444.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1912, allocations: 4.062 kB / 444.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1912, allocations: 0 / 444.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.1917, allocations: 358.5 kB / 445.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1917, allocations: 0 / 445.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.1918, allocations: 19.92 kB / 445.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1918, allocations: 0 / 445.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1918, allocations: 4 kB / 445.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1918, allocations: 7.938 kB / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1918, allocations: 0 / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1921, allocations: 183.3 kB / 445.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.1921, allocations: 85.02 kB / 445.5 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.1922, allocations: 0 / 445.5 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.1922, allocations: 11.92 kB / 445.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.1923, allocations: 12 kB / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1923, allocations: 0 / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.1924, allocations: 184.3 kB / 445.7 MB, free: 8.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1925, allocations: 0 / 445.7 MB, free: 8.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1927, allocations: 20 kB / 445.8 MB, free: 8.531 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.001033/0.1937, allocations: 407.9 kB / 446.2 MB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.194, allocations: 55.97 kB / 446.2 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.194, allocations: 0 / 446.2 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.1941, allocations: 27.97 kB / 446.2 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1945, allocations: 19.22 kB / 446.3 MB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/0.1951, allocations: 284 kB / 446.5 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.1955, allocations: 0.7043 MB / 447.2 MB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.066e-05/0.1956, allocations: 11.98 kB / 447.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.1957, allocations: 15.44 kB / 447.3 MB, free: 7.008 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1957, allocations: 0 / 447.3 MB, free: 7.008 MB / 382.1 MB Notification: Performance of Templates: time 0.004558/0.2002, allocations: 1.09 MB / 448.4 MB, free: 5.918 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches