Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001655, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001892/0.001892, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.34/2.34, allocations: 227.4 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3979/0.3979, allocations: 46.1 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 75.97 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1732, allocations: 62.46 MB / 480 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004092/0.1773, allocations: 1.871 MB / 481.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1798, allocations: 1.092 MB / 482.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1799, allocations: 0 / 482.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.1807, allocations: 299.4 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.1813, allocations: 239.4 kB / 483.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.1817, allocations: 95.78 kB / 483.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.182, allocations: 255.2 kB / 483.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.1821, allocations: 9.688 kB / 483.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.1823, allocations: 115.6 kB / 483.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.1826, allocations: 191.5 kB / 484.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.1827, allocations: 7.984 kB / 484.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1829, allocations: 43.92 kB / 484.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.183, allocations: 131.6 kB / 484.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.1832, allocations: 154.8 kB / 484.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.1836, allocations: 283.9 kB / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1836, allocations: 0 / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1837, allocations: 0 / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1837, allocations: 0 / 484.7 MB, free: 0.9141 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001193/0.1849, allocations: 0.7424 MB / 485.4 MB, free: 124 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1849, allocations: 8.875 kB / 485.5 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.185, allocations: 56.27 kB / 485.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007242/0.1858, allocations: 451.8 kB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1858, allocations: 4.375 kB / 486 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1859, allocations: 16.11 kB / 486 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.1861, allocations: 83.3 kB / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1861, allocations: 0 / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.1862, allocations: 7.984 kB / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1862, allocations: 4 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.1863, allocations: 23.98 kB / 486.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.1869, allocations: 386.4 kB / 486.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.1872, allocations: 101.2 kB / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.1874, allocations: 45.64 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1874, allocations: 0 / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.1878, allocations: 113 kB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1878, allocations: 0 / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006448/0.1884, allocations: 204.8 kB / 486.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.1885, allocations: 81.11 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.19, allocations: 1.05 MB / 488 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.19, allocations: 33.69 kB / 488.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.1903, allocations: 232.1 kB / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.964e-05/0.1903, allocations: 31.62 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.1905, allocations: 37.64 kB / 488.4 MB, free: 13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1907, allocations: 366.8 kB / 488.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1908, allocations: 31.98 kB / 488.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1909, allocations: 51.42 kB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.1912, allocations: 91.34 kB / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1912, allocations: 0 / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004284/0.1916, allocations: 177.5 kB / 489.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.1917, allocations: 11.98 kB / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1917, allocations: 0 / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1917, allocations: 0 / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1919, allocations: 20 kB / 489.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1919, allocations: 3.984 kB / 489.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.1921, allocations: 15.84 kB / 489.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1921, allocations: 8 kB / 489.1 MB, free: 12.2 MB / 366.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002936/0.1924, allocations: 230.6 kB / 489.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/0.1925, allocations: 51.34 kB / 489.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.1926, allocations: 64.14 kB / 489.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1926, allocations: 0 / 489.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1927, allocations: 0 / 489.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1927, allocations: 4 kB / 489.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.1931, allocations: 341.4 kB / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1931, allocations: 0 / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.1932, allocations: 11.98 kB / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1932, allocations: 0 / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1932, allocations: 4 kB / 489.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1932, allocations: 4 kB / 489.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1932, allocations: 0 / 489.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.1937, allocations: 209.2 kB / 490 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.1939, allocations: 140.4 kB / 490.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.194, allocations: 4 kB / 490.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1941, allocations: 8.094 kB / 490.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.1942, allocations: 15.92 kB / 490.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.1943, allocations: 4 kB / 490.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.1954, allocations: 0.7877 MB / 491 MB, free: 10.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1955, allocations: 0 / 491 MB, free: 10.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004148/0.1959, allocations: 47.98 kB / 491 MB, free: 10.19 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001363/0.1973, allocations: 413.8 kB / 491.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003618/0.1976, allocations: 79.91 kB / 491.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1977, allocations: 4 kB / 491.5 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.1978, allocations: 39.91 kB / 491.6 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.1985, allocations: 69.59 kB / 491.6 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.2006, allocations: 1.015 MB / 492.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007072/0.2013, allocations: 0.8468 MB / 493.5 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.2015, allocations: 35.42 kB / 493.5 MB, free: 7.77 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2016, allocations: 0 / 493.5 MB, free: 7.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01451/0.2161, allocations: 5.145 MB / 498.7 MB, free: 2.625 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches