Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001568/0.001568, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.126/2.126, allocations: 227.4 MB / 246.9 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3278/0.3278, allocations: 46.1 MB / 344.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 77.28 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.178, allocations: 62.45 MB / 480 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.005057/0.1831, allocations: 1.777 MB / 481.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.186, allocations: 1.025 MB / 482.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1861, allocations: 0 / 482.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.1866, allocations: 47.83 kB / 482.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.1871, allocations: 75.75 kB / 482.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1874, allocations: 63.88 kB / 482.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.1877, allocations: 95.69 kB / 483 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1878, allocations: 11.94 kB / 483 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.188, allocations: 39.84 kB / 483.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1881, allocations: 35.78 kB / 483.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.1882, allocations: 4 kB / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.1883, allocations: 43.97 kB / 483.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.1884, allocations: 23.86 kB / 483.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.1885, allocations: 31.75 kB / 483.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1888, allocations: 99.97 kB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1888, allocations: 0 / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1888, allocations: 0 / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1889, allocations: 0 / 483.3 MB, free: 2.348 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.0007695/0.1896, allocations: 419 kB / 483.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.1897, allocations: 12.88 kB / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.1898, allocations: 8.844 kB / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.1902, allocations: 220 kB / 484 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1902, allocations: 4.312 kB / 484 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.1903, allocations: 8.125 kB / 484 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.1905, allocations: 53.67 kB / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1906, allocations: 0 / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1906, allocations: 0 / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1906, allocations: 0 / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1907, allocations: 19.98 kB / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.1913, allocations: 296.9 kB / 484.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1916, allocations: 54.62 kB / 484.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.1917, allocations: 20.84 kB / 484.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1918, allocations: 3.984 kB / 484.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003422/0.1921, allocations: 71.39 kB / 484.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.524e-06/0.1921, allocations: 3.938 kB / 484.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009003/0.1931, allocations: 181 kB / 484.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1931, allocations: 51.41 kB / 484.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.1935, allocations: 206.9 kB / 484.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1935, allocations: 25.7 kB / 484.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/0.1936, allocations: 104.1 kB / 485 MB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.1937, allocations: 27.69 kB / 485.1 MB, free: 400 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.1937, allocations: 25.72 kB / 485.1 MB, free: 368 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1939, allocations: 330.8 kB / 485.4 MB, free: 28 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.194, allocations: 23.92 kB / 485.4 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.1942, allocations: 33.7 kB / 485.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.1944, allocations: 57.7 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1944, allocations: 4 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003199/0.1948, allocations: 101.4 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.1948, allocations: 4 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1948, allocations: 4 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1949, allocations: 192 / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.195, allocations: 20.36 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.195, allocations: 3.938 kB / 485.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.27e-05/0.1951, allocations: 11.94 kB / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1952, allocations: 4 kB / 485.7 MB, free: 15.75 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.0001444/0.1953, allocations: 137.7 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.1954, allocations: 11.91 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.472e-05/0.1955, allocations: 17.39 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1955, allocations: 0 / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.1955, allocations: 4 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1955, allocations: 3.938 kB / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007512/0.1963, allocations: 395.2 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1963, allocations: 0 / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.1964, allocations: 16.02 kB / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1964, allocations: 0 / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.1964, allocations: 3.938 kB / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.1964, allocations: 4 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1964, allocations: 0 / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.1969, allocations: 208.4 kB / 486.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-05/0.197, allocations: 88.92 kB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.197, allocations: 15.88 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1972, allocations: 7.984 kB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.1973, allocations: 4 kB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1973, allocations: 0 / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.1975, allocations: 164.3 kB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1975, allocations: 0 / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004877/0.198, allocations: 16 kB / 486.8 MB, free: 14.56 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.001948/0.2, allocations: 454.1 kB / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.2003, allocations: 55.91 kB / 487.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.2004, allocations: 4 kB / 487.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.2005, allocations: 36.05 kB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.2011, allocations: 24.55 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007836/0.2019, allocations: 294.4 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.2024, allocations: 0.7043 MB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.2024, allocations: 19.42 kB / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2025, allocations: 0 / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.006722/0.2092, allocations: 1.974 MB / 490.3 MB, free: 11.11 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches