Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 205.8 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 1.885/1.885, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3725/0.3725, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002495/0.002495, allocations: 80.17 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1785, allocations: 62.44 MB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.005122/0.1837, allocations: 1.785 MB / 481.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.1864, allocations: 1.017 MB / 482.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1866, allocations: 0 / 482.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004773/0.1871, allocations: 83.75 kB / 482.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.1876, allocations: 99.7 kB / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.188, allocations: 59.83 kB / 483 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.1883, allocations: 111.7 kB / 483.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1884, allocations: 19.97 kB / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.1886, allocations: 47.77 kB / 483.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1888, allocations: 55.77 kB / 483.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.1888, allocations: 4 kB / 483.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.189, allocations: 47.91 kB / 483.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.1891, allocations: 23.92 kB / 483.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.1892, allocations: 35.75 kB / 483.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.1895, allocations: 96.03 kB / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1895, allocations: 0 / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1895, allocations: 0 / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1895, allocations: 0 / 483.4 MB, free: 2.238 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.0008229/0.1903, allocations: 419 kB / 483.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.1904, allocations: 12.88 kB / 483.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.1905, allocations: 16.73 kB / 483.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1908, allocations: 208.6 kB / 484.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.1909, allocations: 16.36 kB / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1909, allocations: 8.031 kB / 484.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1911, allocations: 53.67 kB / 484.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1912, allocations: 4 kB / 484.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1912, allocations: 0 / 484.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1912, allocations: 0 / 484.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1914, allocations: 15.98 kB / 484.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.1919, allocations: 288.8 kB / 484.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.1922, allocations: 62.67 kB / 484.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/0.1924, allocations: 20.86 kB / 484.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.1924, allocations: 4 kB / 484.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00031/0.1927, allocations: 71.31 kB / 484.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.749e-06/0.1928, allocations: 4 kB / 484.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000847/0.1936, allocations: 181 kB / 484.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.1937, allocations: 63.28 kB / 484.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.194, allocations: 219.5 kB / 485 MB, free: 420 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.1941, allocations: 29.7 kB / 485.1 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.1942, allocations: 104.1 kB / 485.2 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.1943, allocations: 27.64 kB / 485.2 MB, free: 248 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.1943, allocations: 21.72 kB / 485.2 MB, free: 220 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.1946, allocations: 334.8 kB / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.724e-05/0.1947, allocations: 15.98 kB / 485.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1948, allocations: 37.7 kB / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.195, allocations: 61.64 kB / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.195, allocations: 0 / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003311/0.1954, allocations: 97.53 kB / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1954, allocations: 8 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1954, allocations: 160 / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1955, allocations: 4 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1956, allocations: 23.92 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1956, allocations: 3.984 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.213e-05/0.1957, allocations: 7.938 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1958, allocations: 4 kB / 485.8 MB, free: 15.6 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.0001597/0.1959, allocations: 132.6 kB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.196, allocations: 15.91 kB / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.346e-05/0.1961, allocations: 17.39 kB / 486 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1961, allocations: 4 kB / 486 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1961, allocations: 0 / 486 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1961, allocations: 3.938 kB / 486 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.1968, allocations: 395.2 kB / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1969, allocations: 0 / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.1969, allocations: 11.98 kB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1969, allocations: 8.031 kB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.197, allocations: 12.3 kB / 486.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.197, allocations: 0 / 486.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.197, allocations: 3.938 kB / 486.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.1974, allocations: 204.3 kB / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.1975, allocations: 88.92 kB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.1976, allocations: 11.92 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1977, allocations: 7.938 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.1978, allocations: 4.188 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.1978, allocations: 7.984 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.1981, allocations: 169.1 kB / 486.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1981, allocations: 0 / 486.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005236/0.1986, allocations: 24 kB / 486.9 MB, free: 14.4 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.00186/0.2005, allocations: 455.2 kB / 487.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.2008, allocations: 51.98 kB / 487.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2008, allocations: 3.938 kB / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.201, allocations: 31.92 kB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.2016, allocations: 31.48 kB / 487.5 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007763/0.2024, allocations: 306.8 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.2028, allocations: 0.7083 MB / 488.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.2029, allocations: 19.42 kB / 488.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2029, allocations: 0 / 488.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.006469/0.2094, allocations: 1.997 MB / 490.5 MB, free: 10.91 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches