Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 117.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2598/0.2598, allocations: 46.89 MB / 357.4 MB, free: 10.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5002,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 87.86 kB / 0.4918 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1761, allocations: 65.98 MB / 0.5562 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003935/0.18, allocations: 1.933 MB / 0.5581 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.1822, allocations: 1.134 MB / 0.5592 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1823, allocations: 7.938 kB / 0.5592 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.1829, allocations: 255.4 kB / 0.5595 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.1834, allocations: 235.2 kB / 0.5597 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1838, allocations: 111.6 kB / 0.5598 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.1842, allocations: 279.2 kB / 0.5601 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1843, allocations: 17.69 kB / 0.5601 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.1845, allocations: 139.5 kB / 0.5602 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.1848, allocations: 199.5 kB / 0.5604 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.1848, allocations: 16 kB / 0.5604 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.185, allocations: 59.98 kB / 0.5605 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1851, allocations: 75.62 kB / 0.5606 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.1852, allocations: 95.23 kB / 0.5607 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.1856, allocations: 254.8 kB / 0.5609 GB, free: 1.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1856, allocations: 4 kB / 0.5609 GB, free: 1.023 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1856, allocations: 0 / 0.5609 GB, free: 1.023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.1857, allocations: 0 / 0.5609 GB, free: 1.023 MB / 414.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.0009329/0.1866, allocations: 0.5948 MB / 0.5615 GB, free: 388 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1866, allocations: 16.03 kB / 0.5615 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.1867, allocations: 28.75 kB / 0.5615 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.1872, allocations: 298.7 kB / 0.5618 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1872, allocations: 384 / 0.5618 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.1872, allocations: 12.42 kB / 0.5618 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.1875, allocations: 116.8 kB / 0.5619 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1875, allocations: 0 / 0.5619 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1876, allocations: 0 / 0.5619 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1876, allocations: 8 kB / 0.5619 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.1877, allocations: 43.97 kB / 0.562 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.1884, allocations: 484.7 kB / 0.5624 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.1888, allocations: 125.2 kB / 0.5626 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1889, allocations: 37.83 kB / 0.5626 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1889, allocations: 4 kB / 0.5626 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.1892, allocations: 129 kB / 0.5627 GB, free: 14.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.1892, allocations: 0 / 0.5627 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001405/0.1906, allocations: 0.5126 MB / 0.5632 GB, free: 14.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.1906, allocations: 77.11 kB / 0.5633 GB, free: 14.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/0.1912, allocations: 0.4899 MB / 0.5638 GB, free: 13.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1912, allocations: 33.7 kB / 0.5638 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1914, allocations: 176.4 kB / 0.564 GB, free: 13.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/0.1914, allocations: 71.42 kB / 0.564 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.1915, allocations: 41.7 kB / 0.5641 GB, free: 13.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.1918, allocations: 350.8 kB / 0.5644 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.192, allocations: 59.97 kB / 0.5645 GB, free: 13.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.1921, allocations: 91.34 kB / 0.5646 GB, free: 13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.1924, allocations: 167.4 kB / 0.5647 GB, free: 12.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1924, allocations: 0 / 0.5647 GB, free: 12.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004202/0.1928, allocations: 237.2 kB / 0.565 GB, free: 12.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1929, allocations: 7.938 kB / 0.565 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1929, allocations: 0 / 0.565 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.1929, allocations: 12 kB / 0.565 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.193, allocations: 47.91 kB / 0.565 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1931, allocations: 0 / 0.565 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.1931, allocations: 8 kB / 0.565 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1932, allocations: 8 kB / 0.565 GB, free: 12.5 MB / 430.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.0002145/0.1934, allocations: 181.7 kB / 0.5652 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.1934, allocations: 35.77 kB / 0.5652 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.993e-05/0.1935, allocations: 42.83 kB / 0.5653 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1935, allocations: 8 kB / 0.5653 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1936, allocations: 0 / 0.5653 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1936, allocations: 3.984 kB / 0.5653 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1947, allocations: 0.7312 MB / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1947, allocations: 4 kB / 0.566 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.1948, allocations: 36.05 kB / 0.566 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1948, allocations: 0 / 0.566 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.1948, allocations: 12 kB / 0.5661 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1948, allocations: 0 / 0.5661 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1948, allocations: 4 kB / 0.5661 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.1954, allocations: 428.6 kB / 0.5665 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/0.1954, allocations: 108.9 kB / 0.5666 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.1955, allocations: 15.98 kB / 0.5666 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1956, allocations: 8 kB / 0.5666 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.1957, allocations: 23.86 kB / 0.5666 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.1957, allocations: 15.92 kB / 0.5666 GB, free: 10.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003837/0.1961, allocations: 379.3 kB / 0.567 GB, free: 10.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1961, allocations: 0 / 0.567 GB, free: 10.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.1965, allocations: 51.88 kB / 0.567 GB, free: 10.32 MB / 430.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.002018/0.1985, allocations: 0.4944 MB / 0.5675 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.1989, allocations: 151.8 kB / 0.5677 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1989, allocations: 4.125 kB / 0.5677 GB, free: 9.852 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.1991, allocations: 75.83 kB / 0.5677 GB, free: 9.777 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.1996, allocations: 65.88 kB / 0.5678 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.2008, allocations: 0.6022 MB / 0.5684 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.2013, allocations: 0.7908 MB / 0.5692 GB, free: 8.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.2014, allocations: 41.92 kB / 0.5692 GB, free: 8.211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.2015, allocations: 27.44 kB / 0.5692 GB, free: 8.184 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2015, allocations: 0 / 0.5692 GB, free: 8.184 MB / 430.1 MB Notification: Performance of Templates: time 0.008373/0.2099, allocations: 3.232 MB / 0.5724 GB, free: 4.98 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.505175747908652]