Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001719/0.001719, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.108/2.108, allocations: 227.4 MB / 246.9 MB, free: 9.023 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3988/0.3988, allocations: 46.11 MB / 344.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002909/0.00291, allocations: 77.06 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1735, allocations: 62.46 MB / 480 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00506/0.1786, allocations: 1.77 MB / 481.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.1816, allocations: 1.025 MB / 482.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1817, allocations: 4 kB / 482.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.1822, allocations: 27.91 kB / 482.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004095/0.1826, allocations: 83.67 kB / 482.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1829, allocations: 59.88 kB / 482.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.1832, allocations: 99.69 kB / 483 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1834, allocations: 15.94 kB / 483 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1835, allocations: 43.72 kB / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1837, allocations: 35.78 kB / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.1837, allocations: 0 / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.1839, allocations: 43.98 kB / 483.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.184, allocations: 15.92 kB / 483.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.692e-05/0.1841, allocations: 39.73 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.1843, allocations: 88.05 kB / 483.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1844, allocations: 0 / 483.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1844, allocations: 4 kB / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1844, allocations: 0 / 483.3 MB, free: 2.32 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.0007743/0.1852, allocations: 407.1 kB / 483.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.1852, allocations: 8.875 kB / 483.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.1853, allocations: 12.75 kB / 483.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1857, allocations: 212.1 kB / 483.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1857, allocations: 384 / 483.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.1858, allocations: 8.125 kB / 483.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.186, allocations: 61.61 kB / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.186, allocations: 0 / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.1861, allocations: 0 / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1861, allocations: 0 / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1862, allocations: 23.98 kB / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.1868, allocations: 280.9 kB / 484.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.1871, allocations: 66.55 kB / 484.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.481e-05/0.1872, allocations: 16.86 kB / 484.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.1873, allocations: 11.98 kB / 484.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.1876, allocations: 59.39 kB / 484.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 5.27e-06/0.1877, allocations: 3.984 kB / 484.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009146/0.1886, allocations: 177.5 kB / 484.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.1887, allocations: 63.39 kB / 484.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.189, allocations: 179.3 kB / 484.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.189, allocations: 25.7 kB / 484.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.1891, allocations: 108 kB / 485 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.1892, allocations: 19.75 kB / 485 MB, free: 416 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.1893, allocations: 21.7 kB / 485 MB, free: 388 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1894, allocations: 330.8 kB / 485.3 MB, free: 48 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.994e-05/0.1896, allocations: 24.05 kB / 485.4 MB, free: 24 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1897, allocations: 45.69 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.1899, allocations: 57.72 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.19, allocations: 0 / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003244/0.1903, allocations: 101.4 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1903, allocations: 4 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1904, allocations: 4 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1904, allocations: 4.031 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1906, allocations: 16 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.1906, allocations: 3.984 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.1907, allocations: 7.938 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.1907, allocations: 4 kB / 485.6 MB, free: 15.76 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.0001802/0.1909, allocations: 125.8 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.191, allocations: 7.906 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.319e-05/0.1911, allocations: 17.39 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1911, allocations: 8 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.1911, allocations: 0 / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.1911, allocations: 3.938 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007709/0.1919, allocations: 391.2 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1919, allocations: 3.984 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/0.192, allocations: 8 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.192, allocations: 4 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.192, allocations: 3.938 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1921, allocations: 7.969 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1921, allocations: 0 / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.1925, allocations: 208.2 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.1926, allocations: 85 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.1926, allocations: 7.938 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1928, allocations: 0 / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.1929, allocations: 15.98 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.1929, allocations: 4 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.1931, allocations: 136 kB / 486.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1932, allocations: 0 / 486.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005134/0.1937, allocations: 27.98 kB / 486.7 MB, free: 14.61 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.001999/0.1957, allocations: 460 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.196, allocations: 55.92 kB / 487.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1961, allocations: 0 / 487.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1962, allocations: 23.98 kB / 487.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.1969, allocations: 43 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/0.1977, allocations: 270.7 kB / 487.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1981, allocations: 0.7083 MB / 488.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.1982, allocations: 19.42 kB / 488.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1982, allocations: 0 / 488.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of Templates: time 0.00675/0.205, allocations: 1.904 MB / 490.1 MB, free: 11.25 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches