Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.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.001228/0.001228, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.006902/0.006902, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.9002/0.9002, allocations: 177.1 MB / 205 MB, free: 5.73 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.2753/0.2753, allocations: 34.25 MB / 295.7 MB, free: 0.7227 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.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 443.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.525e-05, allocations: 2.281 kB / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.1909/0.1909, allocations: 1.899 MB / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1921, allocations: 0.9991 MB / 446.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-05/0.1922, allocations: 5.969 kB / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.1924, allocations: 51.27 kB / 446.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.1927, allocations: 104.9 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.1929, allocations: 93.2 kB / 446.7 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1931, allocations: 150.9 kB / 446.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1932, allocations: 21.19 kB / 446.8 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.1933, allocations: 76.64 kB / 446.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.1934, allocations: 42.16 kB / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1934, allocations: 5.531 kB / 447 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.1935, allocations: 54.58 kB / 447 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.1936, allocations: 31.66 kB / 447 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.1936, allocations: 29.94 kB / 447.1 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1938, allocations: 153.7 kB / 447.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1938, allocations: 0 / 447.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1938, allocations: 1.938 kB / 447.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1938, allocations: 2.719 kB / 447.2 MB, free: 42.84 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004478/0.1943, allocations: 414 kB / 447.6 MB, free: 42.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1943, allocations: 10.62 kB / 447.6 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.1943, allocations: 17.94 kB / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1946, allocations: 168.8 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1946, allocations: 9.969 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1946, allocations: 5.688 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1948, allocations: 144.8 kB / 448 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1948, allocations: 3.938 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1948, allocations: 0 / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1948, allocations: 2.688 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.125e-05/0.1949, allocations: 53.55 kB / 448 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.1952, allocations: 452.3 kB / 448.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1954, allocations: 88.97 kB / 448.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.1955, allocations: 36.69 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1955, allocations: 6.516 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.1956, allocations: 109.2 kB / 448.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1956, allocations: 0 / 448.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002343/0.1959, allocations: 154.6 kB / 448.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.1959, allocations: 54.69 kB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.196, allocations: 198.5 kB / 449.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.196, allocations: 28.61 kB / 449.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.196, allocations: 124.2 kB / 449.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.196, allocations: 25.69 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.1961, allocations: 29.19 kB / 449.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.293e-05/0.1961, allocations: 332 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.1962, allocations: 36.25 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.066e-05/0.1962, allocations: 64 kB / 449.7 MB, free: 40.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/0.1963, allocations: 101.6 kB / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1963, allocations: 0 / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001445/0.1965, allocations: 139.9 kB / 450 MB, free: 40.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1965, allocations: 9.125 kB / 450 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1965, allocations: 2.812 kB / 450 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1965, allocations: 6.203 kB / 450 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.1965, allocations: 28.05 kB / 450 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1966, allocations: 2.75 kB / 450 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.1966, allocations: 9.438 kB / 450 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.1966, allocations: 2.781 kB / 450 MB, free: 40.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.565e-05/0.1967, allocations: 134.2 kB / 450.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.1967, allocations: 16.25 kB / 450.2 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.1969, allocations: 136.9 kB / 450.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1969, allocations: 3.375 kB / 450.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1969, allocations: 0 / 450.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1969, allocations: 1.75 kB / 450.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.69e-05/0.197, allocations: 157 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.197, allocations: 2.75 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.197, allocations: 18.03 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.197, allocations: 3.938 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.197, allocations: 8 kB / 450.5 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.197, allocations: 2.781 kB / 450.5 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.197, allocations: 0 / 450.5 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.1972, allocations: 191.5 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.1972, allocations: 14.78 kB / 450.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1972, allocations: 5.703 kB / 450.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.761e-05/0.1973, allocations: 8.906 kB / 450.7 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.1973, allocations: 9.594 kB / 450.7 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1973, allocations: 12.67 kB / 450.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.508e-05/0.1974, allocations: 144.3 kB / 450.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1974, allocations: 2.906 kB / 450.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000155/0.1975, allocations: 27.61 kB / 450.9 MB, free: 40.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006603/0.1982, allocations: 432.2 kB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1983, allocations: 84.47 kB / 451.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1983, allocations: 0 / 451.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.914e-05/0.1984, allocations: 38.17 kB / 451.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.1986, allocations: 52.12 kB / 451.5 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.1989, allocations: 287.1 kB / 451.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/0.199, allocations: 101.8 kB / 451.9 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.199, allocations: 24.03 kB / 451.9 MB, free: 39.54 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.199, allocations: 4 kB / 451.9 MB, free: 39.54 MB / 410.7 MB Notification: Performance of Templates: time 0.002814/0.2018, allocations: 2.269 MB / 454.2 MB, free: 39.31 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.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: 5.030488457530737]