Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009723/0.0009723, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 172.1 kB / 16.58 MB, free: 6.844 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.849/1.849, allocations: 205.4 MB / 222.8 MB, free: 5.664 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.5668/0.5668, allocations: 43.57 MB / 314.6 MB, free: 8.742 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.000629/0.000629, allocations: 20 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1811, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.002745/0.1839, allocations: 1.317 MB / 444.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.1846, allocations: 295.9 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.1847, allocations: 0 / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.185, allocations: 51.86 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.1852, allocations: 51.88 kB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.1855, allocations: 99.75 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1857, allocations: 59.83 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1858, allocations: 12.17 kB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.1859, allocations: 31.91 kB / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.186, allocations: 39.78 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1861, allocations: 0 / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-05/0.1862, allocations: 31.97 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.652e-05/0.1862, allocations: 23.86 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.1863, allocations: 33.64 kB / 444.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1864, allocations: 60.19 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1864, allocations: 0 / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1865, allocations: 0 / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1865, allocations: 0 / 444.9 MB, free: 10.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006377/0.1871, allocations: 395 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1872, allocations: 12.02 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.1872, allocations: 11.86 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1875, allocations: 191.4 kB / 445.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1875, allocations: 4 kB / 445.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1875, allocations: 3.938 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.1877, allocations: 65.67 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1877, allocations: 0 / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1877, allocations: 0 / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1877, allocations: 0 / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.1879, allocations: 43.92 kB / 445.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.1883, allocations: 292.8 kB / 445.9 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1885, allocations: 46.5 kB / 446 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/0.1886, allocations: 28.94 kB / 446 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1886, allocations: 4 kB / 446 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1886, allocations: 34.5 kB / 446 MB, free: 9.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1886, allocations: 0 / 446 MB, free: 9.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008192/0.1895, allocations: 257.3 kB / 446.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1895, allocations: 51.41 kB / 446.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1897, allocations: 182.9 kB / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1897, allocations: 25.7 kB / 446.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.1898, allocations: 96.14 kB / 446.6 MB, free: 8.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1898, allocations: 27.64 kB / 446.6 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.1899, allocations: 0 / 446.6 MB, free: 8.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.19, allocations: 322.8 kB / 447 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1901, allocations: 39.97 kB / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-05/0.1902, allocations: 35.98 kB / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1904, allocations: 47.91 kB / 447.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1904, allocations: 0 / 447.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002909/0.1907, allocations: 133.8 kB / 447.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1907, allocations: 11.95 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1907, allocations: 0 / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1907, allocations: 0 / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1909, allocations: 19.98 kB / 447.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1909, allocations: 12.06 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.1909, allocations: 11.98 kB / 447.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1909, allocations: 3.938 kB / 447.3 MB, free: 8.324 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 (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.000107/0.1911, allocations: 129.8 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.1911, allocations: 11.91 kB / 447.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.1914, allocations: 146.2 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1915, allocations: 0 / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1915, allocations: 0 / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1915, allocations: 0 / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.192, allocations: 406.5 kB / 447.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.192, allocations: 7.953 kB / 448 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.1921, allocations: 23.98 kB / 448 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1921, allocations: 0 / 448 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1922, allocations: 4 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1922, allocations: 0 / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.1922, allocations: 4 kB / 448 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.1925, allocations: 223.3 kB / 448.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.1926, allocations: 96.89 kB / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1926, allocations: 0 / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.1927, allocations: 19.98 kB / 448.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.1928, allocations: 4 kB / 448.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1928, allocations: 7.984 kB / 448.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1929, allocations: 136.5 kB / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1929, allocations: 0 / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1932, allocations: 16 kB / 448.5 MB, free: 7.012 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 (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.001037/0.1942, allocations: 405.3 kB / 448.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.1945, allocations: 91.92 kB / 449 MB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1945, allocations: 4 kB / 449 MB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1947, allocations: 47.91 kB / 449 MB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.195, allocations: 15.98 kB / 449 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.1956, allocations: 245.1 kB / 449.3 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.196, allocations: 0.7004 MB / 450 MB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.241e-05/0.196, allocations: 20.28 kB / 450 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.1961, allocations: 11.44 kB / 450 MB, free: 5.465 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1961, allocations: 0 / 450 MB, free: 5.465 MB / 382.1 MB Notification: Performance of Templates: time 0.004426/0.2005, allocations: 1.131 MB / 451.1 MB, free: 4.332 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches