Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009594/0.0009593, allocations: 96.78 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.001295/0.001296, allocations: 172 kB / 16.58 MB, free: 6.062 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.902/1.902, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.5383/0.5383, allocations: 43.57 MB / 314.6 MB, free: 8.754 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.0006486/0.0006487, allocations: 20 kB / 384 MB, free: 7.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1776, allocations: 58.85 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002766/0.1804, allocations: 1.325 MB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1822, allocations: 0.8714 MB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.1822, allocations: 0 / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.1825, allocations: 15.92 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1828, allocations: 31.91 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.1831, allocations: 107.8 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1833, allocations: 55.78 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1834, allocations: 12.17 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.1835, allocations: 23.86 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.1836, allocations: 23.92 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1836, allocations: 4 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1838, allocations: 43.91 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.1838, allocations: 11.98 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.1839, allocations: 37.64 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.1841, allocations: 72.16 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1841, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1841, allocations: 3.938 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1841, allocations: 0 / 445.4 MB, free: 10.36 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.00057/0.1847, allocations: 383.1 kB / 445.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1847, allocations: 12.02 kB / 445.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.1848, allocations: 11.86 kB / 445.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1851, allocations: 187 kB / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1851, allocations: 3.938 kB / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.1851, allocations: 4 kB / 446 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.1853, allocations: 83.33 kB / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1854, allocations: 0 / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1854, allocations: 0 / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1854, allocations: 0 / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.1855, allocations: 47.92 kB / 446.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.186, allocations: 288.8 kB / 446.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1862, allocations: 46.55 kB / 446.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/0.1862, allocations: 24.94 kB / 446.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1863, allocations: 4 kB / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1863, allocations: 34.56 kB / 446.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1863, allocations: 0 / 446.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007797/0.1871, allocations: 245.1 kB / 446.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.1872, allocations: 77.11 kB / 446.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1873, allocations: 133.8 kB / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1874, allocations: 25.7 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.1875, allocations: 88.14 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.1875, allocations: 23.64 kB / 447.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1875, allocations: 0 / 447.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1877, allocations: 318.8 kB / 447.4 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1878, allocations: 43.97 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.188, allocations: 61.69 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1882, allocations: 43.97 kB / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1882, allocations: 0 / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002804/0.1884, allocations: 129.6 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1885, allocations: 7.953 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1885, allocations: 0 / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1885, allocations: 0 / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1887, allocations: 31.98 kB / 447.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1887, allocations: 0 / 447.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.833e-05/0.1887, allocations: 11.98 kB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1888, allocations: 4 kB / 447.8 MB, free: 7.801 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.0001206/0.1889, allocations: 117.8 kB / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.1889, allocations: 7.906 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.1894, allocations: 142.2 kB / 448 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1894, allocations: 7.875 kB / 448 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1894, allocations: 0 / 448 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1894, allocations: 7.984 kB / 448 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.1901, allocations: 410.4 kB / 448.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.1902, allocations: 7.938 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.758e-05/0.1903, allocations: 19.98 kB / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1903, allocations: 0 / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1903, allocations: 4 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1903, allocations: 0 / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1903, allocations: 0 / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1907, allocations: 219.4 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.1908, allocations: 92.95 kB / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1908, allocations: 8 kB / 448.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.1909, allocations: 8 kB / 448.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.1909, allocations: 7.984 kB / 448.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.191, allocations: 4 kB / 448.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.741e-05/0.1911, allocations: 111.8 kB / 448.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1911, allocations: 0 / 448.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1913, allocations: 24 kB / 448.9 MB, free: 6.523 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.001158/0.1925, allocations: 441.7 kB / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.1928, allocations: 99.88 kB / 449.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1928, allocations: 0 / 449.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.193, allocations: 43.97 kB / 449.5 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1933, allocations: 27.59 kB / 449.5 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.1938, allocations: 201.2 kB / 449.7 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1942, allocations: 0.6926 MB / 450.4 MB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.232e-05/0.1943, allocations: 15.98 kB / 450.4 MB, free: 5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.1944, allocations: 15.38 kB / 450.5 MB, free: 4.984 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1944, allocations: 0 / 450.5 MB, free: 4.984 MB / 382.1 MB Notification: Performance of Templates: time 0.004461/0.1988, allocations: 1.392 MB / 451.8 MB, free: 3.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches