Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 123.4 kB / 17.79 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 204.3 kB / 20.74 MB, free: 2.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.634/1.634, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2496/0.2496, allocations: 46.93 MB / 357.1 MB, free: 10.4 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00339/0.00339, allocations: 63.91 kB / 0.4914 GB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1847, allocations: 66 MB / 0.5559 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003847/0.1886, allocations: 1.682 MB / 0.5575 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1898, allocations: 0.5844 MB / 0.5581 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1899, allocations: 0 / 0.5581 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.1903, allocations: 79.69 kB / 0.5582 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.1907, allocations: 107.6 kB / 0.5583 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.1912, allocations: 171.1 kB / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.1914, allocations: 99.73 kB / 0.5585 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1915, allocations: 16.16 kB / 0.5585 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.1916, allocations: 43.89 kB / 0.5586 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.1917, allocations: 55.77 kB / 0.5586 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1918, allocations: 4 kB / 0.5586 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1919, allocations: 55.95 kB / 0.5587 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.992e-05/0.192, allocations: 27.92 kB / 0.5587 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.192, allocations: 39.69 kB / 0.5588 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1923, allocations: 123.4 kB / 0.5589 GB, free: 2.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1923, allocations: 0 / 0.5589 GB, free: 2.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1923, allocations: 0 / 0.5589 GB, free: 2.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1923, allocations: 0 / 0.5589 GB, free: 2.301 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006396/0.1929, allocations: 434.6 kB / 0.5593 GB, free: 1.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.193, allocations: 8.031 kB / 0.5593 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.193, allocations: 12.89 kB / 0.5593 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1933, allocations: 212 kB / 0.5595 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1933, allocations: 4.375 kB / 0.5595 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.1933, allocations: 8.375 kB / 0.5595 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.1935, allocations: 73.72 kB / 0.5596 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1936, allocations: 0 / 0.5596 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1936, allocations: 0 / 0.5596 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1936, allocations: 3.984 kB / 0.5596 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.1937, allocations: 51.89 kB / 0.5597 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.1943, allocations: 324.8 kB / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.1945, allocations: 58.64 kB / 0.56 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.727e-05/0.1946, allocations: 28.91 kB / 0.56 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1946, allocations: 3.984 kB / 0.56 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.1947, allocations: 42.56 kB / 0.5601 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1947, allocations: 0 / 0.5601 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00166/0.1963, allocations: 424.9 kB / 0.5605 GB, free: 488 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.1964, allocations: 55.34 kB / 0.5605 GB, free: 420 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.1966, allocations: 226.3 kB / 0.5608 GB, free: 184 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1966, allocations: 25.7 kB / 0.5608 GB, free: 152 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.1967, allocations: 100.1 kB / 0.5609 GB, free: 48 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.1967, allocations: 39.62 kB / 0.5609 GB, free: 8 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.1968, allocations: 25.7 kB / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.197, allocations: 326.8 kB / 0.5613 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.1971, allocations: 55.95 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1973, allocations: 55.91 kB / 0.5614 GB, free: 15.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.1976, allocations: 125.1 kB / 0.5615 GB, free: 15.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1976, allocations: 0 / 0.5615 GB, free: 15.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003811/0.1979, allocations: 173.4 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.198, allocations: 9.875 kB / 0.5617 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.198, allocations: 0 / 0.5617 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.198, allocations: 0 / 0.5617 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1981, allocations: 35.84 kB / 0.5617 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1981, allocations: 4 kB / 0.5617 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.075e-05/0.1982, allocations: 11.98 kB / 0.5617 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1982, allocations: 4 kB / 0.5617 GB, free: 15.18 MB / 430.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 (11): * Single equations (assignments): 11 * 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.0001239/0.1983, allocations: 136 kB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.1984, allocations: 15.91 kB / 0.5619 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/0.1988, allocations: 187.5 kB / 0.562 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1989, allocations: 3.938 kB / 0.562 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1989, allocations: 0 / 0.562 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1989, allocations: 11.86 kB / 0.5621 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.1997, allocations: 0.5077 MB / 0.5625 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1997, allocations: 0 / 0.5625 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.1998, allocations: 35.91 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1998, allocations: 0 / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1998, allocations: 0 / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1998, allocations: 4 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1998, allocations: 4.062 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.2003, allocations: 277 kB / 0.5629 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.2004, allocations: 85.06 kB / 0.5629 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.2004, allocations: 4 kB / 0.5629 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2005, allocations: 15.98 kB / 0.563 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.2006, allocations: 7.984 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.2006, allocations: 8 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.2007, allocations: 168.2 kB / 0.5631 GB, free: 13.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2007, allocations: 0 / 0.5631 GB, free: 13.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.201, allocations: 24 kB / 0.5632 GB, free: 13.58 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001801/0.2028, allocations: 463.6 kB / 0.5636 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004033/0.2032, allocations: 115.9 kB / 0.5637 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2032, allocations: 4 kB / 0.5637 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.2034, allocations: 67.89 kB / 0.5638 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.2038, allocations: 32.03 kB / 0.5638 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.2046, allocations: 340.6 kB / 0.5641 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.205, allocations: 0.7158 MB / 0.5648 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.2051, allocations: 32.52 kB / 0.5649 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.2051, allocations: 27.42 kB / 0.5649 GB, free: 11.92 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2051, allocations: 0 / 0.5649 GB, free: 11.92 MB / 430.1 MB Notification: Performance of Templates: time 0.005384/0.2105, allocations: 1.657 MB / 0.5665 GB, free: 10.27 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.3429135382175446]