Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.000799/0.000799, 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.004284/0.004284, allocations: 163.2 kB / 24.7 MB, free: 9.426 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.85/0.85, allocations: 177.1 MB / 205 MB, free: 5.723 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.2589/0.2589, allocations: 32.78 MB / 294.2 MB, free: 1.191 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.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.835e-05, allocations: 2.281 kB / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00228/0.002309, allocations: 1.729 MB / 442.7 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.004034, allocations: 1.668 MB / 444.3 MB, free: 236 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.004152, allocations: 0 / 444.3 MB, free: 236 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.004453, allocations: 39.7 kB / 444.4 MB, free: 196 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.004827, allocations: 107.4 kB / 444.5 MB, free: 88 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.005035, allocations: 79.59 kB / 444.5 MB, free: 8 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.188/0.193, allocations: 103.2 kB / 444.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1932, allocations: 8.688 kB / 444.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1933, allocations: 61.47 kB / 444.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1934, allocations: 31.75 kB / 444.7 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1934, allocations: 5.719 kB / 444.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.1937, allocations: 104.9 kB / 444.9 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.987e-05/0.1937, allocations: 29.2 kB / 444.9 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.1938, allocations: 21.02 kB / 444.9 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.1941, allocations: 181.9 kB / 445.1 MB, free: 43.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1941, allocations: 0 / 445.1 MB, free: 43.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1941, allocations: 0 / 445.1 MB, free: 43.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1941, allocations: 0 / 445.1 MB, free: 43.92 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.0004641/0.1946, allocations: 353.8 kB / 445.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1946, allocations: 9.438 kB / 445.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.1947, allocations: 10.7 kB / 445.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.1949, allocations: 151.6 kB / 445.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1949, allocations: 3.625 kB / 445.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.195, allocations: 7.703 kB / 445.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1951, allocations: 101.4 kB / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1951, allocations: 2.875 kB / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1951, allocations: 0.5625 kB / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1951, allocations: 3.562 kB / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.355e-05/0.1952, allocations: 20.98 kB / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.1956, allocations: 229.4 kB / 446 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.1957, allocations: 66.47 kB / 446 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.1958, allocations: 17.05 kB / 446 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.1958, allocations: 0 / 446 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.1959, allocations: 72.58 kB / 446.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1959, allocations: 2.156 kB / 446.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005832/0.1965, allocations: 176 kB / 446.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1966, allocations: 80.05 kB / 446.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1967, allocations: 166.8 kB / 446.5 MB, free: 42.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1967, allocations: 31.98 kB / 446.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.1968, allocations: 96.77 kB / 446.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.1968, allocations: 29.34 kB / 446.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.1968, allocations: 26.28 kB / 446.7 MB, free: 42.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.1969, allocations: 325.9 kB / 447 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.1969, allocations: 21.89 kB / 447 MB, free: 42.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.197, allocations: 76.17 kB / 447.1 MB, free: 42.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.1971, allocations: 60.42 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1971, allocations: 0 / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001365/0.1972, allocations: 112.4 kB / 447.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1972, allocations: 2.969 kB / 447.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1972, allocations: 2.938 kB / 447.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1972, allocations: 0 / 447.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1973, allocations: 19.28 kB / 447.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.1974, allocations: 3.062 kB / 447.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.1974, allocations: 0 / 447.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1974, allocations: 6.156 kB / 447.3 MB, free: 42.3 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 8.075e-05/0.1975, allocations: 134.3 kB / 447.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.1975, allocations: 7.547 kB / 447.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.1977, allocations: 123.9 kB / 447.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1977, allocations: 6.875 kB / 447.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1977, allocations: 0 / 447.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1977, allocations: 0 / 447.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.198, allocations: 349.9 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.198, allocations: 2.844 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.198, allocations: 6.188 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.198, allocations: 2.625 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.198, allocations: 2.594 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.198, allocations: 0 / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.198, allocations: 3.562 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.1982, allocations: 216.7 kB / 448.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.1982, allocations: 13.17 kB / 448.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.1982, allocations: 2.594 kB / 448.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.1982, allocations: 9.375 kB / 448.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1983, allocations: 6.125 kB / 448.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1983, allocations: 6.781 kB / 448.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.153e-05/0.1984, allocations: 133.7 kB / 448.3 MB, free: 41.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1984, allocations: 0 / 448.3 MB, free: 41.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.1986, allocations: 57.08 kB / 448.4 MB, free: 41.65 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.0009825/0.1996, allocations: 0.5878 MB / 449 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.1997, allocations: 64.55 kB / 449 MB, free: 41.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1997, allocations: 0 / 449 MB, free: 41.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.1998, allocations: 32.72 kB / 449.1 MB, free: 41.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.2, allocations: 43.12 kB / 449.1 MB, free: 41.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.2004, allocations: 221.8 kB / 449.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.013e-05/0.2005, allocations: 101.9 kB / 449.4 MB, free: 41.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.2005, allocations: 20.34 kB / 449.4 MB, free: 41.22 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2005, allocations: 0 / 449.4 MB, free: 41.22 MB / 410.7 MB Notification: Performance of Templates: time 0.003072/0.2036, allocations: 2.474 MB / 451.9 MB, free: 40.94 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.237729633226991]