Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.000998/0.000998, 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.005229/0.005229, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.8829/0.8829, allocations: 177.2 MB / 205 MB, free: 5.719 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.2456/0.2456, allocations: 34.25 MB / 295.7 MB, free: 0.6914 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.237e-05, allocations: 2.281 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.193/0.193, allocations: 1.706 MB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009277/0.1939, allocations: 0.9738 MB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.194, allocations: 0 / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.1942, allocations: 52.67 kB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.1945, allocations: 98.55 kB / 446.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.1946, allocations: 78.81 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.1947, allocations: 111.5 kB / 446.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.441e-05/0.1948, allocations: 6.062 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.1948, allocations: 61.66 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.1949, allocations: 23.09 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1949, allocations: 3.375 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.24e-05/0.195, allocations: 49.11 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.195, allocations: 31.22 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.1951, allocations: 20.16 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1952, allocations: 122.6 kB / 446.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1952, allocations: 3.844 kB / 446.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1952, allocations: 0 / 446.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1952, allocations: 0 / 446.9 MB, free: 43.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003624/0.1956, allocations: 361.1 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1956, allocations: 12.34 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.1956, allocations: 16.78 kB / 447.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.1958, allocations: 157.2 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1958, allocations: 3.312 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1958, allocations: 5.547 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.808e-05/0.1959, allocations: 55.84 kB / 447.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1959, allocations: 4.812 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.196, allocations: 0 / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.196, allocations: 3.406 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.196, allocations: 26.47 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.1962, allocations: 240.4 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.1963, allocations: 53.56 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.1963, allocations: 27.55 kB / 447.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.1963, allocations: 2.625 kB / 447.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.6e-05/0.1964, allocations: 70.95 kB / 447.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.1964, allocations: 0 / 447.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.00034/0.1968, allocations: 185.8 kB / 448.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.1968, allocations: 54.09 kB / 448.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1969, allocations: 235.2 kB / 448.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.832e-06/0.1969, allocations: 32.23 kB / 448.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.197, allocations: 108.5 kB / 448.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.197, allocations: 28.62 kB / 448.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.197, allocations: 23.06 kB / 448.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.066e-05/0.197, allocations: 326.8 kB / 448.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.1971, allocations: 22.17 kB / 448.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.1971, allocations: 41.7 kB / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.908e-05/0.1972, allocations: 68.27 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1972, allocations: 0 / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.125e-05/0.1972, allocations: 107 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1973, allocations: 7 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1973, allocations: 0 / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1973, allocations: 2.594 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.1973, allocations: 25.7 kB / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.1973, allocations: 0 / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.1974, allocations: 2.75 kB / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1974, allocations: 6.969 kB / 449.1 MB, free: 41.25 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 (10): * Single equations (assignments): 10 * 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.107e-05/0.1974, allocations: 136.6 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.1974, allocations: 16.95 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.1976, allocations: 125.9 kB / 449.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1976, allocations: 2.969 kB / 449.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1976, allocations: 0 / 449.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1976, allocations: 0 / 449.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1978, allocations: 360.4 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1978, allocations: 0 / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.1978, allocations: 14.17 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1978, allocations: 0 / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.1978, allocations: 2.781 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1978, allocations: 1.406 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1978, allocations: 7.969 kB / 449.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.732e-05/0.1979, allocations: 216 kB / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.1979, allocations: 14.59 kB / 450 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1979, allocations: 10.22 kB / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.198, allocations: 2.844 kB / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.198, allocations: 6.25 kB / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.198, allocations: 2.906 kB / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.946e-05/0.1981, allocations: 180.1 kB / 450.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1981, allocations: 384 / 450.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.1982, allocations: 28.41 kB / 450.2 MB, free: 40.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0006771/0.1989, allocations: 0.4926 MB / 450.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.199, allocations: 61.75 kB / 450.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.199, allocations: 4.062 kB / 450.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.199, allocations: 32.17 kB / 450.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1993, allocations: 37.78 kB / 450.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.1996, allocations: 283.5 kB / 451.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.581e-05/0.1996, allocations: 101.1 kB / 451.2 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.1996, allocations: 24.28 kB / 451.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1996, allocations: 4.062 kB / 451.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of Templates: time 0.002128/0.2018, allocations: 2.081 MB / 453.3 MB, free: 39.72 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.826444930396974]