Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 110.9 kB / 16.41 MB, free: 6.5 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.001241/0.001241, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.532/1.532, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2914/0.2914, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 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.001693/0.001693, allocations: 75.89 kB / 441.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1773, allocations: 57.8 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003439/0.1808, allocations: 1.685 MB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1822, allocations: 0.8039 MB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.1823, allocations: 0 / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.1827, allocations: 35.78 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.183, allocations: 47.77 kB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1832, allocations: 95.69 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.1835, allocations: 95.69 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1836, allocations: 20.2 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-05/0.1837, allocations: 39.8 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1838, allocations: 27.84 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1839, allocations: 4 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.184, allocations: 39.98 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.465e-05/0.1841, allocations: 19.92 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.1842, allocations: 35.69 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.1844, allocations: 111.6 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1844, allocations: 3.938 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1844, allocations: 0 / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.1845, allocations: 4 kB / 0.491 GB, free: 8.645 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007731/0.1852, allocations: 410.3 kB / 0.4913 GB, free: 8.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.1853, allocations: 11.89 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.1854, allocations: 12.89 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.1857, allocations: 208 kB / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1858, allocations: 8.375 kB / 0.4916 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.1858, allocations: 4.125 kB / 0.4916 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.186, allocations: 61.61 kB / 0.4916 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.186, allocations: 3.953 kB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.186, allocations: 0 / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1861, allocations: 4 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.379e-05/0.1862, allocations: 15.98 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.1867, allocations: 280.9 kB / 0.4919 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1869, allocations: 66.61 kB / 0.492 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.1869, allocations: 16.86 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.187, allocations: 7.984 kB / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.1872, allocations: 67.39 kB / 0.4921 GB, free: 7.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1872, allocations: 0 / 0.4921 GB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000642/0.1879, allocations: 177.3 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.1879, allocations: 59.34 kB / 0.4923 GB, free: 7.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1882, allocations: 174.2 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1882, allocations: 25.7 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.1883, allocations: 96.14 kB / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.1883, allocations: 31.72 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.1884, allocations: 25.72 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1885, allocations: 326.8 kB / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.1886, allocations: 19.98 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.1887, allocations: 41.64 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1888, allocations: 53.72 kB / 0.4931 GB, free: 6.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1888, allocations: 0 / 0.4931 GB, free: 6.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.189, allocations: 109.6 kB / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1891, allocations: 4 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1891, allocations: 0 / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1891, allocations: 4 kB / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1892, allocations: 24.02 kB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1892, allocations: 0 / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.1893, allocations: 7.938 kB / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1893, allocations: 0 / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001337/0.1894, allocations: 137.4 kB / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.1895, allocations: 11.95 kB / 0.4933 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.1895, allocations: 12.72 kB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1895, allocations: 0 / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1895, allocations: 4 kB / 0.4934 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1896, allocations: 3.938 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.1901, allocations: 387.3 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1901, allocations: 4 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.1902, allocations: 7.984 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1902, allocations: 4 kB / 0.4938 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1902, allocations: 7.938 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1902, allocations: 0 / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1902, allocations: 4.375 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1905, allocations: 200.3 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.1905, allocations: 93 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.1906, allocations: 15.92 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.1906, allocations: 0 / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.1907, allocations: 4 kB / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1907, allocations: 7.984 kB / 0.4941 GB, free: 5.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.1909, allocations: 136.1 kB / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1909, allocations: 0 / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1911, allocations: 20.19 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001245/0.1924, allocations: 467.1 kB / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1926, allocations: 55.92 kB / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1927, allocations: 0 / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.1927, allocations: 35.92 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.1931, allocations: 20.91 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.1937, allocations: 214.7 kB / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.1943, allocations: 0.7001 MB / 0.4957 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.188e-05/0.1944, allocations: 16.86 kB / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.1944, allocations: 23.42 kB / 0.4957 GB, free: 3.422 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1944, allocations: 0 / 0.4957 GB, free: 3.422 MB / 382.1 MB Notification: Performance of Templates: time 0.00496/0.1994, allocations: 1.696 MB / 0.4974 GB, free: 1.73 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches