Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.0008816/0.0008816, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004739/0.004739, allocations: 159.7 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8948/0.8948, allocations: 177 MB / 204.9 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.264/0.264, allocations: 34.24 MB / 295.6 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.848e-05, allocations: 2.281 kB / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.1867/0.1867, allocations: 1.975 MB / 445.4 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1879, allocations: 1.092 MB / 446.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.188, allocations: 6.719 kB / 446.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.1884, allocations: 275.4 kB / 446.8 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.1888, allocations: 261.8 kB / 447 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008468/0.1896, allocations: 0.6507 MB / 447.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.1899, allocations: 373.6 kB / 448.1 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1901, allocations: 46.27 kB / 448.1 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1902, allocations: 182 kB / 448.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1904, allocations: 201.3 kB / 448.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.1904, allocations: 12.72 kB / 448.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1905, allocations: 83.78 kB / 448.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1906, allocations: 101.8 kB / 448.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.1907, allocations: 53.75 kB / 448.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.191, allocations: 333 kB / 449 MB, free: 42.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.191, allocations: 0 / 449 MB, free: 42.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.191, allocations: 2.812 kB / 449 MB, free: 42.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.191, allocations: 0 / 449 MB, free: 42.06 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004917/0.1915, allocations: 0.5891 MB / 449.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1915, allocations: 8.562 kB / 449.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.1916, allocations: 44.53 kB / 449.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1918, allocations: 270.2 kB / 449.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1918, allocations: 14.03 kB / 450 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1918, allocations: 14.12 kB / 450 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.192, allocations: 123.7 kB / 450.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.192, allocations: 3.094 kB / 450.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.192, allocations: 4.375 kB / 450.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.192, allocations: 3.125 kB / 450.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1922, allocations: 98.3 kB / 450.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.1926, allocations: 423.8 kB / 450.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1927, allocations: 111 kB / 450.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.1927, allocations: 40.55 kB / 450.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.1928, allocations: 2.906 kB / 450.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.1928, allocations: 37.42 kB / 450.8 MB, free: 40.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.255e-06/0.1928, allocations: 0 / 450.8 MB, free: 40.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006297/0.1934, allocations: 459.4 kB / 451.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.1934, allocations: 51.41 kB / 451.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.1938, allocations: 0.5744 MB / 451.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.1938, allocations: 29.7 kB / 451.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.1939, allocations: 209 kB / 452.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1939, allocations: 56.73 kB / 452.2 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.1939, allocations: 35.45 kB / 452.2 MB, free: 40.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.194, allocations: 355.6 kB / 452.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/0.194, allocations: 68.25 kB / 452.6 MB, free: 39.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.1941, allocations: 71.64 kB / 452.7 MB, free: 39.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1943, allocations: 153 kB / 452.8 MB, free: 39.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1943, allocations: 4 kB / 452.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000205/0.1945, allocations: 236.2 kB / 453.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1945, allocations: 5.781 kB / 453.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1945, allocations: 0 / 453.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1945, allocations: 7.359 kB / 453.1 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1946, allocations: 33.38 kB / 453.1 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1946, allocations: 2.844 kB / 453.1 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.1946, allocations: 12.8 kB / 453.1 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1947, allocations: 12.58 kB / 453.1 MB, free: 39.5 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 (17): * Single equations (assignments): 17 * 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 9.822e-05/0.1948, allocations: 181 kB / 453.3 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.1948, allocations: 41.59 kB / 453.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.1951, allocations: 286.4 kB / 453.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1951, allocations: 6.75 kB / 453.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1951, allocations: 0 / 453.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1951, allocations: 3.281 kB / 453.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.1956, allocations: 0.5865 MB / 454.2 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1956, allocations: 0 / 454.2 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.1956, allocations: 32.17 kB / 454.3 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1956, allocations: 0 / 454.3 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1956, allocations: 6.781 kB / 454.3 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1956, allocations: 2.812 kB / 454.3 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1956, allocations: 3.938 kB / 454.3 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.1958, allocations: 343.2 kB / 454.6 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.1959, allocations: 28.42 kB / 454.6 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1959, allocations: 8 kB / 454.7 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.715e-05/0.1959, allocations: 9.031 kB / 454.7 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.196, allocations: 10.23 kB / 454.7 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.196, allocations: 8.906 kB / 454.7 MB, free: 38.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002223/0.1962, allocations: 427.8 kB / 455.1 MB, free: 38.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1962, allocations: 0 / 455.1 MB, free: 38.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.1964, allocations: 49.84 kB / 455.1 MB, free: 38.42 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 (17): * Single equations (assignments): 17 * 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.001155/0.1975, allocations: 0.7497 MB / 455.9 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.1978, allocations: 158.8 kB / 456 MB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1978, allocations: 2.969 kB / 456.1 MB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.1978, allocations: 85.34 kB / 456.1 MB, free: 38.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1982, allocations: 73.36 kB / 456.2 MB, free: 38.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.1989, allocations: 0.7492 MB / 457 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.199, allocations: 218.5 kB / 457.2 MB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.1991, allocations: 42.72 kB / 457.2 MB, free: 37.51 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1991, allocations: 0 / 457.2 MB, free: 37.51 MB / 410.7 MB Notification: Performance of Templates: time 0.004542/0.2036, allocations: 4.977 MB / 462.2 MB, free: 36.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.329496705904603]