Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.001495/0.001495, allocations: 101.8 kB / 21.21 MB, free: 0.6328 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.001826/0.001826, allocations: 211 kB / 24.52 MB, free: 3.914 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.049/1.049, allocations: 120.6 MB / 435.3 MB, free: 0.6523 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.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [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.001969/0.001969, allocations: 67.89 kB / 0.6079 GB, free: 10.28 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1709, allocations: 85.86 MB / 0.6918 GB, free: 4.215 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.00153/0.1724, allocations: 420.4 kB / 0.6922 GB, free: 3.809 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0005983/0.173, allocations: 227.7 kB / 0.6924 GB, free: 3.586 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.173, allocations: 4 kB / 0.6924 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.1731, allocations: 0 / 0.6924 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.1732, allocations: 0 / 0.6924 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.1733, allocations: 31.89 kB / 0.6924 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.1734, allocations: 7.938 kB / 0.6924 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.8e-05/0.1734, allocations: 4 kB / 0.6924 GB, free: 3.539 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.217e-05/0.1735, allocations: 0 / 0.6924 GB, free: 3.539 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.1735, allocations: 15.92 kB / 0.6924 GB, free: 3.523 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1735, allocations: 0 / 0.6924 GB, free: 3.523 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-05/0.1736, allocations: 23.98 kB / 0.6925 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.1736, allocations: 11.97 kB / 0.6925 GB, free: 3.488 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.1737, allocations: 4 kB / 0.6925 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.1738, allocations: 23.86 kB / 0.6925 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1738, allocations: 0 / 0.6925 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1738, allocations: 0 / 0.6925 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1738, allocations: 0 / 0.6925 GB, free: 3.461 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003989/0.1742, allocations: 250.3 kB / 0.6927 GB, free: 3.184 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1742, allocations: 16.02 kB / 0.6928 GB, free: 3.168 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.1743, allocations: 0.9375 kB / 0.6928 GB, free: 3.168 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1744, allocations: 114.4 kB / 0.6929 GB, free: 3.031 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1744, allocations: 8.375 kB / 0.6929 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1744, allocations: 384 / 0.6929 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.1745, allocations: 38.19 kB / 0.6929 GB, free: 2.98 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1745, allocations: 192 / 0.6929 GB, free: 2.98 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1745, allocations: 3.938 kB / 0.6929 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1745, allocations: 4 kB / 0.6929 GB, free: 2.973 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.2e-05/0.1746, allocations: 8 kB / 0.6929 GB, free: 2.965 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.1747, allocations: 105.3 kB / 0.693 GB, free: 2.832 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.175, allocations: 46.55 kB / 0.6931 GB, free: 2.777 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.175, allocations: 12.91 kB / 0.6931 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.175, allocations: 4 kB / 0.6931 GB, free: 2.758 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1751, allocations: 38.64 kB / 0.6931 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1751, allocations: 0 / 0.6931 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001685/0.1752, allocations: 53.56 kB / 0.6932 GB, free: 2.652 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1753, allocations: 51.41 kB / 0.6932 GB, free: 2.59 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.1754, allocations: 101.8 kB / 0.6933 GB, free: 2.48 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1754, allocations: 25.7 kB / 0.6933 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.1754, allocations: 80.14 kB / 0.6934 GB, free: 2.367 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1755, allocations: 15.89 kB / 0.6934 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.1755, allocations: 17.72 kB / 0.6935 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1756, allocations: 315 kB / 0.6938 GB, free: 2.012 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.1757, allocations: 8 kB / 0.6938 GB, free: 2.004 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.1757, allocations: 7.984 kB / 0.6938 GB, free: 1.996 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.1757, allocations: 16.86 kB / 0.6938 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1757, allocations: 0 / 0.6938 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.654e-05/0.1758, allocations: 53.69 kB / 0.6938 GB, free: 1.918 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1758, allocations: 4 kB / 0.6938 GB, free: 1.914 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1758, allocations: 0 / 0.6938 GB, free: 1.914 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1759, allocations: 7.875 kB / 0.6939 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/0.1759, allocations: 11.98 kB / 0.6939 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1759, allocations: 0 / 0.6939 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.1759, allocations: 4 kB / 0.6939 GB, free: 1.891 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1759, allocations: 0 / 0.6939 GB, free: 1.891 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 (4): * Single equations (assignments): 4 * 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.913e-05/0.176, allocations: 113.8 kB / 0.694 GB, free: 1.77 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.176, allocations: 0 / 0.694 GB, free: 1.77 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.1762, allocations: 69.36 kB / 0.694 GB, free: 1.691 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1762, allocations: 3.938 kB / 0.694 GB, free: 1.688 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1762, allocations: 4.062 kB / 0.694 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1762, allocations: 4 kB / 0.6941 GB, free: 1.68 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.1763, allocations: 109.3 kB / 0.6942 GB, free: 1.543 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1763, allocations: 7.938 kB / 0.6942 GB, free: 1.535 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.1764, allocations: 16 kB / 0.6942 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1764, allocations: 0 / 0.6942 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1764, allocations: 0 / 0.6942 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1764, allocations: 3.938 kB / 0.6942 GB, free: 1.516 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.1764, allocations: 3.938 kB / 0.6942 GB, free: 1.512 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1766, allocations: 97.14 kB / 0.6943 GB, free: 1.398 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.1766, allocations: 4 kB / 0.6943 GB, free: 1.395 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1766, allocations: 0 / 0.6943 GB, free: 1.395 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.1766, allocations: 3.938 kB / 0.6943 GB, free: 1.391 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.1767, allocations: 11.92 kB / 0.6943 GB, free: 1.379 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1767, allocations: 4.062 kB / 0.6943 GB, free: 1.375 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.1767, allocations: 83.22 kB / 0.6944 GB, free: 1.293 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1767, allocations: 0 / 0.6944 GB, free: 1.293 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002057/0.1769, allocations: 12 kB / 0.6944 GB, free: 1.281 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.0001475/0.1771, allocations: 103.2 kB / 0.6945 GB, free: 1.168 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.1772, allocations: 20 kB / 0.6945 GB, free: 1.148 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1772, allocations: 0 / 0.6945 GB, free: 1.148 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 3.115e-05/0.1772, allocations: 19.92 kB / 0.6945 GB, free: 1.129 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.1773, allocations: 12.09 kB / 0.6945 GB, free: 1.117 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.1777, allocations: 129.9 kB / 0.6947 GB, free: 0.9648 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.164e-05/0.1777, allocations: 59.36 kB / 0.6947 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.1777, allocations: 7.984 kB / 0.6947 GB, free: 0.8789 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.1778, allocations: 11.44 kB / 0.6947 GB, free: 0.8672 MB / 0.5139 GB Notification: Performance of SimCode: time 3e-07/0.1778, allocations: 0 / 0.6947 GB, free: 0.8672 MB / 0.5139 GB Notification: Performance of Templates: time 0.003196/0.181, allocations: 0.6321 MB / 0.6954 GB, free: 252 kB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.774644702090882]