Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.0007677/0.0007677, 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.003431/0.003431, allocations: 160.5 kB / 24.7 MB, free: 9.426 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.8308/0.8308, allocations: 177.1 MB / 205 MB, free: 5.734 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.2108/0.2108, allocations: 34.26 MB / 295.7 MB, free: 0.707 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.CombiTable2Dv.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.973e-05, allocations: 6.281 kB / 443.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.191/0.191, allocations: 1.664 MB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007186/0.1917, allocations: 0.5658 MB / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.1918, allocations: 6.5 kB / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.192, allocations: 67.2 kB / 445.8 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.1922, allocations: 96.77 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.1924, allocations: 180.4 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1926, allocations: 91.44 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1927, allocations: 13.45 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.1927, allocations: 47.44 kB / 446.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.1928, allocations: 45.17 kB / 446.2 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1928, allocations: 3.531 kB / 446.2 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.1929, allocations: 57.94 kB / 446.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.193, allocations: 26.61 kB / 446.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.193, allocations: 21.16 kB / 446.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1932, allocations: 111.6 kB / 446.5 MB, free: 43.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1932, allocations: 6.438 kB / 446.5 MB, free: 43.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1932, allocations: 3.938 kB / 446.5 MB, free: 43.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1932, allocations: 0 / 446.5 MB, free: 43.36 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003497/0.1935, allocations: 343 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1935, allocations: 8.125 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.1936, allocations: 14.5 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1937, allocations: 144.8 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1937, allocations: 2.938 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1937, allocations: 3.25 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1939, allocations: 68.75 kB / 447 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1939, allocations: 192 / 447 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1939, allocations: 7.594 kB / 447 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1939, allocations: 0 / 447 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.818e-05/0.194, allocations: 43.78 kB / 447.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.1942, allocations: 263.8 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.1944, allocations: 63.75 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.1944, allocations: 36.12 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1945, allocations: 0 / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.1945, allocations: 34.69 kB / 447.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.1945, allocations: 0 / 447.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007975/0.1953, allocations: 426.9 kB / 447.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.1953, allocations: 54.12 kB / 447.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1954, allocations: 192.7 kB / 448.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.1954, allocations: 25.7 kB / 448.2 MB, free: 42.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.1954, allocations: 109 kB / 448.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1955, allocations: 32.83 kB / 448.3 MB, free: 42.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.1955, allocations: 25.06 kB / 448.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.285e-05/0.1955, allocations: 328.9 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.1956, allocations: 58.52 kB / 448.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.1957, allocations: 52.17 kB / 448.7 MB, free: 41.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1958, allocations: 128.5 kB / 448.9 MB, free: 41.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1958, allocations: 0 / 448.9 MB, free: 41.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001705/0.196, allocations: 172.9 kB / 449 MB, free: 41.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.196, allocations: 5.562 kB / 449 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.196, allocations: 3.281 kB / 449.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.196, allocations: 0 / 449.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.1961, allocations: 29.66 kB / 449.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1961, allocations: 0 / 449.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.1961, allocations: 15.8 kB / 449.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1961, allocations: 3.938 kB / 449.1 MB, free: 41.54 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 (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 5.488e-05/0.1962, allocations: 135.5 kB / 449.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.1962, allocations: 14.67 kB / 449.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.1964, allocations: 186.4 kB / 449.4 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1964, allocations: 2.938 kB / 449.4 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1964, allocations: 0 / 449.4 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1964, allocations: 0 / 449.4 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.1967, allocations: 450 kB / 449.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1967, allocations: 2.906 kB / 449.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.905e-05/0.1968, allocations: 31.17 kB / 449.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1968, allocations: 0 / 449.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1968, allocations: 2.844 kB / 449.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1968, allocations: 3.938 kB / 449.9 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1968, allocations: 2.875 kB / 449.9 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.197, allocations: 279.8 kB / 450.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.197, allocations: 6.609 kB / 450.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.197, allocations: 10.12 kB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.488e-05/0.197, allocations: 13.05 kB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1971, allocations: 10.3 kB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1971, allocations: 2.906 kB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.491e-05/0.1971, allocations: 153.3 kB / 450.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1971, allocations: 0 / 450.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.1973, allocations: 28.42 kB / 450.4 MB, free: 40.68 MB / 410.7 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.0007375/0.198, allocations: 494.4 kB / 450.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1982, allocations: 130.6 kB / 451 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1982, allocations: 2.938 kB / 451 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.049e-05/0.1983, allocations: 63.22 kB / 451.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.1986, allocations: 26.05 kB / 451.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.199, allocations: 336.5 kB / 451.4 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.511e-05/0.199, allocations: 106.9 kB / 451.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.1991, allocations: 20.45 kB / 451.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1991, allocations: 0 / 451.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of Templates: time 0.002406/0.2015, allocations: 2.14 MB / 453.7 MB, free: 39.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.5628672344610095]