Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001689/0.001689, allocations: 111.4 kB / 17.98 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002277/0.002277, allocations: 201.8 kB / 18.92 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.52/2.52, allocations: 227.4 MB / 247.1 MB, free: 8.977 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4292/0.4292, allocations: 46.09 MB / 344.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 75.69 kB / 417.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1724, allocations: 62.45 MB / 480.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.005634/0.178, allocations: 1.644 MB / 481.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1798, allocations: 0.5222 MB / 482.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.1799, allocations: 4 kB / 482.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.1803, allocations: 31.86 kB / 482.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.1808, allocations: 63.81 kB / 482.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.1813, allocations: 79.61 kB / 482.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.1815, allocations: 63.83 kB / 482.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1817, allocations: 11.98 kB / 482.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1818, allocations: 23.86 kB / 482.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.762e-05/0.182, allocations: 23.88 kB / 482.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.182, allocations: 4 kB / 482.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1821, allocations: 39.91 kB / 482.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.1822, allocations: 7.984 kB / 482.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.1823, allocations: 23.81 kB / 482.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.1825, allocations: 55.92 kB / 482.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1825, allocations: 0 / 482.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1826, allocations: 0 / 482.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.1826, allocations: 4 kB / 482.7 MB, free: 2.977 MB / 350.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.0008811/0.1835, allocations: 391.3 kB / 483.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.1835, allocations: 12.03 kB / 483.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.1836, allocations: 8.844 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1839, allocations: 184.3 kB / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.184, allocations: 4.312 kB / 483.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.184, allocations: 4.375 kB / 483.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.1842, allocations: 45.81 kB / 483.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1843, allocations: 7.906 kB / 483.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1843, allocations: 3.938 kB / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.1843, allocations: 3.984 kB / 483.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1845, allocations: 27.97 kB / 483.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.1851, allocations: 276.9 kB / 483.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.1854, allocations: 42.5 kB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.1855, allocations: 12.86 kB / 483.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.1856, allocations: 4 kB / 483.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.1856, allocations: 38.64 kB / 483.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.1856, allocations: 0 / 483.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001046/0.1867, allocations: 141.2 kB / 483.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1868, allocations: 51.41 kB / 484 MB, free: 1.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.187, allocations: 160.5 kB / 484.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1871, allocations: 25.7 kB / 484.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.1872, allocations: 92.14 kB / 484.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.1873, allocations: 11.8 kB / 484.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.1874, allocations: 17.72 kB / 484.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.1876, allocations: 326.8 kB / 484.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1878, allocations: 19.98 kB / 484.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1879, allocations: 15.98 kB / 484.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.1881, allocations: 52.72 kB / 484.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1882, allocations: 0 / 484.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003311/0.1885, allocations: 85.81 kB / 484.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1885, allocations: 6.344 kB / 484.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1886, allocations: 4 kB / 484.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1886, allocations: 0 / 484.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1887, allocations: 15.98 kB / 484.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1887, allocations: 4 kB / 484.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.1888, allocations: 4 kB / 484.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-06/0.1888, allocations: 0 / 484.8 MB, free: 0.6992 MB / 350.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.0001308/0.189, allocations: 121.7 kB / 484.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.1891, allocations: 11.89 kB / 484.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.1894, allocations: 93.89 kB / 485 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1895, allocations: 4 kB / 485 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1895, allocations: 0 / 485 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1895, allocations: 4 kB / 485 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/0.1903, allocations: 354.3 kB / 485.4 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1903, allocations: 3.984 kB / 485.4 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/0.1904, allocations: 8 kB / 485.4 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1904, allocations: 0 / 485.4 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1904, allocations: 0 / 485.4 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/0.1904, allocations: 11.94 kB / 485.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1905, allocations: 0 / 485.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.1908, allocations: 179.4 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.1909, allocations: 77.11 kB / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.191, allocations: 7.938 kB / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1911, allocations: 12.11 kB / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.1912, allocations: 8 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.1912, allocations: 4 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1914, allocations: 122 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1914, allocations: 0 / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004689/0.1919, allocations: 12 kB / 485.8 MB, free: 15.58 MB / 366.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.001651/0.1935, allocations: 387.7 kB / 486.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.1939, allocations: 51.97 kB / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1939, allocations: 0 / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.194, allocations: 31.91 kB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.1947, allocations: 18.98 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006949/0.1954, allocations: 223.7 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.1959, allocations: 0.6963 MB / 487.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.1959, allocations: 11.44 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1959, allocations: 0 / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of Templates: time 0.005035/0.201, allocations: 1.424 MB / 488.6 MB, free: 12.82 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches