Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007992/0.0007993, allocations: 88.19 kB / 15.7 MB, free: 460 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.001803/0.001803, allocations: 175.4 kB / 16.58 MB, free: 6.84 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.499/1.499, allocations: 205.4 MB / 222.8 MB, free: 5.668 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.4216/0.4216, allocations: 43.58 MB / 314.6 MB, free: 8.785 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.0006676/0.000668, allocations: 16 kB / 383.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1779, allocations: 58.88 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.002471/0.1804, allocations: 1.31 MB / 444.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.182, allocations: 0.8752 MB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.1821, allocations: 3.938 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.1824, allocations: 15.98 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.1826, allocations: 35.84 kB / 445.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.1831, allocations: 99.81 kB / 445.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.1832, allocations: 55.83 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1834, allocations: 16.17 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.1834, allocations: 19.92 kB / 445.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1836, allocations: 27.86 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1837, allocations: 0 / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.1838, allocations: 43.97 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.1839, allocations: 15.92 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.184, allocations: 29.7 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1842, allocations: 72.11 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1842, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1842, allocations: 3.938 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1842, allocations: 0 / 445.4 MB, free: 10.39 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.000656/0.1849, allocations: 383.1 kB / 445.8 MB, free: 9.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.132e-05/0.185, allocations: 20 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.1851, allocations: 7.859 kB / 445.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1854, allocations: 179 kB / 446 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1854, allocations: 8 kB / 446 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1854, allocations: 0 / 446 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.1857, allocations: 79.33 kB / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1857, allocations: 0 / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1857, allocations: 4 kB / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1857, allocations: 3.938 kB / 446.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1859, allocations: 51.91 kB / 446.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.1863, allocations: 276.9 kB / 446.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1865, allocations: 50.5 kB / 446.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/0.1865, allocations: 32.94 kB / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.1866, allocations: 3.984 kB / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1866, allocations: 30.56 kB / 446.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.1866, allocations: 0 / 446.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008391/0.1875, allocations: 249.2 kB / 446.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.1875, allocations: 81.11 kB / 446.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1877, allocations: 129.8 kB / 447 MB, free: 8.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1877, allocations: 25.7 kB / 447 MB, free: 8.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.1878, allocations: 92.12 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.1879, allocations: 23.66 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.1879, allocations: 0 / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.188, allocations: 326.8 kB / 447.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1882, allocations: 39.97 kB / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.1883, allocations: 57.69 kB / 447.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1884, allocations: 44.03 kB / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1884, allocations: 0 / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003014/0.1887, allocations: 125.5 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.1888, allocations: 7.953 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1888, allocations: 0 / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.1888, allocations: 7.984 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.189, allocations: 23.98 kB / 447.8 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.189, allocations: 0 / 447.8 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.189, allocations: 19.98 kB / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1891, allocations: 4 kB / 447.8 MB, free: 7.816 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.0001293/0.1892, allocations: 117.8 kB / 447.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1892, allocations: 3.906 kB / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.1897, allocations: 145.9 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1897, allocations: 0 / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1897, allocations: 8 kB / 448 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1897, allocations: 0 / 448 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006036/0.1903, allocations: 406.4 kB / 448.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.1903, allocations: 3.953 kB / 448.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/0.1904, allocations: 23.98 kB / 448.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1904, allocations: 0 / 448.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1905, allocations: 0 / 448.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1905, allocations: 0 / 448.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.1905, allocations: 3.984 kB / 448.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.1908, allocations: 220 kB / 448.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.1909, allocations: 96.91 kB / 448.8 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.1909, allocations: 4 kB / 448.8 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.191, allocations: 15.98 kB / 448.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.1911, allocations: 7.922 kB / 448.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1911, allocations: 4 kB / 448.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.534e-05/0.1912, allocations: 99.27 kB / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1912, allocations: 0 / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.1915, allocations: 35.92 kB / 448.9 MB, free: 6.543 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.001372/0.1929, allocations: 437.9 kB / 449.4 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.1932, allocations: 95.94 kB / 449.5 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1933, allocations: 0 / 449.5 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.1934, allocations: 51.91 kB / 449.5 MB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1938, allocations: 19.73 kB / 449.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.1943, allocations: 209.1 kB / 449.7 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.1947, allocations: 0.6926 MB / 450.4 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.1949, allocations: 11.98 kB / 450.4 MB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.1949, allocations: 11.44 kB / 450.5 MB, free: 5.012 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1949, allocations: 4 kB / 450.5 MB, free: 5.008 MB / 382.1 MB Notification: Performance of Templates: time 0.004799/0.1997, allocations: 1.388 MB / 451.9 MB, free: 3.617 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches