Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001556/0.001556, 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.001764/0.001764, 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 1.983/1.983, allocations: 227.4 MB / 246.9 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2732/0.2732, allocations: 46.12 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 85.77 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1793, allocations: 62.44 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.004711/0.184, allocations: 1.785 MB / 481.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.1877, allocations: 1.025 MB / 482.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1879, allocations: 3.938 kB / 482.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.1884, allocations: 35.89 kB / 482.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.1888, allocations: 79.73 kB / 482.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1891, allocations: 59.83 kB / 482.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.1894, allocations: 107.7 kB / 483 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1896, allocations: 8 kB / 483 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.1897, allocations: 39.73 kB / 483.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1898, allocations: 39.77 kB / 483.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.1899, allocations: 4 kB / 483.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.19, allocations: 39.98 kB / 483.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.629e-05/0.1901, allocations: 19.92 kB / 483.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.1902, allocations: 35.73 kB / 483.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.1905, allocations: 88.11 kB / 483.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1905, allocations: 0 / 483.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1905, allocations: 4 kB / 483.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1906, allocations: 0 / 483.3 MB, free: 2.332 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.0008245/0.1914, allocations: 414.9 kB / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.1915, allocations: 12.88 kB / 483.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.1916, allocations: 8.844 kB / 483.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.1919, allocations: 216.7 kB / 483.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.192, allocations: 384 / 483.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.192, allocations: 12.12 kB / 484 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1922, allocations: 53.67 kB / 484 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1923, allocations: 0 / 484 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.1923, allocations: 4 kB / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.1923, allocations: 4 kB / 484 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1924, allocations: 19.92 kB / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.193, allocations: 292.8 kB / 484.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.1932, allocations: 58.69 kB / 484.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.796e-05/0.1933, allocations: 24.84 kB / 484.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.1934, allocations: 0 / 484.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/0.1937, allocations: 67.33 kB / 484.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1937, allocations: 0 / 484.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008326/0.1946, allocations: 177.2 kB / 484.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.1946, allocations: 55.41 kB / 484.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.1949, allocations: 194.9 kB / 484.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.195, allocations: 25.7 kB / 484.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.1951, allocations: 104.1 kB / 485 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.1951, allocations: 19.72 kB / 485 MB, free: 412 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.1952, allocations: 33.64 kB / 485.1 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1954, allocations: 326.8 kB / 485.4 MB, free: 36 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.666e-05/0.1955, allocations: 16 kB / 485.4 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1957, allocations: 41.75 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.1959, allocations: 57.59 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1959, allocations: 0 / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003247/0.1962, allocations: 113.4 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.1963, allocations: 4 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1963, allocations: 160 / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.1963, allocations: 4.031 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1965, allocations: 16 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1965, allocations: 3.984 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.1965, allocations: 11.92 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1966, allocations: 0 / 485.6 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.0001675/0.1967, allocations: 133.8 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.1968, allocations: 7.906 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.1969, allocations: 17.39 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1969, allocations: 4 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1969, allocations: 4 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1969, allocations: 3.938 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007296/0.1977, allocations: 391.2 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.1977, allocations: 3.984 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.1978, allocations: 11.94 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1978, allocations: 0 / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1978, allocations: 4.312 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1978, allocations: 4 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.1978, allocations: 8.031 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.1983, allocations: 200.3 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.1983, allocations: 92.91 kB / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.1984, allocations: 7.938 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.1985, allocations: 4 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.1985, allocations: 3.984 kB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1986, allocations: 11.94 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.1987, allocations: 152.7 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1987, allocations: 0 / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.199, allocations: 28 kB / 486.7 MB, free: 14.57 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.001593/0.2006, allocations: 454.3 kB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.2009, allocations: 59.91 kB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.201, allocations: 0 / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.2011, allocations: 27.98 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.2017, allocations: 33.05 kB / 487.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.2025, allocations: 286.5 kB / 487.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.2029, allocations: 0.7083 MB / 488.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.203, allocations: 15.44 kB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.203, allocations: 0 / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.005959/0.209, allocations: 1.936 MB / 490.2 MB, free: 11.17 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches