Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.0007031/0.0007031, allocations: 91.62 kB / 21.44 MB, free: 3.102 MB / 18.57 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.0008106/0.0008106, allocations: 159.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8779/0.8779, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2466/0.2466, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.846e-05, allocations: 6.219 kB / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.1937/0.1938, allocations: 1.661 MB / 445.1 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1949, allocations: 1.246 MB / 446.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.195, allocations: 0 / 446.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.1952, allocations: 25.02 kB / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.1954, allocations: 88.7 kB / 446.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1956, allocations: 138.6 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.1957, allocations: 69.91 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.1958, allocations: 16.83 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.1959, allocations: 39.2 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.14e-05/0.196, allocations: 26.77 kB / 446.8 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.196, allocations: 5.719 kB / 446.8 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1961, allocations: 102.4 kB / 446.9 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.1962, allocations: 13.19 kB / 446.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.1962, allocations: 14.81 kB / 446.9 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.1964, allocations: 159.6 kB / 447 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1964, allocations: 0 / 447 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1964, allocations: 0 / 447 MB, free: 42.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1964, allocations: 0 / 447 MB, free: 42.86 MB / 410.7 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.0003388/0.1967, allocations: 336 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1967, allocations: 11.94 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.1968, allocations: 11.67 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1969, allocations: 135.7 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.1969, allocations: 1.094 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1969, allocations: 5.906 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1971, allocations: 102.5 kB / 447.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1971, allocations: 3.219 kB / 447.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1971, allocations: 4.125 kB / 447.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1971, allocations: 0 / 447.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.854e-05/0.1972, allocations: 42.36 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.1974, allocations: 234.8 kB / 447.9 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.634e-05/0.1974, allocations: 39.36 kB / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.1975, allocations: 30.77 kB / 448 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1975, allocations: 2.844 kB / 448 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.1975, allocations: 30.56 kB / 448 MB, free: 41.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1975, allocations: 0 / 448 MB, free: 41.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004411/0.198, allocations: 215.4 kB / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.198, allocations: 80.67 kB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.1981, allocations: 146.1 kB / 448.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.1981, allocations: 25.7 kB / 448.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.1981, allocations: 94.95 kB / 448.6 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.1981, allocations: 22.08 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.1981, allocations: 19.47 kB / 448.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.819e-05/0.1982, allocations: 325.2 kB / 448.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.124e-05/0.1982, allocations: 31.5 kB / 449 MB, free: 41.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.1983, allocations: 80.12 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.579e-05/0.1984, allocations: 70.02 kB / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1984, allocations: 0 / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001321/0.1985, allocations: 119.4 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1985, allocations: 8.844 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1985, allocations: 2.906 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1985, allocations: 0 / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.1986, allocations: 20.7 kB / 449.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1986, allocations: 7.094 kB / 449.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.951e-05/0.1986, allocations: 9.203 kB / 449.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1986, allocations: 4 kB / 449.3 MB, free: 41.08 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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 4.232e-05/0.1987, allocations: 124 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.1987, allocations: 13.22 kB / 449.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.1989, allocations: 120 kB / 449.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1989, allocations: 2.312 kB / 449.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1989, allocations: 0 / 449.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1989, allocations: 0 / 449.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1991, allocations: 339.1 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1991, allocations: 0 / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.1991, allocations: 24.11 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1991, allocations: 3.062 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1992, allocations: 3.938 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1992, allocations: 0 / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1992, allocations: 0 / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.1993, allocations: 215.4 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.1993, allocations: 6.797 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.1993, allocations: 6.156 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.1994, allocations: 12.95 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.1994, allocations: 9.219 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1994, allocations: 3.328 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.1994, allocations: 111.1 kB / 450.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1994, allocations: 0 / 450.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.1996, allocations: 48.56 kB / 450.3 MB, free: 40.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0007405/0.2004, allocations: 0.5332 MB / 450.8 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.2005, allocations: 79.06 kB / 450.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2005, allocations: 0 / 450.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.153e-05/0.2006, allocations: 41.11 kB / 450.9 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.2008, allocations: 16.06 kB / 451 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.2011, allocations: 221.9 kB / 451.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.644e-05/0.2011, allocations: 82.73 kB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.2012, allocations: 20.16 kB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2012, allocations: 0 / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of Templates: time 0.00237/0.2035, allocations: 2.133 MB / 453.4 MB, free: 39.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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: 4.709602501243353]