Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008559/0.000856, 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.0009748/0.0009746, allocations: 175.2 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.512/1.512, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.4178/0.4178, allocations: 43.57 MB / 314.6 MB, free: 9.062 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.0006157/0.0006157, allocations: 16 kB / 384 MB, free: 8.223 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1777, allocations: 58.87 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002875/0.1806, allocations: 1.314 MB / 444.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1822, allocations: 0.8909 MB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.1823, allocations: 3.938 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.1826, allocations: 23.92 kB / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.1828, allocations: 31.91 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.1832, allocations: 139.8 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1834, allocations: 59.83 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1835, allocations: 15.98 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.1836, allocations: 31.78 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1838, allocations: 19.92 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1838, allocations: 3.938 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.184, allocations: 47.97 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.184, allocations: 7.984 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.1841, allocations: 37.64 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1843, allocations: 72.11 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.1843, allocations: 3.938 kB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.1843, allocations: 0 / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.1844, allocations: 0 / 445.5 MB, free: 10.53 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.0006748/0.185, allocations: 387.1 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.1851, allocations: 16.02 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.1852, allocations: 11.86 kB / 445.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.1855, allocations: 186.9 kB / 446.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1855, allocations: 0 / 446.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1855, allocations: 8 kB / 446.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.1858, allocations: 79.38 kB / 446.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1858, allocations: 3.984 kB / 446.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1858, allocations: 4 kB / 446.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1858, allocations: 0 / 446.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.186, allocations: 51.92 kB / 446.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.1866, allocations: 300.8 kB / 446.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1868, allocations: 54.56 kB / 446.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.1869, allocations: 24.94 kB / 446.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.882e-05/0.187, allocations: 8.062 kB / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/0.187, allocations: 34.55 kB / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.354e-06/0.1871, allocations: 0 / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009801/0.188, allocations: 265.1 kB / 446.9 MB, free: 8.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.1881, allocations: 77.11 kB / 447 MB, free: 8.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1883, allocations: 137.8 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1883, allocations: 25.7 kB / 447.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.1884, allocations: 104 kB / 447.3 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1884, allocations: 23.64 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.1884, allocations: 4 kB / 447.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1886, allocations: 310.8 kB / 447.6 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1887, allocations: 43.97 kB / 447.6 MB, free: 8.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.1889, allocations: 65.67 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.189, allocations: 51.97 kB / 447.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.189, allocations: 4.031 kB / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000303/0.1894, allocations: 137.5 kB / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.1894, allocations: 7.953 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.1894, allocations: 4 kB / 447.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1894, allocations: 3.938 kB / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1896, allocations: 27.92 kB / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.1896, allocations: 0 / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.1897, allocations: 15.98 kB / 447.9 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1897, allocations: 0 / 447.9 MB, free: 7.867 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.0001367/0.1898, allocations: 125.8 kB / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.1899, allocations: 7.906 kB / 448.1 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.1903, allocations: 157.9 kB / 448.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1903, allocations: 0 / 448.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1903, allocations: 288 / 448.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1903, allocations: 0 / 448.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.191, allocations: 422.4 kB / 448.6 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.191, allocations: 11.94 kB / 448.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.148e-05/0.1911, allocations: 23.97 kB / 448.7 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1911, allocations: 0 / 448.7 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1911, allocations: 0 / 448.7 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1911, allocations: 8 kB / 448.7 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1911, allocations: 0 / 448.7 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.1915, allocations: 239.8 kB / 448.9 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.1915, allocations: 88.97 kB / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1916, allocations: 0 / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.1917, allocations: 19.98 kB / 449 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.1917, allocations: 7.922 kB / 449 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.1918, allocations: 4 kB / 449 MB, free: 6.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.475e-05/0.1919, allocations: 111.1 kB / 449.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1919, allocations: 0 / 449.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1921, allocations: 27.98 kB / 449.2 MB, free: 6.535 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.001123/0.1933, allocations: 434.7 kB / 449.6 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.1936, allocations: 107.9 kB / 449.7 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1936, allocations: 0 / 449.7 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1938, allocations: 59.95 kB / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.1942, allocations: 19.75 kB / 449.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.1948, allocations: 229 kB / 450 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.1953, allocations: 0.7004 MB / 450.7 MB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1954, allocations: 15.98 kB / 450.7 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.1955, allocations: 19.42 kB / 450.7 MB, free: 4.941 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1955, allocations: 4 kB / 450.7 MB, free: 4.938 MB / 382.1 MB Notification: Performance of Templates: time 0.005098/0.2006, allocations: 1.413 MB / 452.2 MB, free: 3.523 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches