Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 96.14 kB / 15.87 MB, free: 16 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.002761/0.002762, allocations: 204.5 kB / 16.79 MB, free: 6.84 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.822/1.822, allocations: 205.1 MB / 222.6 MB, free: 4.98 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.4689/0.4689, allocations: 43.5 MB / 313.5 MB, free: 8.383 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.001685/0.001685, allocations: 67.91 kB / 382 MB, free: 8.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1686, allocations: 57.79 MB / 439.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.004491/0.1731, allocations: 1.752 MB / 441.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1749, allocations: 0.7924 MB / 442.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1751, allocations: 3.938 kB / 442.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005086/0.1756, allocations: 75.83 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.176, allocations: 63.78 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.1764, allocations: 79.86 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.1766, allocations: 99.67 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1768, allocations: 24.2 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.177, allocations: 43.78 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1771, allocations: 59.75 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.1772, allocations: 0 / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.1773, allocations: 39.98 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.1774, allocations: 23.91 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.803e-05/0.1775, allocations: 35.75 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.1778, allocations: 115.8 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1779, allocations: 4 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1779, allocations: 0 / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1779, allocations: 0 / 443 MB, free: 11.68 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.0008458/0.1787, allocations: 422.9 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.1788, allocations: 8.031 kB / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.1789, allocations: 12.75 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.1793, allocations: 216 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1793, allocations: 4.375 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.1793, allocations: 8.125 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.1796, allocations: 53.67 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1796, allocations: 0 / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.1796, allocations: 11.98 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1796, allocations: 0 / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1798, allocations: 19.92 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.1803, allocations: 288.8 kB / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.1806, allocations: 66.61 kB / 444.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.1807, allocations: 20.84 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.1807, allocations: 0 / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.1811, allocations: 75.33 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.552e-06/0.1811, allocations: 0 / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000744/0.1818, allocations: 173.1 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.1819, allocations: 55.41 kB / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.1822, allocations: 210.4 kB / 444.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1822, allocations: 29.7 kB / 444.7 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.1823, allocations: 104.1 kB / 444.8 MB, free: 9.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.1824, allocations: 27.62 kB / 444.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.1824, allocations: 25.72 kB / 444.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1826, allocations: 326.8 kB / 445.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.1827, allocations: 27.98 kB / 445.2 MB, free: 9.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-05/0.1828, allocations: 33.7 kB / 445.2 MB, free: 9.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.1829, allocations: 57.66 kB / 445.3 MB, free: 9.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1829, allocations: 0 / 445.3 MB, free: 9.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002408/0.1832, allocations: 101.5 kB / 445.4 MB, free: 9.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1832, allocations: 8 kB / 445.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1832, allocations: 3.969 kB / 445.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1833, allocations: 4 kB / 445.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1834, allocations: 15.98 kB / 445.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1834, allocations: 4 kB / 445.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.1835, allocations: 3.938 kB / 445.4 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1835, allocations: 8 kB / 445.4 MB, free: 9.07 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.0001291/0.1837, allocations: 129.8 kB / 445.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.1837, allocations: 7.906 kB / 445.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.1838, allocations: 13.59 kB / 445.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1838, allocations: 8 kB / 445.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1838, allocations: 3.938 kB / 445.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.1838, allocations: 7.922 kB / 445.6 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.1845, allocations: 395.2 kB / 446 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1845, allocations: 0 / 446 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.1845, allocations: 15.94 kB / 446 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1845, allocations: 0 / 446 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1846, allocations: 7.938 kB / 446 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1846, allocations: 12.33 kB / 446 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1846, allocations: 0 / 446 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.1849, allocations: 200.3 kB / 446.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.185, allocations: 88.92 kB / 446.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.1851, allocations: 7.938 kB / 446.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1852, allocations: 4 kB / 446.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.1853, allocations: 11.98 kB / 446.3 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.1853, allocations: 8 kB / 446.3 MB, free: 8.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.1855, allocations: 160.2 kB / 446.5 MB, free: 7.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1855, allocations: 3.938 kB / 446.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.1858, allocations: 23.98 kB / 446.5 MB, free: 7.879 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.001133/0.187, allocations: 465.3 kB / 446.9 MB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1872, allocations: 55.97 kB / 447 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1872, allocations: 3.938 kB / 447 MB, free: 7.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.426e-05/0.1873, allocations: 27.98 kB / 447 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1876, allocations: 31.91 kB / 447.1 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006547/0.1883, allocations: 268.8 kB / 447.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.1888, allocations: 0.7082 MB / 448 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.246e-05/0.1889, allocations: 20.86 kB / 448 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.1889, allocations: 15.44 kB / 448.1 MB, free: 6.281 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1889, allocations: 0 / 448.1 MB, free: 6.281 MB / 382.1 MB Notification: Performance of Templates: time 0.006494/0.1955, allocations: 1.642 MB / 449.7 MB, free: 4.641 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches