Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008095/0.00081, 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.0009812/0.0009811, allocations: 176.2 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.114/2.114, 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.5099/0.5099, allocations: 43.58 MB / 314.6 MB, free: 8.957 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.000633/0.0006334, allocations: 26.97 kB / 384 MB, free: 8.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1811, allocations: 58.86 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002403/0.1836, allocations: 1.387 MB / 444.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1848, allocations: 0.7461 MB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.1849, allocations: 3.938 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.1852, allocations: 35.89 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.1854, allocations: 47.83 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1857, allocations: 63.84 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1859, allocations: 87.69 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1861, allocations: 8.219 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1862, allocations: 39.8 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1863, allocations: 35.83 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.1864, allocations: 4 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1865, allocations: 28 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.1866, allocations: 19.92 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.1866, allocations: 41.62 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1869, allocations: 92.08 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1869, allocations: 0 / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1869, allocations: 0 / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1869, allocations: 0 / 445.5 MB, free: 10.59 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.000733/0.1876, allocations: 402.8 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.1877, allocations: 8.031 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.1878, allocations: 7.906 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.1881, allocations: 214.7 kB / 446.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.1881, allocations: 4 kB / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.1881, allocations: 0 / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1883, allocations: 53.67 kB / 446.1 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1884, allocations: 0 / 446.1 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1884, allocations: 0 / 446.1 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1884, allocations: 11.95 kB / 446.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.364e-05/0.1885, allocations: 15.98 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.189, allocations: 288.9 kB / 446.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1892, allocations: 50.67 kB / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.1893, allocations: 16.86 kB / 446.5 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.1893, allocations: 8 kB / 446.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.1896, allocations: 71.25 kB / 446.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.1896, allocations: 0 / 446.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006152/0.1902, allocations: 169.3 kB / 446.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.1903, allocations: 51.41 kB / 446.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1905, allocations: 186.1 kB / 447 MB, free: 8.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.1905, allocations: 41.64 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.1906, allocations: 104.1 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.1906, allocations: 19.72 kB / 447.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.1907, allocations: 0 / 447.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1908, allocations: 326.8 kB / 447.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-05/0.1909, allocations: 19.98 kB / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.191, allocations: 33.7 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.834e-05/0.191, allocations: 27.98 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1911, allocations: 0 / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.1912, allocations: 105.5 kB / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1913, allocations: 8 kB / 447.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1913, allocations: 0 / 447.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1913, allocations: 4.312 kB / 447.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.1914, allocations: 15.98 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1914, allocations: 4.156 kB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.1915, allocations: 4 kB / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1915, allocations: 12.03 kB / 447.7 MB, free: 8.121 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 (10): * Single equations (assignments): 10 * 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.0001398/0.1917, allocations: 125.8 kB / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1917, allocations: 15.84 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.1917, allocations: 20.7 kB / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1918, allocations: 0 / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1918, allocations: 0 / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1918, allocations: 0 / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.1923, allocations: 403.2 kB / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1923, allocations: 0 / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.1923, allocations: 11.98 kB / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.1924, allocations: 0 / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1924, allocations: 0 / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1924, allocations: 4 kB / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1924, allocations: 0 / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1927, allocations: 204.3 kB / 448.5 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.1927, allocations: 100.9 kB / 448.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.1928, allocations: 0 / 448.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.1929, allocations: 7.984 kB / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1929, allocations: 3.984 kB / 448.6 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1929, allocations: 4.188 kB / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1931, allocations: 148 kB / 448.7 MB, free: 6.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1931, allocations: 7.938 kB / 448.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1934, allocations: 24 kB / 448.8 MB, free: 6.961 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 (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.00118/0.1945, allocations: 460.4 kB / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1947, allocations: 67.91 kB / 449.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1948, allocations: 0 / 449.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.1948, allocations: 23.98 kB / 449.3 MB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1952, allocations: 27.97 kB / 449.3 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.1957, allocations: 238.4 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1961, allocations: 0.7043 MB / 450.3 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.741e-05/0.1961, allocations: 21.17 kB / 450.3 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.1962, allocations: 15.44 kB / 450.3 MB, free: 5.395 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1962, allocations: 4 kB / 450.3 MB, free: 5.391 MB / 382.1 MB Notification: Performance of Templates: time 0.004656/0.2008, allocations: 1.579 MB / 451.9 MB, free: 3.812 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches