Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001934/0.001934, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2586/0.2586, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1823, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002326/0.1846, allocations: 1.365 MB / 484.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1858, allocations: 0.5457 MB / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.1858, allocations: 0 / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1862, allocations: 95.8 kB / 485.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.1864, allocations: 91.72 kB / 485.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1867, allocations: 107.1 kB / 485.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1869, allocations: 99.73 kB / 485.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1871, allocations: 23.98 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.1871, allocations: 39.83 kB / 485.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.894e-05/0.1872, allocations: 59.81 kB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1872, allocations: 0 / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-05/0.1873, allocations: 43.98 kB / 485.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.1874, allocations: 23.92 kB / 485.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.1875, allocations: 65.31 kB / 485.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.1877, allocations: 127.8 kB / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1877, allocations: 0 / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1877, allocations: 0 / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1877, allocations: 0 / 485.8 MB, free: 1.445 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006021/0.1883, allocations: 419.1 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1884, allocations: 8.031 kB / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.1884, allocations: 12.75 kB / 486.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1887, allocations: 212.5 kB / 486.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1887, allocations: 4.375 kB / 486.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.1887, allocations: 16.3 kB / 486.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1889, allocations: 73.8 kB / 486.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.189, allocations: 4 kB / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.189, allocations: 0 / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.189, allocations: 0 / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1891, allocations: 47.95 kB / 486.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.1896, allocations: 352.6 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.1898, allocations: 70.55 kB / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.1898, allocations: 24.84 kB / 487 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.1899, allocations: 3.938 kB / 487 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1899, allocations: 34.56 kB / 487 MB, free: 28 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1899, allocations: 4 kB / 487 MB, free: 24 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001202/0.1911, allocations: 377.2 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.1912, allocations: 55.53 kB / 487.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.1914, allocations: 239.5 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1915, allocations: 29.7 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.1916, allocations: 116 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.1916, allocations: 35.41 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.1916, allocations: 21.7 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1918, allocations: 326.8 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1919, allocations: 51.97 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.192, allocations: 51.97 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.1923, allocations: 116.1 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1923, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002912/0.1926, allocations: 169.4 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1926, allocations: 11.98 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1926, allocations: 4 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1926, allocations: 3.938 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1928, allocations: 27.98 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1928, allocations: 0 / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.253e-05/0.1929, allocations: 8 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1929, allocations: 8 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001083/0.193, allocations: 141.8 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.193, allocations: 11.81 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.1934, allocations: 199.1 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1934, allocations: 0 / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1934, allocations: 0 / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1935, allocations: 0 / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006579/0.1941, allocations: 0.5145 MB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1941, allocations: 0 / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.1942, allocations: 27.98 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1942, allocations: 0 / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1943, allocations: 7.984 kB / 489.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1943, allocations: 4 kB / 489.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1943, allocations: 0 / 489.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.1946, allocations: 268.1 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.1947, allocations: 92.91 kB / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1947, allocations: 8 kB / 489.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.1948, allocations: 8 kB / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.1948, allocations: 7.984 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1948, allocations: 4 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.195, allocations: 189.1 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.195, allocations: 0 / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1953, allocations: 24 kB / 490.1 MB, free: 12.74 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001075/0.1963, allocations: 445.7 kB / 490.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.1966, allocations: 127.6 kB / 490.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1967, allocations: 4 kB / 490.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.1968, allocations: 71.89 kB / 490.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1972, allocations: 15.94 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/0.1979, allocations: 379.2 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1982, allocations: 0.7239 MB / 491.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.809e-05/0.1983, allocations: 32.52 kB / 491.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.1983, allocations: 19.44 kB / 491.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1983, allocations: 0 / 491.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004677/0.203, allocations: 1.52 MB / 493.4 MB, free: 9.539 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches