Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001696/0.001696, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.002092/0.002092, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.504/1.504, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.2369/0.2369, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27") [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.003151/0.003151, allocations: 79.86 kB / 0.4924 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1853, allocations: 65.99 MB / 0.5568 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003278/0.1886, allocations: 1.63 MB / 0.5584 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1897, allocations: 0.541 MB / 0.5589 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.1897, allocations: 0 / 0.5589 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.1901, allocations: 127.7 kB / 0.5591 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.1905, allocations: 127.5 kB / 0.5592 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.1908, allocations: 91.33 kB / 0.5593 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.191, allocations: 99.78 kB / 0.5594 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1911, allocations: 15.98 kB / 0.5594 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.1911, allocations: 51.83 kB / 0.5594 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.1913, allocations: 91.7 kB / 0.5595 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1913, allocations: 4 kB / 0.5595 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1914, allocations: 47.97 kB / 0.5596 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.1915, allocations: 27.91 kB / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.1915, allocations: 35.69 kB / 0.5596 GB, free: 3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1917, allocations: 127.4 kB / 0.5598 GB, free: 2.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1918, allocations: 0 / 0.5598 GB, free: 2.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1918, allocations: 7.938 kB / 0.5598 GB, free: 2.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1918, allocations: 0 / 0.5598 GB, free: 2.867 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005605/0.1923, allocations: 438.6 kB / 0.5602 GB, free: 2.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1924, allocations: 8.031 kB / 0.5602 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.1924, allocations: 16.84 kB / 0.5602 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1926, allocations: 211.8 kB / 0.5604 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.1926, allocations: 384 / 0.5604 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1927, allocations: 8.375 kB / 0.5604 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1928, allocations: 54.23 kB / 0.5605 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1928, allocations: 192 / 0.5605 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1929, allocations: 3.938 kB / 0.5605 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1929, allocations: 7.938 kB / 0.5605 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.193, allocations: 31.89 kB / 0.5605 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.1934, allocations: 296.8 kB / 0.5608 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.1935, allocations: 50.5 kB / 0.5608 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.1935, allocations: 24.92 kB / 0.5609 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1936, allocations: 0 / 0.5609 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1936, allocations: 30.56 kB / 0.5609 GB, free: 1.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1936, allocations: 0 / 0.5609 GB, free: 1.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009091/0.1945, allocations: 241 kB / 0.5611 GB, free: 1.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.1946, allocations: 55.39 kB / 0.5612 GB, free: 1.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.1949, allocations: 275.8 kB / 0.5614 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1949, allocations: 25.7 kB / 0.5615 GB, free: 0.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.195, allocations: 112.1 kB / 0.5616 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.195, allocations: 35.8 kB / 0.5616 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.195, allocations: 21.72 kB / 0.5616 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1952, allocations: 334.8 kB / 0.5619 GB, free: 416 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.1953, allocations: 19.98 kB / 0.562 GB, free: 396 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.1954, allocations: 31.97 kB / 0.562 GB, free: 364 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.1955, allocations: 56.78 kB / 0.562 GB, free: 304 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1955, allocations: 4 kB / 0.5621 GB, free: 300 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002191/0.1957, allocations: 101.6 kB / 0.5621 GB, free: 192 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1958, allocations: 8 kB / 0.5622 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1958, allocations: 0 / 0.5622 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1958, allocations: 0 / 0.5622 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1959, allocations: 19.98 kB / 0.5622 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1959, allocations: 320 / 0.5622 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.1959, allocations: 11.98 kB / 0.5622 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1959, allocations: 0 / 0.5622 GB, free: 152 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001309/0.1961, allocations: 145.8 kB / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.1961, allocations: 15.91 kB / 0.5623 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.1964, allocations: 118.9 kB / 0.5625 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1964, allocations: 4 kB / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1964, allocations: 4 kB / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1964, allocations: 0 / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.197, allocations: 419.2 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.197, allocations: 0 / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.1971, allocations: 23.94 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.1971, allocations: 0 / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1971, allocations: 7.922 kB / 0.5629 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.1971, allocations: 4 kB / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1971, allocations: 0 / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.1973, allocations: 208.3 kB / 0.5631 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.1974, allocations: 89.02 kB / 0.5632 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.1974, allocations: 15.81 kB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.1975, allocations: 4 kB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.1975, allocations: 11.92 kB / 0.5632 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1975, allocations: 4 kB / 0.5632 GB, free: 14.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.1977, allocations: 213.5 kB / 0.5634 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1977, allocations: 4 kB / 0.5634 GB, free: 14.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000245/0.198, allocations: 15.94 kB / 0.5634 GB, free: 14.75 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001675/0.1997, allocations: 452.6 kB / 0.5639 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1999, allocations: 63.95 kB / 0.5639 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1999, allocations: 0 / 0.5639 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.2, allocations: 31.92 kB / 0.564 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.2004, allocations: 23.77 kB / 0.564 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.201, allocations: 338.2 kB / 0.5643 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.2014, allocations: 0.7224 MB / 0.565 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.2014, allocations: 19.38 kB / 0.565 GB, free: 13.23 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2014, allocations: 0 / 0.565 GB, free: 13.23 MB / 430.1 MB Notification: Performance of Templates: time 0.004198/0.2056, allocations: 1.899 MB / 0.5669 GB, free: 11.33 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.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: 8.255112175131217]