Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test31,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.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_3.2.3_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.0008937/0.0008938, allocations: 102.6 kB / 16.02 MB, free: 76 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.0009333/0.0009333, allocations: 184.5 kB / 16.92 MB, free: 6.688 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.916/1.916, allocations: 205.4 MB / 223.1 MB, free: 5.578 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.5429/0.5429, allocations: 43.57 MB / 315 MB, free: 9.055 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.0004869/0.0004869, allocations: 16 kB / 384.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1741, allocations: 58.86 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002354/0.1765, allocations: 1.337 MB / 444.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1782, allocations: 0.9221 MB / 445.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.852e-05/0.1783, allocations: 8 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1786, allocations: 19.91 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.1788, allocations: 39.84 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.1792, allocations: 139.8 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.1794, allocations: 67.77 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1795, allocations: 24.25 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.1796, allocations: 15.94 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1798, allocations: 31.83 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1798, allocations: 0 / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.18, allocations: 47.92 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.18, allocations: 23.92 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.1801, allocations: 49.5 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1803, allocations: 95.69 kB / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1803, allocations: 0 / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1803, allocations: 0 / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1804, allocations: 0 / 446.3 MB, free: 10.07 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.0005133/0.1809, allocations: 379.3 kB / 446.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1809, allocations: 8.031 kB / 446.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.181, allocations: 12.84 kB / 446.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1812, allocations: 192.2 kB / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1812, allocations: 8.375 kB / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1813, allocations: 384 / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.1815, allocations: 83.52 kB / 446.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1815, allocations: 0 / 446.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1815, allocations: 4 kB / 446.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1815, allocations: 4 kB / 446.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1817, allocations: 39.97 kB / 447 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.1822, allocations: 316.7 kB / 447.3 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1823, allocations: 54.48 kB / 447.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.383e-05/0.1824, allocations: 24.94 kB / 447.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1824, allocations: 8 kB / 447.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1825, allocations: 34.56 kB / 447.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1825, allocations: 0 / 447.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008461/0.1833, allocations: 265.2 kB / 447.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.1834, allocations: 85.05 kB / 447.7 MB, free: 8.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1836, allocations: 133.8 kB / 447.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1836, allocations: 29.7 kB / 447.9 MB, free: 8.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/0.1837, allocations: 92.12 kB / 448 MB, free: 8.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.1838, allocations: 23.66 kB / 448 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1838, allocations: 13.72 kB / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1839, allocations: 322.8 kB / 448.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1841, allocations: 47.97 kB / 448.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.1842, allocations: 65.67 kB / 448.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.1845, allocations: 100.8 kB / 448.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1845, allocations: 0 / 448.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003407/0.1849, allocations: 137.6 kB / 448.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1849, allocations: 11.94 kB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1849, allocations: 4 kB / 448.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.185, allocations: 3.984 kB / 448.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1851, allocations: 23.98 kB / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1851, allocations: 320 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.1852, allocations: 15.94 kB / 448.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1852, allocations: 7.984 kB / 448.8 MB, free: 7.328 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.1853, allocations: 121.8 kB / 448.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1854, allocations: 7.906 kB / 448.9 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.1857, allocations: 161.9 kB / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1858, allocations: 0 / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1858, allocations: 0 / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1858, allocations: 3.938 kB / 449 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.1864, allocations: 418.5 kB / 449.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1864, allocations: 0 / 449.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.139e-05/0.1865, allocations: 23.98 kB / 449.5 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.1865, allocations: 3.938 kB / 449.5 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1865, allocations: 11.86 kB / 449.5 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1865, allocations: 4 kB / 449.5 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1866, allocations: 4 kB / 449.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.1869, allocations: 227.4 kB / 449.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.187, allocations: 93 kB / 449.8 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.187, allocations: 3.938 kB / 449.8 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-05/0.1871, allocations: 15.98 kB / 449.8 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.1872, allocations: 7.984 kB / 449.8 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1872, allocations: 4 kB / 449.8 MB, free: 6.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.753e-05/0.1873, allocations: 110.5 kB / 449.9 MB, free: 6.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1873, allocations: 0 / 449.9 MB, free: 6.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1875, allocations: 24 kB / 450 MB, free: 6.004 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 (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.001089/0.1886, allocations: 455.3 kB / 450.4 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003442/0.189, allocations: 111.9 kB / 450.5 MB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.189, allocations: 0 / 450.5 MB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.1891, allocations: 55.97 kB / 450.6 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.1895, allocations: 23.67 kB / 450.6 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.19, allocations: 229.9 kB / 450.8 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1903, allocations: 0.6926 MB / 451.5 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.1904, allocations: 23.95 kB / 451.5 MB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.1904, allocations: 15.44 kB / 451.6 MB, free: 4.379 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1904, allocations: 4 kB / 451.6 MB, free: 4.375 MB / 382.1 MB Notification: Performance of Templates: time 0.004271/0.1947, allocations: 1.421 MB / 453 MB, free: 2.953 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches