Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.0008889/0.0008889, 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.003658/0.003658, allocations: 163.5 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.9131/0.9131, allocations: 177.2 MB / 205 MB, free: 5.742 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.256/0.256, allocations: 32.78 MB / 294.2 MB, free: 1.199 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.092e-05, allocations: 10.16 kB / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002184/0.002205, allocations: 1.715 MB / 442.7 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003385, allocations: 0.9742 MB / 443.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.003468, allocations: 7.938 kB / 443.6 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.003793, allocations: 43.77 kB / 443.7 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.004066, allocations: 107.4 kB / 443.8 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.004207, allocations: 79.66 kB / 443.9 MB, free: 0.707 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.004365, allocations: 107.6 kB / 444 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.004466, allocations: 7.984 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.09e-05/0.004547, allocations: 55.83 kB / 444 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.004619, allocations: 27.91 kB / 444.1 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.004635, allocations: 4 kB / 444.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-05/0.004711, allocations: 43.92 kB / 444.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.004771, allocations: 35.86 kB / 444.1 MB, free: 440 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.00481, allocations: 23.86 kB / 444.2 MB, free: 416 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.005011, allocations: 135.5 kB / 444.3 MB, free: 280 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005013, allocations: 3.938 kB / 444.3 MB, free: 276 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.005015, allocations: 0 / 444.3 MB, free: 276 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.00502, allocations: 0 / 444.3 MB, free: 276 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.1896/0.1946, allocations: 364.4 kB / 444.7 MB, free: 46.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1946, allocations: 10.8 kB / 444.7 MB, free: 46.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.1947, allocations: 22.8 kB / 444.7 MB, free: 46.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1949, allocations: 155.9 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1949, allocations: 7.281 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1949, allocations: 3.609 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.195, allocations: 57 kB / 444.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.195, allocations: 0 / 444.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.195, allocations: 2.625 kB / 444.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.195, allocations: 0 / 444.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.204e-05/0.1951, allocations: 30.39 kB / 444.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.1953, allocations: 236.8 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1954, allocations: 55.66 kB / 445.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.1955, allocations: 21.25 kB / 445.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.1955, allocations: 0 / 445.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.36e-05/0.1956, allocations: 72.22 kB / 445.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.1956, allocations: 0 / 445.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003833/0.196, allocations: 206.9 kB / 445.5 MB, free: 46.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.196, allocations: 51.41 kB / 445.6 MB, free: 46.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1961, allocations: 277.6 kB / 445.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.1961, allocations: 29.45 kB / 445.9 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.1962, allocations: 115.1 kB / 446 MB, free: 45.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.1962, allocations: 27.78 kB / 446 MB, free: 45.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.1962, allocations: 25.12 kB / 446 MB, free: 45.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.375e-05/0.1963, allocations: 326.3 kB / 446.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.1963, allocations: 25.97 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/0.1963, allocations: 34.22 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.245e-05/0.1964, allocations: 63.38 kB / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1964, allocations: 0 / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.83e-05/0.1965, allocations: 116.1 kB / 446.6 MB, free: 45.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1965, allocations: 5.562 kB / 446.6 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1965, allocations: 0 / 446.6 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1965, allocations: 2.906 kB / 446.6 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.1966, allocations: 21.58 kB / 446.6 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1966, allocations: 2.812 kB / 446.6 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.1966, allocations: 10.7 kB / 446.6 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1966, allocations: 3.094 kB / 446.6 MB, free: 45.49 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.514e-05/0.1967, allocations: 134.4 kB / 446.8 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.1967, allocations: 24.05 kB / 446.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.1968, allocations: 123.1 kB / 446.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1968, allocations: 2.75 kB / 446.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1968, allocations: 6.078 kB / 446.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1968, allocations: 0 / 446.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.1971, allocations: 364.8 kB / 447.3 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1971, allocations: 0 / 447.3 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.1971, allocations: 14.48 kB / 447.3 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1971, allocations: 0 / 447.3 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1971, allocations: 6.969 kB / 447.3 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1971, allocations: 0 / 447.3 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1971, allocations: 0 / 447.3 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.1972, allocations: 219.2 kB / 447.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.1972, allocations: 15.81 kB / 447.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1972, allocations: 3.234 kB / 447.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.1973, allocations: 6.688 kB / 447.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.1973, allocations: 10.64 kB / 447.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1973, allocations: 5.156 kB / 447.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.483e-05/0.1974, allocations: 211.9 kB / 447.8 MB, free: 44.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1974, allocations: 0 / 447.8 MB, free: 44.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.1975, allocations: 29.72 kB / 447.8 MB, free: 44.7 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.0006727/0.1982, allocations: 491.6 kB / 448.3 MB, free: 44.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.1983, allocations: 61.44 kB / 448.3 MB, free: 44.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1983, allocations: 4 kB / 448.3 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.767e-05/0.1984, allocations: 28.59 kB / 448.4 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.1986, allocations: 44.8 kB / 448.4 MB, free: 44.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.1989, allocations: 319.5 kB / 448.7 MB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.044e-05/0.199, allocations: 109.5 kB / 448.8 MB, free: 44.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.199, allocations: 25.14 kB / 448.8 MB, free: 44.23 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.199, allocations: 0 / 448.8 MB, free: 44.23 MB / 410.7 MB Notification: Performance of Templates: time 0.002303/0.2013, allocations: 2.176 MB / 451 MB, free: 43.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.8763015773147345]