Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008407/0.0008407, allocations: 98.92 kB / 17.35 MB, free: 6.367 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.001287/0.001288, allocations: 172.3 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2466/0.2466, allocations: 44.24 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.000344, allocations: 8.625 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1792, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002329/0.1816, allocations: 1.329 MB / 473.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1834, allocations: 1.031 MB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.1835, allocations: 4 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.1837, allocations: 23.92 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1839, allocations: 39.84 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.1844, allocations: 155.3 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1846, allocations: 67.78 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1847, allocations: 19.97 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.1848, allocations: 19.92 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.1849, allocations: 23.86 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1849, allocations: 7.984 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1851, allocations: 47.98 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.1852, allocations: 15.92 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.1852, allocations: 45.56 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1854, allocations: 99.97 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1854, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.638e-06/0.1855, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1855, allocations: 3.938 kB / 475.2 MB, free: 10.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005061/0.186, allocations: 383.3 kB / 475.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.186, allocations: 12.03 kB / 475.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.1861, allocations: 8.844 kB / 475.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1864, allocations: 194.3 kB / 475.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1864, allocations: 4.375 kB / 475.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.1864, allocations: 4.375 kB / 475.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.1866, allocations: 87.44 kB / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1867, allocations: 0 / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1867, allocations: 4 kB / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1867, allocations: 0 / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.1869, allocations: 51.95 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.1873, allocations: 296.8 kB / 476.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.1875, allocations: 58.48 kB / 476.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.1876, allocations: 28.94 kB / 476.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.1876, allocations: 4 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.1877, allocations: 30.56 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1877, allocations: 0 / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008697/0.1886, allocations: 269.2 kB / 476.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.1886, allocations: 77.11 kB / 476.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1888, allocations: 140.9 kB / 476.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1888, allocations: 25.7 kB / 476.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.1888, allocations: 99.97 kB / 476.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.1889, allocations: 23.66 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.1889, allocations: 13.72 kB / 477 MB, free: 8.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.189, allocations: 322.8 kB / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1892, allocations: 47.97 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1893, allocations: 65.67 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.1896, allocations: 104.7 kB / 477.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1896, allocations: 4.031 kB / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003102/0.1899, allocations: 137.5 kB / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1899, allocations: 6.5 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1899, allocations: 4.281 kB / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.19, allocations: 0 / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1901, allocations: 23.98 kB / 477.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1901, allocations: 0 / 477.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.1902, allocations: 19.92 kB / 477.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.1902, allocations: 0 / 477.7 MB, free: 7.672 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 (7): * Single equations (assignments): 7 * 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.0001067/0.1903, allocations: 126.3 kB / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.1904, allocations: 7.891 kB / 477.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.1908, allocations: 162 kB / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1908, allocations: 0 / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.1908, allocations: 0 / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1908, allocations: 3.938 kB / 478 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.1915, allocations: 426.8 kB / 478.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1915, allocations: 0 / 478.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-05/0.1916, allocations: 27.91 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1917, allocations: 0 / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.1917, allocations: 11.94 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1917, allocations: 4 kB / 478.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1917, allocations: 80 / 478.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.1921, allocations: 243.3 kB / 478.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.1922, allocations: 81.02 kB / 478.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1922, allocations: 3.938 kB / 478.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.1923, allocations: 19.98 kB / 478.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.1924, allocations: 7.984 kB / 478.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1924, allocations: 0 / 478.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.204e-05/0.1925, allocations: 111.2 kB / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1925, allocations: 0 / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.1928, allocations: 27.98 kB / 478.9 MB, free: 6.328 MB / 350.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 (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.00116/0.194, allocations: 437.5 kB / 479.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.1943, allocations: 107.9 kB / 479.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1943, allocations: 0 / 479.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1945, allocations: 59.95 kB / 479.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1949, allocations: 8 kB / 479.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.1954, allocations: 229.6 kB / 479.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1957, allocations: 0.7004 MB / 480.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1958, allocations: 28.22 kB / 480.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.1959, allocations: 19.44 kB / 480.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1959, allocations: 3.938 kB / 480.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of Templates: time 0.004534/0.2004, allocations: 1.441 MB / 481.9 MB, free: 3.426 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches