Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 90.72 kB / 17 MB, free: 6.84 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.001069/0.00107, allocations: 186.5 kB / 17.89 MB, free: 6.055 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.463/1.463, allocations: 223.3 MB / 241.9 MB, free: 360 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.2626/0.2626, allocations: 44.25 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004881, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1794, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002163/0.1816, allocations: 1.302 MB / 472.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008185/0.1824, allocations: 415.6 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.1825, allocations: 0 / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000558/0.183, allocations: 447.2 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.1834, allocations: 239.5 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.1838, allocations: 155.2 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.184, allocations: 131.7 kB / 474.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.1841, allocations: 16.17 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1842, allocations: 103.8 kB / 474.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1844, allocations: 159.7 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1844, allocations: 4 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.322e-05/0.1845, allocations: 35.92 kB / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1847, allocations: 83.75 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.1847, allocations: 61.52 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1849, allocations: 188 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1849, allocations: 0 / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1849, allocations: 0 / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.185, allocations: 0 / 474.9 MB, free: 10.4 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.0006731/0.1856, allocations: 0.5948 MB / 475.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1857, allocations: 12.56 kB / 475.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.1857, allocations: 39.44 kB / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.186, allocations: 271.4 kB / 475.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.186, allocations: 0 / 475.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1861, allocations: 4 kB / 475.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1862, allocations: 65.61 kB / 475.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1863, allocations: 0 / 475.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1863, allocations: 0 / 475.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1863, allocations: 0 / 475.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.1864, allocations: 43.91 kB / 475.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.1869, allocations: 388.7 kB / 476.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.1871, allocations: 54.48 kB / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1872, allocations: 20.86 kB / 476.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1872, allocations: 4.078 kB / 476.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1873, allocations: 30.56 kB / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1873, allocations: 0 / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006578/0.1879, allocations: 251.9 kB / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.188, allocations: 51.41 kB / 476.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.1889, allocations: 0.8613 MB / 477.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1889, allocations: 29.64 kB / 477.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.1891, allocations: 224.1 kB / 477.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.1891, allocations: 11.81 kB / 477.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.1891, allocations: 4 kB / 477.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1893, allocations: 362.7 kB / 478.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.1894, allocations: 23.98 kB / 478.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.1895, allocations: 27.98 kB / 478.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.017e-05/0.1896, allocations: 27.98 kB / 478.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1896, allocations: 4 kB / 478.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000235/0.1898, allocations: 133 kB / 478.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1899, allocations: 4 kB / 478.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1899, allocations: 4.25 kB / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1899, allocations: 0 / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.19, allocations: 16 kB / 478.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.19, allocations: 0 / 478.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.1901, allocations: 7.984 kB / 478.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1901, allocations: 4 kB / 478.4 MB, free: 6.645 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.1903, allocations: 221.7 kB / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.1903, allocations: 47.44 kB / 478.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.1907, allocations: 149 kB / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1907, allocations: 0 / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.1907, allocations: 0 / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1907, allocations: 3.938 kB / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005593/0.1913, allocations: 474.5 kB / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1913, allocations: 0 / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.1913, allocations: 19.98 kB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1913, allocations: 0 / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1914, allocations: 0 / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1914, allocations: 7.938 kB / 479.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1914, allocations: 0 / 479.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.1917, allocations: 227.2 kB / 479.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-05/0.1918, allocations: 108.6 kB / 479.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1918, allocations: 7.984 kB / 479.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.1919, allocations: 11.98 kB / 479.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.1919, allocations: 0 / 479.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1919, allocations: 7.938 kB / 479.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006433/0.1926, allocations: 0.6511 MB / 480.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1926, allocations: 0 / 480.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1929, allocations: 24 kB / 480.4 MB, free: 4.602 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 (5): * Single equations (assignments): 5 * 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.0009817/0.1938, allocations: 408.8 kB / 480.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.1941, allocations: 67.89 kB / 480.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1941, allocations: 0 / 480.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.1942, allocations: 27.98 kB / 480.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.1946, allocations: 29.91 kB / 480.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1959, allocations: 0.8333 MB / 481.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.1964, allocations: 0.8224 MB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.936e-05/0.1965, allocations: 23.91 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.1965, allocations: 15.42 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1965, allocations: 0 / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of Templates: time 0.005252/0.2018, allocations: 1.349 MB / 483.9 MB, free: 1.137 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches