Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 109 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.001633/0.001633, 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.047/2.047, allocations: 227.4 MB / 246.9 MB, free: 10.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3279/0.3279, allocations: 46.1 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 79.5 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1762, allocations: 62.44 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.005376/0.1816, allocations: 1.98 MB / 481.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.1847, allocations: 1.109 MB / 483 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.1849, allocations: 4 kB / 483 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006798/0.1856, allocations: 251.4 kB / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00097/0.1866, allocations: 219.3 kB / 483.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.1871, allocations: 95.78 kB / 483.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.1876, allocations: 255.3 kB / 483.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1878, allocations: 33.66 kB / 483.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.1881, allocations: 123.5 kB / 484 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.1885, allocations: 187.4 kB / 484.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.1885, allocations: 4 kB / 484.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.1887, allocations: 59.95 kB / 484.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.1889, allocations: 63.77 kB / 484.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1891, allocations: 103.2 kB / 484.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1894, allocations: 180 kB / 484.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1895, allocations: 0 / 484.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.1895, allocations: 4 kB / 484.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1895, allocations: 0 / 484.6 MB, free: 1.027 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.001131/0.1906, allocations: 0.5836 MB / 485.2 MB, free: 404 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1907, allocations: 8.031 kB / 485.2 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.1908, allocations: 32.56 kB / 485.2 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.1913, allocations: 290.4 kB / 485.5 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.1913, allocations: 8.375 kB / 485.5 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.1914, allocations: 12.12 kB / 485.5 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.1918, allocations: 107.3 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1918, allocations: 3.906 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.1918, allocations: 15.94 kB / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1919, allocations: 0 / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.1921, allocations: 39.97 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008453/0.193, allocations: 488.7 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005863/0.1936, allocations: 125.2 kB / 486.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.1938, allocations: 45.83 kB / 486.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.1938, allocations: 8 kB / 486.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000415/0.1942, allocations: 117.1 kB / 486.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/0.1943, allocations: 0 / 486.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.002087/0.1964, allocations: 0.5083 MB / 486.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.1965, allocations: 81.05 kB / 487 MB, free: 14.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/0.1973, allocations: 0.4938 MB / 487.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.1973, allocations: 33.7 kB / 487.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1975, allocations: 168.5 kB / 487.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.514e-05/0.1976, allocations: 70.95 kB / 487.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.1978, allocations: 41.7 kB / 487.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.198, allocations: 350.8 kB / 488.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.1982, allocations: 59.97 kB / 488.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.1985, allocations: 95.39 kB / 488.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.199, allocations: 159.5 kB / 488.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.199, allocations: 3.938 kB / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006866/0.1997, allocations: 229.2 kB / 488.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1997, allocations: 15.94 kB / 488.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.1997, allocations: 0 / 488.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.1998, allocations: 4 kB / 488.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.2, allocations: 39.97 kB / 488.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2, allocations: 4 kB / 488.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.2002, allocations: 11.91 kB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.2002, allocations: 12 kB / 488.8 MB, free: 12.53 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.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.0002472/0.2005, allocations: 178.2 kB / 489 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.2006, allocations: 35.56 kB / 489 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.2007, allocations: 46.89 kB / 489 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2008, allocations: 4 kB / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2008, allocations: 0 / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2008, allocations: 0 / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.2022, allocations: 0.7505 MB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2023, allocations: 0 / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.2024, allocations: 31.92 kB / 489.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2024, allocations: 0 / 489.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.2025, allocations: 12 kB / 489.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2025, allocations: 0 / 489.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2025, allocations: 4 kB / 489.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/0.2033, allocations: 428.7 kB / 490.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-05/0.2034, allocations: 108.7 kB / 490.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.2035, allocations: 4 kB / 490.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.2037, allocations: 15.98 kB / 490.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.2038, allocations: 24.11 kB / 490.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.2039, allocations: 11.98 kB / 490.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005769/0.2045, allocations: 379.1 kB / 490.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2045, allocations: 0 / 490.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000689/0.2052, allocations: 48 kB / 490.8 MB, free: 10.35 MB / 366.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.001979/0.2072, allocations: 0.5001 MB / 491.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005444/0.2077, allocations: 155.8 kB / 491.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.2078, allocations: 0 / 491.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.2081, allocations: 83.84 kB / 491.6 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009864/0.2091, allocations: 64.77 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.001517/0.2106, allocations: 0.7082 MB / 492.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.2111, allocations: 0.7872 MB / 493.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.2112, allocations: 27.44 kB / 493.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2112, allocations: 3.938 kB / 493.2 MB, free: 8.137 MB / 366.1 MB Notification: Performance of Templates: time 0.00978/0.221, allocations: 3.854 MB / 497 MB, free: 4.289 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches