Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.001752/0.001753, allocations: 195 kB / 17.98 MB, free: 5.027 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.81/1.81, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2481/0.2481, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 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.00209/0.00209, allocations: 68.25 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1733, allocations: 57.78 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004126/0.1776, allocations: 1.598 MB / 443.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.1784, allocations: 347.5 kB / 443.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.1785, allocations: 0 / 443.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000716/0.1793, allocations: 459.1 kB / 444.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.1798, allocations: 251.5 kB / 444.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.1804, allocations: 154.6 kB / 444.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.1807, allocations: 167.7 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.1809, allocations: 28.09 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.181, allocations: 107.8 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.1814, allocations: 211.6 kB / 445.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.1814, allocations: 4 kB / 445.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1815, allocations: 28 kB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.1817, allocations: 83.69 kB / 445.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.211e-05/0.1818, allocations: 103 kB / 445.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.1821, allocations: 255 kB / 445.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1822, allocations: 0 / 445.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1822, allocations: 0 / 445.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1822, allocations: 3.938 kB / 445.7 MB, free: 2.383 MB / 318.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.0007556/0.1829, allocations: 0.6258 MB / 446.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.183, allocations: 11.89 kB / 446.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.1831, allocations: 44.38 kB / 446.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1833, allocations: 296.2 kB / 446.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1834, allocations: 4.375 kB / 446.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.1834, allocations: 8.375 kB / 446.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1836, allocations: 57.61 kB / 446.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1836, allocations: 0 / 446.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1836, allocations: 4 kB / 446.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1837, allocations: 0 / 446.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.1838, allocations: 31.91 kB / 446.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.1843, allocations: 388.7 kB / 447.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.1846, allocations: 58.48 kB / 447.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.1847, allocations: 12.86 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1847, allocations: 0 / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.1847, allocations: 38.64 kB / 447.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.1847, allocations: 0 / 447.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007323/0.1855, allocations: 236 kB / 447.5 MB, free: 428 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1855, allocations: 55.41 kB / 447.6 MB, free: 360 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.1867, allocations: 0.8613 MB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1867, allocations: 25.7 kB / 448.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.187, allocations: 216.1 kB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.1871, allocations: 27.64 kB / 448.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.1871, allocations: 17.66 kB / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1873, allocations: 362.8 kB / 449.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1874, allocations: 24.03 kB / 449.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.1876, allocations: 27.98 kB / 449.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.1878, allocations: 52.83 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1878, allocations: 0 / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003221/0.1881, allocations: 121.1 kB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.1881, allocations: 9.25 kB / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1882, allocations: 3.984 kB / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1882, allocations: 0 / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.466e-05/0.1883, allocations: 8 kB / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.1883, allocations: 0 / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.714e-05/0.1884, allocations: 11.92 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1884, allocations: 4 kB / 449.3 MB, free: 14.55 MB / 334.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.0002671/0.1887, allocations: 221.7 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-05/0.1888, allocations: 43.42 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.1892, allocations: 141 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1892, allocations: 0 / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1892, allocations: 3.984 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.1893, allocations: 3.938 kB / 449.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007999/0.1901, allocations: 458.7 kB / 450.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1901, allocations: 8.062 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.09e-05/0.1902, allocations: 19.92 kB / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1902, allocations: 0 / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1902, allocations: 3.938 kB / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.1902, allocations: 0 / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1902, allocations: 288 / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.1906, allocations: 223 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1907, allocations: 108.6 kB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.1908, allocations: 3.938 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.191, allocations: 7.984 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.191, allocations: 4 kB / 450.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.191, allocations: 0 / 450.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009184/0.192, allocations: 0.6472 MB / 451.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.192, allocations: 0 / 451.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004526/0.1924, allocations: 31.98 kB / 451.2 MB, free: 12.55 MB / 334.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.001374/0.1938, allocations: 402.4 kB / 451.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.1941, allocations: 51.95 kB / 451.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1941, allocations: 0 / 451.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1943, allocations: 27.98 kB / 451.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.1949, allocations: 29.89 kB / 451.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.1965, allocations: 0.7873 MB / 452.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006008/0.1971, allocations: 0.8319 MB / 453.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.679e-05/0.1972, allocations: 11.98 kB / 453.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.1973, allocations: 11.44 kB / 453.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1973, allocations: 0 / 453.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Templates: time 0.006958/0.2042, allocations: 1.482 MB / 454.8 MB, free: 8.957 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches