Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.000729/0.000729, 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.002928/0.002928, allocations: 160.4 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.8772/0.8772, allocations: 177.1 MB / 205 MB, free: 5.738 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.2722/0.2722, allocations: 34.25 MB / 295.7 MB, free: 0.6758 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.522e-05, allocations: 2.281 kB / 443.5 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.1913/0.1914, allocations: 1.67 MB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1926, allocations: 0.9513 MB / 446.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.1927, allocations: 0 / 446.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.193, allocations: 72.66 kB / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.1933, allocations: 112.3 kB / 446.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.1934, allocations: 66.62 kB / 446.4 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1935, allocations: 117.8 kB / 446.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.1936, allocations: 6.203 kB / 446.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.1937, allocations: 46.3 kB / 446.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.1938, allocations: 54.81 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.1938, allocations: 3 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.1938, allocations: 39.42 kB / 446.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.1939, allocations: 23.94 kB / 446.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.1939, allocations: 13.31 kB / 446.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1941, allocations: 104.4 kB / 446.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1941, allocations: 2.906 kB / 446.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1941, allocations: 0 / 446.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1941, allocations: 0 / 446.8 MB, free: 43.13 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003919/0.1945, allocations: 342.9 kB / 447.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1945, allocations: 9.5 kB / 447.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.1945, allocations: 11.78 kB / 447.2 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1947, allocations: 143.7 kB / 447.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1947, allocations: 7.5 kB / 447.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.1948, allocations: 4.375 kB / 447.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1949, allocations: 54.11 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1949, allocations: 3.938 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1949, allocations: 0 / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1949, allocations: 2.875 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.1949, allocations: 16.22 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.1951, allocations: 133.9 kB / 447.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.1952, allocations: 50.02 kB / 447.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.1952, allocations: 21.7 kB / 447.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1952, allocations: 2.938 kB / 447.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.1953, allocations: 64.73 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1954, allocations: 2.844 kB / 447.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001938/0.1955, allocations: 107 kB / 447.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.1956, allocations: 53.88 kB / 447.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1957, allocations: 199.1 kB / 448 MB, free: 42.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.1957, allocations: 25.7 kB / 448 MB, free: 42.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.1957, allocations: 105 kB / 448.1 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.1957, allocations: 14.78 kB / 448.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.1958, allocations: 19.59 kB / 448.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.656e-05/0.1958, allocations: 324.2 kB / 448.5 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.1958, allocations: 19.47 kB / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.1958, allocations: 28.42 kB / 448.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.598e-05/0.1959, allocations: 48.31 kB / 448.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1959, allocations: 0 / 448.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.11e-05/0.196, allocations: 84.31 kB / 448.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.196, allocations: 5.312 kB / 448.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.196, allocations: 3.938 kB / 448.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.196, allocations: 2.594 kB / 448.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.1961, allocations: 11.94 kB / 448.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1961, allocations: 6.719 kB / 448.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.1961, allocations: 10.8 kB / 448.7 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1961, allocations: 0 / 448.7 MB, free: 41.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.463e-05/0.1962, allocations: 131.2 kB / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.1962, allocations: 10.92 kB / 448.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.1964, allocations: 100.5 kB / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1964, allocations: 2.844 kB / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1964, allocations: 0 / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1964, allocations: 3.328 kB / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.586e-05/0.1965, allocations: 124.9 kB / 449.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1965, allocations: 0 / 449.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.1965, allocations: 6.281 kB / 449.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1965, allocations: 2.844 kB / 449.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1965, allocations: 7.125 kB / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1965, allocations: 11.88 kB / 449.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1965, allocations: 0 / 449.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.031e-05/0.1966, allocations: 116 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.1966, allocations: 10.08 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1966, allocations: 0 / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.1966, allocations: 9.125 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1967, allocations: 3.281 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1967, allocations: 2.969 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.586e-05/0.1967, allocations: 155.6 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1967, allocations: 0 / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.1969, allocations: 22.5 kB / 449.4 MB, free: 41.01 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: 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 (6): * Single equations (assignments): 4 * 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.0007589/0.1976, allocations: 443.4 kB / 449.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.1977, allocations: 49.08 kB / 449.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1977, allocations: 0 / 449.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.1978, allocations: 20.95 kB / 449.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.1979, allocations: 27.69 kB / 449.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.1984, allocations: 237.8 kB / 450.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.474e-05/0.1985, allocations: 97.34 kB / 450.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.1985, allocations: 14.34 kB / 450.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1985, allocations: 0 / 450.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of Templates: time 0.002781/0.2013, allocations: 1.77 MB / 452 MB, free: 40.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.627401920966804]