Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.00128/0.00128, allocations: 101.9 kB / 21.21 MB, free: 0.6562 MB / 14.72 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.001476/0.001476, allocations: 213.1 kB / 24.51 MB, free: 3.945 MB / 14.72 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 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.032/1.032, allocations: 120.6 MB / 435.3 MB, free: 0.6602 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.89 kB / 0.6079 GB, free: 10.28 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1925, allocations: 85.86 MB / 0.6918 GB, free: 4.215 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001768/0.1943, allocations: 407.4 kB / 0.6921 GB, free: 3.824 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002391/0.1945, allocations: 27.89 kB / 0.6922 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.1945, allocations: 0 / 0.6922 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.1946, allocations: 0 / 0.6922 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.872e-05/0.1946, allocations: 0 / 0.6922 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.1948, allocations: 15.92 kB / 0.6922 GB, free: 3.781 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.83e-05/0.1949, allocations: 3.984 kB / 0.6922 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.1949, allocations: 0 / 0.6922 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.333e-05/0.1949, allocations: 4 kB / 0.6922 GB, free: 3.773 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/0.195, allocations: 0 / 0.6922 GB, free: 3.773 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.195, allocations: 7.938 kB / 0.6922 GB, free: 3.766 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.1951, allocations: 7.984 kB / 0.6922 GB, free: 3.758 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.1951, allocations: 4 kB / 0.6922 GB, free: 3.754 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.1951, allocations: 4 kB / 0.6922 GB, free: 3.75 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.725e-05/0.1952, allocations: 4 kB / 0.6922 GB, free: 3.746 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1952, allocations: 0 / 0.6922 GB, free: 3.746 MB / 0.5139 GB Notification: Performance of FrontEnd: time 5.59e-06/0.1952, allocations: 7.922 kB / 0.6922 GB, free: 3.738 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.1952, allocations: 0 / 0.6922 GB, free: 3.738 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000345/0.1955, allocations: 238.4 kB / 0.6925 GB, free: 3.473 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1956, allocations: 12.03 kB / 0.6925 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.1956, allocations: 4.938 kB / 0.6925 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1957, allocations: 106.5 kB / 0.6926 GB, free: 3.328 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1957, allocations: 4.312 kB / 0.6926 GB, free: 3.324 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1958, allocations: 4.375 kB / 0.6926 GB, free: 3.32 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1959, allocations: 34.25 kB / 0.6926 GB, free: 3.281 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1959, allocations: 192 / 0.6926 GB, free: 3.281 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1959, allocations: 3.938 kB / 0.6926 GB, free: 3.277 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1959, allocations: 4 kB / 0.6926 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.1959, allocations: 0 / 0.6926 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.1961, allocations: 101.3 kB / 0.6927 GB, free: 3.145 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.1961, allocations: 34.47 kB / 0.6928 GB, free: 3.102 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.1962, allocations: 12.92 kB / 0.6928 GB, free: 3.086 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.1964, allocations: 4 kB / 0.6928 GB, free: 3.082 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1964, allocations: 38.55 kB / 0.6928 GB, free: 3.035 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1964, allocations: 0 / 0.6928 GB, free: 3.035 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001416/0.1965, allocations: 41.64 kB / 0.6928 GB, free: 2.988 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1966, allocations: 51.41 kB / 0.6929 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.85e-05/0.1966, allocations: 89.86 kB / 0.693 GB, free: 2.828 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1967, allocations: 25.7 kB / 0.693 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.1967, allocations: 88.27 kB / 0.6931 GB, free: 2.707 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.1967, allocations: 7.891 kB / 0.6931 GB, free: 2.699 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1968, allocations: 17.7 kB / 0.6931 GB, free: 2.676 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.1969, allocations: 314.8 kB / 0.6934 GB, free: 2.359 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.1969, allocations: 3.938 kB / 0.6934 GB, free: 2.355 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.1969, allocations: 4 kB / 0.6934 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.197, allocations: 12.86 kB / 0.6934 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.197, allocations: 0 / 0.6934 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.266e-05/0.197, allocations: 37.69 kB / 0.6935 GB, free: 2.293 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.197, allocations: 4.094 kB / 0.6935 GB, free: 2.289 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.197, allocations: 4 kB / 0.6935 GB, free: 2.285 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1971, allocations: 4 kB / 0.6935 GB, free: 2.281 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.189e-05/0.1971, allocations: 7.922 kB / 0.6935 GB, free: 2.273 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1971, allocations: 0 / 0.6935 GB, free: 2.273 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.1971, allocations: 7.938 kB / 0.6935 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-06/0.1971, allocations: 0 / 0.6935 GB, free: 2.266 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.491e-05/0.1972, allocations: 109.8 kB / 0.6936 GB, free: 2.148 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.1972, allocations: 0 / 0.6936 GB, free: 2.148 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.1974, allocations: 52.8 kB / 0.6937 GB, free: 2.09 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1974, allocations: 7.875 kB / 0.6937 GB, free: 2.082 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1974, allocations: 4 kB / 0.6937 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1974, allocations: 0 / 0.6937 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.601e-05/0.1974, allocations: 93.33 kB / 0.6938 GB, free: 1.957 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1974, allocations: 3.984 kB / 0.6938 GB, free: 1.953 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.1975, allocations: 4 kB / 0.6938 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1975, allocations: 0 / 0.6938 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1975, allocations: 0 / 0.6938 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1975, allocations: 3.938 kB / 0.6938 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.1975, allocations: 7.938 kB / 0.6938 GB, free: 1.938 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.809e-05/0.1976, allocations: 73.05 kB / 0.6938 GB, free: 1.848 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-06/0.1976, allocations: 0 / 0.6938 GB, free: 1.848 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.1976, allocations: 4 kB / 0.6938 GB, free: 1.844 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.1976, allocations: 4 kB / 0.6938 GB, free: 1.84 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.1976, allocations: 3.938 kB / 0.6939 GB, free: 1.836 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1976, allocations: 0 / 0.6939 GB, free: 1.836 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.1977, allocations: 79.28 kB / 0.6939 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9e-08/0.1977, allocations: 0 / 0.6939 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002064/0.1979, allocations: 4 kB / 0.6939 GB, free: 1.754 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001402/0.198, allocations: 99.27 kB / 0.694 GB, free: 1.645 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.718e-05/0.1981, allocations: 11.94 kB / 0.694 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1981, allocations: 0 / 0.694 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.1981, allocations: 4 kB / 0.694 GB, free: 1.629 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.1982, allocations: 4 kB / 0.694 GB, free: 1.625 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.1984, allocations: 88.98 kB / 0.6941 GB, free: 1.512 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.486e-05/0.1985, allocations: 51.36 kB / 0.6942 GB, free: 1.441 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.1985, allocations: 8.125 kB / 0.6942 GB, free: 1.434 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.1985, allocations: 7.438 kB / 0.6942 GB, free: 1.426 MB / 0.5139 GB Notification: Performance of SimCode: time 2.81e-07/0.1985, allocations: 0 / 0.6942 GB, free: 1.426 MB / 0.5139 GB Notification: Performance of Templates: time 0.002486/0.201, allocations: 290.8 kB / 0.6945 GB, free: 1.145 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.754588500014506]