Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008901/0.0008901, allocations: 103.1 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.001009/0.001009, allocations: 185.3 kB / 16.92 MB, free: 6.918 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.92/1.92, allocations: 205.4 MB / 223.1 MB, free: 5.77 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.4827/0.4827, allocations: 43.57 MB / 315 MB, free: 8.672 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.0005961/0.0005958, allocations: 12 kB / 384.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1776, allocations: 58.87 MB / 443.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003071/0.1807, allocations: 1.414 MB / 444.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1825, allocations: 0.773 MB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1827, allocations: 3.938 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.1832, allocations: 31.89 kB / 445.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.1835, allocations: 47.83 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.1838, allocations: 71.86 kB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.1841, allocations: 95.69 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1842, allocations: 12.22 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1843, allocations: 39.78 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.1844, allocations: 31.78 kB / 446 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1845, allocations: 0 / 446 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.1846, allocations: 35.98 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.1847, allocations: 23.92 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.698e-05/0.1848, allocations: 57.45 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.185, allocations: 108 kB / 446.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1851, allocations: 0 / 446.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1851, allocations: 0 / 446.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.1851, allocations: 0 / 446.2 MB, free: 9.93 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.0006632/0.1858, allocations: 391 kB / 446.6 MB, free: 9.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.1858, allocations: 8.031 kB / 446.6 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.1859, allocations: 12.75 kB / 446.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1862, allocations: 216.1 kB / 446.8 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.1862, allocations: 384 / 446.8 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1863, allocations: 8.125 kB / 446.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1865, allocations: 53.67 kB / 446.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1865, allocations: 3.938 kB / 446.9 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1865, allocations: 0 / 446.9 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1865, allocations: 0 / 446.9 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.793e-05/0.1866, allocations: 27.92 kB / 446.9 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.1871, allocations: 280.9 kB / 447.2 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.1873, allocations: 54.69 kB / 447.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.165e-05/0.1874, allocations: 20.84 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.1874, allocations: 0 / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.1876, allocations: 79.33 kB / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.1876, allocations: 0 / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006378/0.1883, allocations: 173.2 kB / 447.5 MB, free: 8.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1883, allocations: 55.41 kB / 447.5 MB, free: 8.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1885, allocations: 170.2 kB / 447.7 MB, free: 8.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1886, allocations: 25.7 kB / 447.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.1886, allocations: 100.1 kB / 447.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.1887, allocations: 27.64 kB / 447.9 MB, free: 8.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.1887, allocations: 17.72 kB / 447.9 MB, free: 8.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1889, allocations: 326.8 kB / 448.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/0.1889, allocations: 23.92 kB / 448.2 MB, free: 7.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.189, allocations: 33.72 kB / 448.3 MB, free: 7.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1891, allocations: 65.7 kB / 448.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1891, allocations: 0 / 448.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.1893, allocations: 101.5 kB / 448.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1894, allocations: 8 kB / 448.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1894, allocations: 0 / 448.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.1894, allocations: 3.984 kB / 448.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1895, allocations: 12 kB / 448.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1895, allocations: 4 kB / 448.4 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.1896, allocations: 11.92 kB / 448.5 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.1896, allocations: 4 kB / 448.5 MB, free: 7.422 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.0001272/0.1898, allocations: 125.7 kB / 448.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.1898, allocations: 11.81 kB / 448.6 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.1899, allocations: 20.7 kB / 448.6 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1899, allocations: 4 kB / 448.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1899, allocations: 0 / 448.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1899, allocations: 3.938 kB / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.1904, allocations: 383.5 kB / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1904, allocations: 0 / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.1904, allocations: 19.91 kB / 449 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1904, allocations: 0 / 449 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1904, allocations: 11.92 kB / 449 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1905, allocations: 0 / 449 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1905, allocations: 0 / 449 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1907, allocations: 200.3 kB / 449.2 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1908, allocations: 89.02 kB / 449.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1908, allocations: 15.92 kB / 449.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.1909, allocations: 0 / 449.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.1909, allocations: 4 kB / 449.3 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.191, allocations: 11.98 kB / 449.3 MB, free: 6.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1911, allocations: 135.9 kB / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1911, allocations: 0 / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1914, allocations: 27.91 kB / 449.5 MB, free: 6.281 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.001233/0.1926, allocations: 486 kB / 450 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.1928, allocations: 55.91 kB / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1929, allocations: 0 / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.392e-05/0.1929, allocations: 36.05 kB / 450.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1933, allocations: 19.98 kB / 450.1 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.1939, allocations: 234.1 kB / 450.3 MB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1942, allocations: 0.7082 MB / 451 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.012e-05/0.1943, allocations: 12.88 kB / 451 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.1943, allocations: 19.44 kB / 451.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1943, allocations: 3.938 kB / 451.1 MB, free: 4.688 MB / 382.1 MB Notification: Performance of Templates: time 0.004839/0.1992, allocations: 1.604 MB / 452.7 MB, free: 3.086 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches