Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.938/1.938, allocations: 227.4 MB / 247.1 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3674/0.3674, allocations: 46.1 MB / 344.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 79.38 kB / 417.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1708, allocations: 62.43 MB / 480.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.006027/0.1769, allocations: 1.792 MB / 481.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.1802, allocations: 1.01 MB / 483 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1804, allocations: 4 kB / 483 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.1809, allocations: 35.83 kB / 483 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000612/0.1815, allocations: 79.73 kB / 483.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.182, allocations: 67.88 kB / 483.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.1823, allocations: 107.6 kB / 483.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1825, allocations: 8 kB / 483.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1827, allocations: 43.78 kB / 483.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.1829, allocations: 43.78 kB / 483.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1829, allocations: 4 kB / 483.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.1831, allocations: 39.98 kB / 483.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.1832, allocations: 23.84 kB / 483.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.1833, allocations: 31.81 kB / 483.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1836, allocations: 92.03 kB / 483.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1837, allocations: 0 / 483.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1837, allocations: 4 kB / 483.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1837, allocations: 3.938 kB / 483.5 MB, free: 2.191 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008326/0.1846, allocations: 411 kB / 483.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.1846, allocations: 8.031 kB / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.1847, allocations: 12.75 kB / 484 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.1851, allocations: 208.1 kB / 484.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.1852, allocations: 8.312 kB / 484.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.1852, allocations: 4.125 kB / 484.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.1855, allocations: 53.67 kB / 484.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.1855, allocations: 0 / 484.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.1855, allocations: 0 / 484.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1856, allocations: 4 kB / 484.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1857, allocations: 23.98 kB / 484.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.1863, allocations: 292.8 kB / 484.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.1867, allocations: 58.61 kB / 484.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1868, allocations: 20.86 kB / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.1868, allocations: 8 kB / 484.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003495/0.1872, allocations: 59.39 kB / 484.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.1872, allocations: 0 / 484.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009791/0.1882, allocations: 177.2 kB / 484.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.1883, allocations: 51.41 kB / 484.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.1886, allocations: 180 kB / 485.1 MB, free: 460 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1886, allocations: 29.7 kB / 485.1 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.1887, allocations: 108 kB / 485.2 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.1888, allocations: 19.75 kB / 485.2 MB, free: 292 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.1889, allocations: 25.7 kB / 485.3 MB, free: 260 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.1891, allocations: 326.8 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1893, allocations: 19.94 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1894, allocations: 37.7 kB / 485.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.1897, allocations: 65.69 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1897, allocations: 0 / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003673/0.1901, allocations: 97.44 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.1901, allocations: 8 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1901, allocations: 0 / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.1902, allocations: 3.984 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.1903, allocations: 16 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.1904, allocations: 4 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.1905, allocations: 8.156 kB / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.1905, allocations: 7.938 kB / 485.8 MB, free: 15.64 MB / 366.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.0001698/0.1907, allocations: 129.8 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.1908, allocations: 7.906 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.57e-05/0.1909, allocations: 17.39 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1909, allocations: 4 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.1909, allocations: 3.984 kB / 486 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1909, allocations: 3.938 kB / 486 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008201/0.1918, allocations: 399.2 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1918, allocations: 0 / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.1919, allocations: 8 kB / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.1919, allocations: 4.359 kB / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.1919, allocations: 7.875 kB / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.1919, allocations: 8 kB / 486.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.192, allocations: 0 / 486.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.1924, allocations: 204.3 kB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.1925, allocations: 85.02 kB / 486.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1925, allocations: 3.938 kB / 486.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1927, allocations: 3.984 kB / 486.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.1928, allocations: 8 kB / 486.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.1928, allocations: 4 kB / 486.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.193, allocations: 142.8 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.193, allocations: 0 / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.1935, allocations: 24 kB / 486.9 MB, free: 14.49 MB / 366.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.002161/0.1957, allocations: 463.5 kB / 487.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.1961, allocations: 63.91 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.1961, allocations: 0 / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.1963, allocations: 39.86 kB / 487.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.197, allocations: 27.08 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007823/0.1978, allocations: 277 kB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1982, allocations: 0.7002 MB / 488.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.1983, allocations: 19.44 kB / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1983, allocations: 0 / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Templates: time 0.00676/0.205, allocations: 1.925 MB / 490.4 MB, free: 11.1 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches