Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.00114, 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.001211/0.001211, allocations: 203.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.992/1.992, allocations: 205.1 MB / 222.6 MB, free: 4.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.4595/0.4595, allocations: 43.51 MB / 313.5 MB, free: 8.465 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.001581/0.001581, allocations: 75.11 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1727, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.004274/0.1771, allocations: 1.756 MB / 441.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1786, allocations: 0.7924 MB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.1787, allocations: 4 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.1792, allocations: 71.83 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.1794, allocations: 71.72 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1796, allocations: 75.86 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1798, allocations: 103.7 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1799, allocations: 20.2 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.642e-05/0.18, allocations: 51.77 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1802, allocations: 51.83 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1802, allocations: 0 / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1803, allocations: 39.97 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.1804, allocations: 27.86 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.1804, allocations: 35.69 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1807, allocations: 119.8 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1807, allocations: 0 / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1807, allocations: 0 / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1807, allocations: 0 / 443 MB, free: 11.62 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.0006505/0.1814, allocations: 423 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1814, allocations: 8.031 kB / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.1815, allocations: 16.75 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1817, allocations: 212.1 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1818, allocations: 8.297 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1818, allocations: 4.125 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.182, allocations: 57.67 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.182, allocations: 0 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.182, allocations: 4 kB / 443.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.182, allocations: 0 / 443.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.943e-05/0.1821, allocations: 19.98 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.1826, allocations: 288.8 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1828, allocations: 62.55 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.775e-05/0.1829, allocations: 20.86 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.1829, allocations: 4 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.1831, allocations: 63.39 kB / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1831, allocations: 0 / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006187/0.1837, allocations: 181.1 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1838, allocations: 55.41 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.184, allocations: 214.3 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.184, allocations: 25.7 kB / 444.7 MB, free: 9.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.1841, allocations: 108.1 kB / 444.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.1842, allocations: 23.66 kB / 444.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.1842, allocations: 17.72 kB / 444.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1843, allocations: 334.8 kB / 445.1 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/0.1844, allocations: 19.94 kB / 445.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.1845, allocations: 41.7 kB / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1846, allocations: 57.7 kB / 445.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1846, allocations: 384 / 445.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.1848, allocations: 101.4 kB / 445.4 MB, free: 9.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1848, allocations: 8 kB / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1848, allocations: 192 / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1848, allocations: 3.984 kB / 445.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-05/0.1849, allocations: 27.97 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.185, allocations: 0 / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.185, allocations: 3.938 kB / 445.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.185, allocations: 4 kB / 445.4 MB, free: 9.016 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.0001199/0.1852, allocations: 137.7 kB / 445.5 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.1852, allocations: 7.906 kB / 445.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.1852, allocations: 21.39 kB / 445.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1852, allocations: 0 / 445.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1853, allocations: 0 / 445.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1853, allocations: 7.938 kB / 445.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.1857, allocations: 399.4 kB / 446 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1858, allocations: 0 / 446 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.1858, allocations: 11.98 kB / 446 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1858, allocations: 4 kB / 446 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.1858, allocations: 3.938 kB / 446 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1858, allocations: 3.938 kB / 446 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1858, allocations: 0 / 446 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1861, allocations: 212.2 kB / 446.2 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.1862, allocations: 88.92 kB / 446.3 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.1862, allocations: 15.92 kB / 446.3 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/0.1863, allocations: 0 / 446.3 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.1863, allocations: 4 kB / 446.3 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1864, allocations: 7.984 kB / 446.3 MB, free: 8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1865, allocations: 164.2 kB / 446.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1865, allocations: 0 / 446.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1868, allocations: 20 kB / 446.5 MB, free: 7.82 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.001203/0.188, allocations: 472.9 kB / 446.9 MB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1882, allocations: 59.91 kB / 447 MB, free: 7.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1882, allocations: 0 / 447 MB, free: 7.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.1883, allocations: 31.92 kB / 447 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1886, allocations: 27.92 kB / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.1893, allocations: 260.9 kB / 447.3 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.1898, allocations: 0.7121 MB / 448 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.35e-05/0.1899, allocations: 21.19 kB / 448.1 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.1899, allocations: 19.42 kB / 448.1 MB, free: 6.215 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1899, allocations: 0 / 448.1 MB, free: 6.215 MB / 382.1 MB Notification: Performance of Templates: time 0.004976/0.1949, allocations: 1.638 MB / 449.7 MB, free: 4.578 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches