Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 108.2 kB / 18.39 MB, free: 4.758 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.001061/0.001061, allocations: 182.9 kB / 19.32 MB, free: 3.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 222.9 MB / 243 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2992/0.2992, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 67.58 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1643, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.005127/0.1695, allocations: 1.887 MB / 472.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1716, allocations: 0.9938 MB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1718, allocations: 4 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000591/0.1724, allocations: 219.4 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.1729, allocations: 163.5 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.1736, allocations: 182.4 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.1739, allocations: 239.3 kB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.1741, allocations: 33.66 kB / 474.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.1744, allocations: 123.5 kB / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1746, allocations: 151.5 kB / 474.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.1746, allocations: 8 kB / 474.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.1749, allocations: 59.92 kB / 474.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.175, allocations: 55.81 kB / 474.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1751, allocations: 87.36 kB / 474.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.1755, allocations: 239.1 kB / 475.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1755, allocations: 0 / 475.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1755, allocations: 0 / 475.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1755, allocations: 0 / 475.1 MB, free: 9.211 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009194/0.1764, allocations: 0.5487 MB / 475.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.1765, allocations: 8.031 kB / 475.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.1766, allocations: 24.66 kB / 475.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.1771, allocations: 288 kB / 476 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1771, allocations: 4.375 kB / 476 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.1772, allocations: 12.12 kB / 476 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.1776, allocations: 106.3 kB / 476.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.1776, allocations: 15.91 kB / 476.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1777, allocations: 0 / 476.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1777, allocations: 3.984 kB / 476.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1778, allocations: 51.91 kB / 476.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/0.1786, allocations: 468.8 kB / 476.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.1792, allocations: 125.2 kB / 476.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.1793, allocations: 45.83 kB / 476.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1794, allocations: 0 / 476.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/0.1797, allocations: 121 kB / 476.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.1797, allocations: 0 / 476.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001457/0.1811, allocations: 0.4961 MB / 477.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.1812, allocations: 81.11 kB / 477.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006183/0.1818, allocations: 428.5 kB / 477.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1819, allocations: 33.7 kB / 477.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.182, allocations: 156.5 kB / 478.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.1821, allocations: 71.08 kB / 478.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.1822, allocations: 49.64 kB / 478.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00033/0.1826, allocations: 342.8 kB / 478.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.1827, allocations: 55.97 kB / 478.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.1829, allocations: 99.34 kB / 478.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.1832, allocations: 159.5 kB / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1832, allocations: 0 / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005208/0.1837, allocations: 225.2 kB / 479.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1837, allocations: 16 kB / 479.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.1837, allocations: 0 / 479.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1838, allocations: 3.938 kB / 479.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1839, allocations: 47.91 kB / 479.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1839, allocations: 4 kB / 479.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.184, allocations: 11.94 kB / 479.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.184, allocations: 4 kB / 479.2 MB, free: 4.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001676/0.1842, allocations: 173.7 kB / 479.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.1843, allocations: 35.56 kB / 479.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.246e-05/0.1844, allocations: 46.61 kB / 479.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1844, allocations: 0 / 479.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1844, allocations: 4 kB / 479.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1844, allocations: 0 / 479.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009028/0.1853, allocations: 0.7194 MB / 480.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1853, allocations: 4 kB / 480.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.1854, allocations: 31.98 kB / 480.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1854, allocations: 0 / 480.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.1854, allocations: 4 kB / 480.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.1854, allocations: 11.92 kB / 480.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1854, allocations: 0 / 480.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.1859, allocations: 419.7 kB / 480.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.186, allocations: 108.7 kB / 480.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1861, allocations: 15.94 kB / 480.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.1862, allocations: 4 kB / 480.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.1863, allocations: 31.84 kB / 480.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.1863, allocations: 8 kB / 480.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005377/0.1868, allocations: 323 kB / 481.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1868, allocations: 0 / 481.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.1872, allocations: 48 kB / 481.1 MB, free: 2.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001492/0.1887, allocations: 0.5115 MB / 481.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.1891, allocations: 163.8 kB / 481.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1891, allocations: 0 / 481.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.1893, allocations: 79.84 kB / 481.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.1899, allocations: 57.8 kB / 481.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1911, allocations: 0.5554 MB / 482.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.1917, allocations: 0.7714 MB / 483.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.1918, allocations: 41.94 kB / 483.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.1919, allocations: 31.42 kB / 483.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1919, allocations: 0 / 483.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of Templates: time 0.008579/0.2005, allocations: 3.108 MB / 486.4 MB, free: 13.66 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches