Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009796/0.0009795, allocations: 103.3 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.001103/0.001103, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.15/2.15, allocations: 205.4 MB / 223.1 MB, free: 5.777 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.5186/0.5186, allocations: 43.58 MB / 315 MB, free: 8.664 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.0006906/0.0006914, allocations: 12.38 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1738, allocations: 58.88 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002523/0.1764, allocations: 1.414 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1779, allocations: 0.7652 MB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.178, allocations: 3.938 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.1784, allocations: 51.88 kB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1786, allocations: 55.81 kB / 445.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1789, allocations: 75.84 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.1791, allocations: 99.69 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1793, allocations: 16.2 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.992e-05/0.1794, allocations: 39.73 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.1795, allocations: 35.84 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1795, allocations: 0 / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1796, allocations: 39.97 kB / 446.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.1797, allocations: 27.86 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.931e-05/0.1798, allocations: 61.39 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.18, allocations: 135.8 kB / 446.3 MB, free: 9.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1801, allocations: 7.938 kB / 446.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1801, allocations: 0 / 446.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1801, allocations: 0 / 446.3 MB, free: 9.836 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.0006522/0.1807, allocations: 418.9 kB / 446.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.1808, allocations: 12.03 kB / 446.7 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.1809, allocations: 12.75 kB / 446.7 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1811, allocations: 219.8 kB / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.1812, allocations: 384 / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1812, allocations: 4.125 kB / 446.9 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1814, allocations: 65.61 kB / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1814, allocations: 0 / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1814, allocations: 0 / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1814, allocations: 0 / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.1815, allocations: 19.98 kB / 447 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.182, allocations: 296.9 kB / 447.3 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1821, allocations: 62.62 kB / 447.4 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.1822, allocations: 20.84 kB / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1822, allocations: 3.984 kB / 447.4 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.1825, allocations: 67.39 kB / 447.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 4.609e-06/0.1825, allocations: 0 / 447.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006194/0.1831, allocations: 192.9 kB / 447.6 MB, free: 8.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1832, allocations: 51.41 kB / 447.7 MB, free: 8.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.1834, allocations: 259.7 kB / 447.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1835, allocations: 25.7 kB / 448 MB, free: 7.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.1836, allocations: 112.1 kB / 448.1 MB, free: 7.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.1836, allocations: 23.66 kB / 448.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.1836, allocations: 21.7 kB / 448.1 MB, free: 7.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1838, allocations: 326.8 kB / 448.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.905e-05/0.1838, allocations: 27.98 kB / 448.5 MB, free: 7.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.1839, allocations: 37.64 kB / 448.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.184, allocations: 57.78 kB / 448.6 MB, free: 7.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1841, allocations: 0 / 448.6 MB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001887/0.1843, allocations: 109.4 kB / 448.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1843, allocations: 8 kB / 448.7 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1843, allocations: 384 / 448.7 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1843, allocations: 4.031 kB / 448.7 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.1844, allocations: 16.17 kB / 448.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1844, allocations: 4 kB / 448.7 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.265e-05/0.1845, allocations: 15.88 kB / 448.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1845, allocations: 4 kB / 448.7 MB, free: 7.148 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.0001183/0.1846, allocations: 141.4 kB / 448.9 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.1847, allocations: 11.81 kB / 448.9 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.1847, allocations: 21.39 kB / 448.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1847, allocations: 8 kB / 448.9 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1847, allocations: 0 / 448.9 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1848, allocations: 3.938 kB / 448.9 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.1852, allocations: 399.3 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1852, allocations: 0 / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.1853, allocations: 12 kB / 449.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1853, allocations: 0 / 449.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1853, allocations: 7.938 kB / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1853, allocations: 4.031 kB / 449.3 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1853, allocations: 0 / 449.3 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1855, allocations: 196.2 kB / 449.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.1856, allocations: 100.8 kB / 449.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1856, allocations: 7.938 kB / 449.6 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.1857, allocations: 7.938 kB / 449.6 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1858, allocations: 11.98 kB / 449.6 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1858, allocations: 4 kB / 449.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.186, allocations: 199 kB / 449.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.186, allocations: 0 / 449.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1863, allocations: 27.98 kB / 449.9 MB, free: 5.906 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.001177/0.1874, allocations: 465 kB / 450.3 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.1876, allocations: 59.91 kB / 450.4 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1876, allocations: 3.938 kB / 450.4 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.035e-05/0.1877, allocations: 27.98 kB / 450.4 MB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1881, allocations: 27.97 kB / 450.4 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.1886, allocations: 319 kB / 450.7 MB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.189, allocations: 0.72 MB / 451.5 MB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.189, allocations: 16.88 kB / 451.5 MB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.1891, allocations: 19.42 kB / 451.5 MB, free: 4.234 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1891, allocations: 0 / 451.5 MB, free: 4.234 MB / 382.1 MB Notification: Performance of Templates: time 0.004822/0.1939, allocations: 1.636 MB / 453.1 MB, free: 2.602 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches