Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01113/0.01113, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.002093/0.002094, allocations: 191.7 kB / 16.79 MB, free: 6.238 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.758/1.758, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.4799/0.4799, allocations: 43.5 MB / 313.5 MB, free: 8.512 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.001567/0.001567, allocations: 70.56 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1786, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003413/0.1821, allocations: 1.752 MB / 441.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1835, allocations: 0.8001 MB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.1836, allocations: 4 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.1839, allocations: 39.88 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.1841, allocations: 55.81 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.1844, allocations: 75.86 kB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1845, allocations: 91.75 kB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1846, allocations: 16.2 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.241e-05/0.1847, allocations: 39.73 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.1848, allocations: 39.77 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1848, allocations: 4 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.1849, allocations: 32 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.185, allocations: 23.91 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.1851, allocations: 39.73 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1853, allocations: 123.8 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1853, allocations: 0 / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1853, allocations: 0 / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1853, allocations: 0 / 443 MB, free: 11.7 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.0006244/0.186, allocations: 426.8 kB / 443.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.186, allocations: 8.031 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.1861, allocations: 16.83 kB / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1863, allocations: 212 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.1864, allocations: 4.375 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.1864, allocations: 8.125 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1866, allocations: 61.61 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1867, allocations: 3.984 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1867, allocations: 0 / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1867, allocations: 0 / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9e-05/0.1868, allocations: 19.98 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.1873, allocations: 300.8 kB / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1875, allocations: 58.61 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.1876, allocations: 20.86 kB / 444.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.1877, allocations: 0 / 444.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.1879, allocations: 67.39 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1879, allocations: 4 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005979/0.1885, allocations: 173.1 kB / 444.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1886, allocations: 51.41 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1888, allocations: 222.7 kB / 444.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1888, allocations: 25.7 kB / 444.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.1889, allocations: 108.1 kB / 444.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1889, allocations: 27.59 kB / 444.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.189, allocations: 29.7 kB / 444.8 MB, free: 9.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1891, allocations: 326.8 kB / 445.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.044e-05/0.1892, allocations: 23.98 kB / 445.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.1892, allocations: 37.64 kB / 445.1 MB, free: 9.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1894, allocations: 61.7 kB / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1894, allocations: 0 / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.1895, allocations: 105.4 kB / 445.3 MB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1896, allocations: 8 kB / 445.3 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1896, allocations: 0 / 445.3 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1896, allocations: 0 / 445.3 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.1897, allocations: 19.97 kB / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1897, allocations: 4 kB / 445.3 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.1898, allocations: 7.938 kB / 445.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1898, allocations: 4.188 kB / 445.3 MB, free: 9.062 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.0001157/0.1899, allocations: 129.8 kB / 445.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.1899, allocations: 19.88 kB / 445.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.19, allocations: 17.41 kB / 445.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.19, allocations: 0 / 445.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.19, allocations: 384 / 445.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.19, allocations: 7.922 kB / 445.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.1905, allocations: 403.2 kB / 445.9 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1905, allocations: 0 / 445.9 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.1905, allocations: 8 kB / 445.9 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1905, allocations: 4.031 kB / 445.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1906, allocations: 7.922 kB / 445.9 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1906, allocations: 4 kB / 445.9 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1906, allocations: 0 / 445.9 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1908, allocations: 196.5 kB / 446.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.1909, allocations: 92.86 kB / 446.2 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.1909, allocations: 7.938 kB / 446.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.191, allocations: 8 kB / 446.2 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.191, allocations: 7.984 kB / 446.2 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1911, allocations: 4 kB / 446.2 MB, free: 8.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1912, allocations: 172.3 kB / 446.4 MB, free: 7.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.492e-06/0.1912, allocations: 0 / 446.4 MB, free: 7.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1915, allocations: 27.94 kB / 446.4 MB, free: 7.859 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.001051/0.1925, allocations: 461 kB / 446.9 MB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1927, allocations: 63.91 kB / 447 MB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1927, allocations: 0 / 447 MB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/0.1928, allocations: 23.98 kB / 447 MB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1932, allocations: 35.98 kB / 447 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.1937, allocations: 296.5 kB / 447.3 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.194, allocations: 0.7082 MB / 448 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.897e-05/0.1941, allocations: 13.19 kB / 448 MB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.1941, allocations: 19.44 kB / 448 MB, free: 6.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1941, allocations: 0 / 448 MB, free: 6.242 MB / 382.1 MB Notification: Performance of Templates: time 0.004437/0.1986, allocations: 1.65 MB / 449.7 MB, free: 4.594 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches