Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.00128/0.00128, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00563/0.00563, allocations: 157 kB / 24.69 MB, free: 9.43 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.8822/0.8822, allocations: 177.2 MB / 205 MB, free: 5.723 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.2454/0.2454, allocations: 34.25 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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 443.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.896e-05, allocations: 2.281 kB / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.1931/0.1931, allocations: 1.588 MB / 445 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1942, allocations: 1.256 MB / 446.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.1943, allocations: 2.844 kB / 446.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1944, allocations: 20.31 kB / 446.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.1947, allocations: 85.69 kB / 446.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.1949, allocations: 116.7 kB / 446.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.195, allocations: 70.16 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.1951, allocations: 14.81 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.13e-05/0.1951, allocations: 34.94 kB / 446.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.1952, allocations: 23.09 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1952, allocations: 9.094 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1953, allocations: 94.11 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.1954, allocations: 19.19 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.1954, allocations: 12.34 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1956, allocations: 143.3 kB / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1956, allocations: 0 / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1956, allocations: 0 / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1956, allocations: 0.5625 kB / 446.9 MB, free: 42.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000363/0.196, allocations: 330.5 kB / 447.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.196, allocations: 10.59 kB / 447.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1961, allocations: 7.609 kB / 447.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1962, allocations: 135.1 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.1962, allocations: 4.219 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1962, allocations: 6.656 kB / 447.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1963, allocations: 86.33 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1964, allocations: 4.141 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1964, allocations: 8.062 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1964, allocations: 0 / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.1964, allocations: 29.05 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.1967, allocations: 220.1 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1969, allocations: 52.83 kB / 447.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.1969, allocations: 20.31 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1969, allocations: 4.438 kB / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1969, allocations: 38.12 kB / 447.9 MB, free: 42.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1969, allocations: 0 / 447.9 MB, free: 42.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003991/0.1973, allocations: 149.9 kB / 448 MB, free: 42.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.1974, allocations: 79.67 kB / 448.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.1975, allocations: 146.2 kB / 448.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.1975, allocations: 32.23 kB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.1975, allocations: 90.34 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.1975, allocations: 18.33 kB / 448.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.1975, allocations: 23.59 kB / 448.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.504e-05/0.1976, allocations: 317.7 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.415e-05/0.1976, allocations: 24.94 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.1977, allocations: 62.14 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.971e-05/0.1977, allocations: 54.66 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1977, allocations: 3.938 kB / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001028/0.1978, allocations: 88.72 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1978, allocations: 5.781 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1978, allocations: 0 / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1979, allocations: 4.031 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.063e-05/0.1979, allocations: 14.88 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1979, allocations: 0 / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.1979, allocations: 9.328 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1979, allocations: 2.938 kB / 449 MB, free: 41.25 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 (5): * Single equations (assignments): 5 * 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.604e-05/0.198, allocations: 116.4 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.198, allocations: 9.859 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.1982, allocations: 104.9 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1982, allocations: 4 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1982, allocations: 0 / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1982, allocations: 0 / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.1984, allocations: 302.8 kB / 449.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1984, allocations: 0 / 449.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.1984, allocations: 14.67 kB / 449.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1984, allocations: 2.938 kB / 449.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1984, allocations: 0 / 449.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1984, allocations: 3.938 kB / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1984, allocations: 4 kB / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.1985, allocations: 186.3 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-06/0.1985, allocations: 7.953 kB / 449.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.1985, allocations: 6.688 kB / 449.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.1986, allocations: 6.234 kB / 449.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.1986, allocations: 2.906 kB / 449.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.1986, allocations: 0 / 449.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.189e-05/0.1987, allocations: 114.6 kB / 449.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1987, allocations: 0 / 449.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001952/0.1989, allocations: 35.06 kB / 449.9 MB, free: 40.54 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 (5): * Single equations (assignments): 5 * 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.000849/0.1997, allocations: 0.5372 MB / 450.4 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.1999, allocations: 58.78 kB / 450.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1999, allocations: 0 / 450.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.1999, allocations: 27.95 kB / 450.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.2002, allocations: 13.28 kB / 450.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.2005, allocations: 200.2 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.586e-05/0.2005, allocations: 88.19 kB / 450.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.2006, allocations: 16.19 kB / 450.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2006, allocations: 0 / 450.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of Templates: time 0.002578/0.2032, allocations: 1.999 MB / 452.8 MB, free: 39.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.6637610867619514]