Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") 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: 96.7 kB / 15.7 MB, free: 468 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.001208/0.001208, allocations: 177.1 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.275/2.275, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.5126/0.5126, allocations: 43.58 MB / 314.6 MB, free: 8.75 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.0006024/0.0006024, allocations: 18.97 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1812, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002692/0.1839, allocations: 1.352 MB / 444.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1854, allocations: 0.7266 MB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.511e-05/0.1855, allocations: 4 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.1859, allocations: 59.8 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.1862, allocations: 55.81 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.1864, allocations: 75.84 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1866, allocations: 75.77 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.1867, allocations: 15.95 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.807e-05/0.1868, allocations: 43.72 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1869, allocations: 39.84 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.187, allocations: 0 / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.46e-05/0.1871, allocations: 23.98 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.1871, allocations: 23.91 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.1872, allocations: 37.64 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1874, allocations: 72.12 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.1874, allocations: 7.984 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1874, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1874, 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006907/0.1881, allocations: 390.8 kB / 445.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.371e-05/0.1882, allocations: 8.031 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.1882, allocations: 7.906 kB / 445.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.1885, allocations: 206.8 kB / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1886, allocations: 11.94 kB / 446 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.1886, allocations: 3.984 kB / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1887, allocations: 45.69 kB / 446.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1887, allocations: 0 / 446.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1888, allocations: 0 / 446.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.1888, allocations: 3.953 kB / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.1889, allocations: 15.98 kB / 446.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.1891, allocations: 177.7 kB / 446.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1893, allocations: 66.48 kB / 446.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.1893, allocations: 16.86 kB / 446.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.1894, allocations: 0 / 446.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.1896, allocations: 67.38 kB / 446.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1896, allocations: 0 / 446.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000281/0.1899, allocations: 97.52 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1899, allocations: 55.36 kB / 446.6 MB, free: 9.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1901, allocations: 182.2 kB / 446.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1902, allocations: 29.7 kB / 446.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.1902, allocations: 96.14 kB / 446.9 MB, free: 8.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.1903, allocations: 15.8 kB / 446.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.1903, allocations: 0 / 446.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.1905, allocations: 318.8 kB / 447.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.1906, allocations: 19.98 kB / 447.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.369e-05/0.1906, allocations: 29.7 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.316e-05/0.1907, allocations: 16 kB / 447.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1907, allocations: 0 / 447.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001684/0.1909, allocations: 77.53 kB / 447.3 MB, free: 8.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1909, allocations: 4 kB / 447.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1909, allocations: 4 kB / 447.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1909, allocations: 3.984 kB / 447.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.191, allocations: 16.03 kB / 447.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1911, allocations: 3.953 kB / 447.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.1911, allocations: 7.906 kB / 447.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1911, allocations: 4 kB / 447.4 MB, free: 8.199 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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.0001362/0.1913, allocations: 129.8 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.1913, allocations: 7.906 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.1914, allocations: 12.62 kB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1914, allocations: 7.922 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1914, allocations: 4 kB / 447.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.1914, allocations: 11.94 kB / 447.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1916, allocations: 189.6 kB / 447.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1916, allocations: 0 / 447.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.1916, allocations: 4 kB / 447.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1916, allocations: 0 / 447.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1916, allocations: 0 / 447.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1917, allocations: 0 / 447.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1917, allocations: 4 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.1919, allocations: 116.9 kB / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.1919, allocations: 88.91 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.192, allocations: 4 kB / 448 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.155e-05/0.192, allocations: 0 / 448 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.1921, allocations: 15.92 kB / 448 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1921, allocations: 0 / 448 MB, free: 7.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1922, allocations: 140.1 kB / 448.1 MB, free: 7.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1922, allocations: 0 / 448.1 MB, free: 7.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.1925, allocations: 19.98 kB / 448.1 MB, free: 7.367 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001102/0.1936, allocations: 413.3 kB / 448.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.1937, allocations: 35.92 kB / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1938, allocations: 0 / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.786e-05/0.1938, allocations: 19.98 kB / 448.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1941, allocations: 31.88 kB / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.1946, allocations: 205.3 kB / 448.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.195, allocations: 0.7004 MB / 449.5 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.474e-05/0.1951, allocations: 20.41 kB / 449.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.1951, allocations: 15.42 kB / 449.6 MB, free: 5.918 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1951, allocations: 0 / 449.6 MB, free: 5.918 MB / 382.1 MB Notification: Performance of Templates: time 0.004314/0.1995, allocations: 1.372 MB / 450.9 MB, free: 4.547 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches