Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.0008077/0.0008077, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.004033/0.004033, allocations: 158.8 kB / 24.7 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.9065/0.9065, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2326/0.2326, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 4 kB / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.957e-05, allocations: 8.047 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002442/0.002471, allocations: 1.587 MB / 442.5 MB, free: 2.121 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003635, allocations: 1.239 MB / 443.7 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.003691, allocations: 0 / 443.7 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.003927, allocations: 23.84 kB / 443.7 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.004207, allocations: 87.5 kB / 443.8 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.004399, allocations: 95.77 kB / 443.9 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.004544, allocations: 79.69 kB / 444 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.004649, allocations: 4 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.004715, allocations: 35.91 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.004818, allocations: 27.91 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.004835, allocations: 4 kB / 444 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.004957, allocations: 87.88 kB / 444.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.005007, allocations: 15.92 kB / 444.2 MB, free: 436 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.005032, allocations: 15.88 kB / 444.2 MB, free: 420 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.005245, allocations: 147.5 kB / 444.3 MB, free: 272 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005246, allocations: 0 / 444.3 MB, free: 272 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005248, allocations: 0 / 444.3 MB, free: 272 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005253, allocations: 0 / 444.3 MB, free: 272 kB / 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.1878/0.193, allocations: 327.8 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1931, allocations: 11.94 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.1931, allocations: 7.734 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1932, allocations: 135.2 kB / 444.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.1932, allocations: 384 / 444.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.1933, allocations: 7.781 kB / 444.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1934, allocations: 87.81 kB / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1934, allocations: 6.641 kB / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1934, allocations: 0.75 kB / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1934, allocations: 0 / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.094e-05/0.1935, allocations: 27.55 kB / 444.9 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.1937, allocations: 218.5 kB / 445.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1938, allocations: 44.28 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.1939, allocations: 16.66 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1939, allocations: 0 / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.197e-05/0.1939, allocations: 34.44 kB / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1939, allocations: 0.7188 kB / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003629/0.1943, allocations: 146.2 kB / 445.4 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.1943, allocations: 82.7 kB / 445.4 MB, free: 46.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.1944, allocations: 145.7 kB / 445.6 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.1944, allocations: 26.27 kB / 445.6 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.1944, allocations: 93.98 kB / 445.7 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.1944, allocations: 19.31 kB / 445.7 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.1944, allocations: 21.8 kB / 445.7 MB, free: 45.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.167e-05/0.1945, allocations: 317.9 kB / 446.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.1945, allocations: 20.69 kB / 446.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.1945, allocations: 59.28 kB / 446.1 MB, free: 45.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.218e-05/0.1946, allocations: 46.45 kB / 446.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1946, allocations: 0 / 446.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.128e-05/0.1947, allocations: 93.31 kB / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1947, allocations: 5.688 kB / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1947, allocations: 3 kB / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1947, allocations: 0 / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.961e-05/0.1948, allocations: 13.91 kB / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.1948, allocations: 0 / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.1948, allocations: 6.062 kB / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1948, allocations: 8.562 kB / 446.3 MB, free: 45.51 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.098e-05/0.1948, allocations: 117.3 kB / 446.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.1949, allocations: 13.77 kB / 446.4 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.195, allocations: 90.62 kB / 446.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.195, allocations: 3.031 kB / 446.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.195, allocations: 0 / 446.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.195, allocations: 2.906 kB / 446.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.1952, allocations: 297.8 kB / 446.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1952, allocations: 3.125 kB / 446.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.1952, allocations: 11.34 kB / 446.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1952, allocations: 2.656 kB / 446.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1952, allocations: 3.438 kB / 446.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1952, allocations: 2.188 kB / 446.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1952, allocations: 0 / 446.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.183e-05/0.1953, allocations: 182.4 kB / 447 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.1953, allocations: 13.48 kB / 447 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.1953, allocations: 0 / 447 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.497e-05/0.1954, allocations: 5.375 kB / 447 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.1954, allocations: 3.234 kB / 447 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-06/0.1954, allocations: 4.781 kB / 447 MB, free: 44.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.993e-05/0.1955, allocations: 111.5 kB / 447.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1955, allocations: 0 / 447.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.1957, allocations: 42.94 kB / 447.2 MB, free: 44.91 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.0007997/0.1965, allocations: 0.5219 MB / 447.7 MB, free: 44.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.1966, allocations: 52.94 kB / 447.8 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1966, allocations: 0 / 447.8 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-05/0.1966, allocations: 22.5 kB / 447.8 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.1969, allocations: 21.73 kB / 447.8 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.1972, allocations: 188.8 kB / 448 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.976e-05/0.1972, allocations: 83.11 kB / 448.1 MB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.1972, allocations: 24.98 kB / 448.1 MB, free: 44.49 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1972, allocations: 4.594 kB / 448.1 MB, free: 44.48 MB / 410.7 MB Notification: Performance of Templates: time 0.002368/0.1996, allocations: 1.961 MB / 450.1 MB, free: 44.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.040155933238566]