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.001415/0.001415, allocations: 109 kB / 21.18 MB, free: 0.7656 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.001618/0.001618, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.005/1.005, allocations: 120.6 MB / 435.2 MB, free: 0.8711 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.002115/0.002115, allocations: 67.89 kB / 0.608 GB, free: 10.47 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1572, allocations: 85.86 MB / 0.6918 GB, free: 4.406 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001743/0.1589, allocations: 428.4 kB / 0.6922 GB, free: 3.992 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.000531/0.1594, allocations: 227.7 kB / 0.6924 GB, free: 3.77 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.1595, allocations: 4 kB / 0.6924 GB, free: 3.766 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.1595, allocations: 4 kB / 0.6924 GB, free: 3.762 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.1596, allocations: 7.938 kB / 0.6924 GB, free: 3.754 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.1598, allocations: 31.89 kB / 0.6925 GB, free: 3.723 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.014e-05/0.1598, allocations: 4 kB / 0.6925 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.1599, allocations: 7.938 kB / 0.6925 GB, free: 3.711 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.122e-05/0.1599, allocations: 0 / 0.6925 GB, free: 3.711 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.1599, allocations: 11.97 kB / 0.6925 GB, free: 3.699 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.16, allocations: 0 / 0.6925 GB, free: 3.699 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.1601, allocations: 27.98 kB / 0.6925 GB, free: 3.672 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.1601, allocations: 11.92 kB / 0.6925 GB, free: 3.66 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.1601, allocations: 0 / 0.6925 GB, free: 3.66 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.1602, allocations: 31.84 kB / 0.6926 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1602, allocations: 0 / 0.6926 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1602, allocations: 0 / 0.6926 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1602, allocations: 3.938 kB / 0.6926 GB, free: 3.625 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.0003768/0.1606, allocations: 250.3 kB / 0.6928 GB, free: 3.348 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1606, allocations: 8.031 kB / 0.6928 GB, free: 3.34 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.1607, allocations: 8.922 kB / 0.6928 GB, free: 3.332 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1608, allocations: 106.5 kB / 0.6929 GB, free: 3.203 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1608, allocations: 4.375 kB / 0.6929 GB, free: 3.199 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.1608, allocations: 8.375 kB / 0.6929 GB, free: 3.191 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1609, allocations: 38.23 kB / 0.693 GB, free: 3.148 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1609, allocations: 192 / 0.693 GB, free: 3.148 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.161, allocations: 3.938 kB / 0.693 GB, free: 3.145 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.161, allocations: 0 / 0.693 GB, free: 3.145 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.161, allocations: 8 kB / 0.693 GB, free: 3.137 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.1612, allocations: 120.8 kB / 0.6931 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.1615, allocations: 54.55 kB / 0.6932 GB, free: 2.914 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.1615, allocations: 9 kB / 0.6932 GB, free: 2.902 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.1615, allocations: 4 kB / 0.6932 GB, free: 2.898 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1615, allocations: 34.5 kB / 0.6932 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1615, allocations: 0 / 0.6932 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0002034/0.1617, allocations: 53.56 kB / 0.6933 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.1618, allocations: 55.41 kB / 0.6933 GB, free: 2.73 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.1619, allocations: 101.8 kB / 0.6934 GB, free: 2.621 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1619, allocations: 25.7 kB / 0.6934 GB, free: 2.59 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.162, allocations: 84.14 kB / 0.6935 GB, free: 2.504 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.162, allocations: 11.91 kB / 0.6935 GB, free: 2.492 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.162, allocations: 13.72 kB / 0.6935 GB, free: 2.473 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1622, allocations: 314.8 kB / 0.6938 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.1622, allocations: 11.94 kB / 0.6938 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.569e-05/0.1622, allocations: 8.125 kB / 0.6939 GB, free: 2.137 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/0.1623, allocations: 20.84 kB / 0.6939 GB, free: 2.113 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1623, allocations: 0 / 0.6939 GB, free: 2.113 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000114/0.1624, allocations: 57.62 kB / 0.6939 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1624, allocations: 4 kB / 0.6939 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1624, allocations: 3.938 kB / 0.6939 GB, free: 2.043 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1624, allocations: 0 / 0.6939 GB, free: 2.043 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.141e-05/0.1625, allocations: 8 kB / 0.6939 GB, free: 2.035 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1625, allocations: 0 / 0.6939 GB, free: 2.035 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.1625, allocations: 0 / 0.6939 GB, free: 2.035 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.1625, allocations: 4 kB / 0.6939 GB, free: 2.031 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 9.531e-05/0.1626, allocations: 117.8 kB / 0.6941 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.1626, allocations: 3.984 kB / 0.6941 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.1628, allocations: 73.25 kB / 0.6941 GB, free: 1.82 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1628, allocations: 0 / 0.6941 GB, free: 1.82 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1628, allocations: 4 kB / 0.6941 GB, free: 1.816 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1628, allocations: 4.312 kB / 0.6941 GB, free: 1.812 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.163, allocations: 136.7 kB / 0.6943 GB, free: 1.637 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.163, allocations: 8 kB / 0.6943 GB, free: 1.629 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.163, allocations: 8 kB / 0.6943 GB, free: 1.621 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.163, allocations: 0 / 0.6943 GB, free: 1.621 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.1631, allocations: 3.938 kB / 0.6943 GB, free: 1.617 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1631, allocations: 0 / 0.6943 GB, free: 1.617 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1631, allocations: 3.984 kB / 0.6943 GB, free: 1.613 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.1633, allocations: 101 kB / 0.6944 GB, free: 1.496 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.1633, allocations: 4.031 kB / 0.6944 GB, free: 1.492 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1633, allocations: 8 kB / 0.6944 GB, free: 1.484 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.1633, allocations: 0 / 0.6944 GB, free: 1.484 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.1633, allocations: 7.984 kB / 0.6944 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1633, allocations: 0 / 0.6944 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.1634, allocations: 83.28 kB / 0.6945 GB, free: 1.395 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9e-08/0.1634, allocations: 3.938 kB / 0.6945 GB, free: 1.391 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002387/0.1636, allocations: 8 kB / 0.6945 GB, free: 1.383 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.000161/0.1638, allocations: 107.1 kB / 0.6946 GB, free: 1.266 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.1639, allocations: 24.09 kB / 0.6946 GB, free: 1.242 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1639, allocations: 4 kB / 0.6946 GB, free: 1.238 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.933e-05/0.1639, allocations: 15.92 kB / 0.6946 GB, free: 1.223 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.1641, allocations: 9.688 kB / 0.6947 GB, free: 1.215 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.1645, allocations: 151.2 kB / 0.6948 GB, free: 1.035 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.1649, allocations: 0.6807 MB / 0.6955 GB, free: 336 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.1649, allocations: 11.44 kB / 0.6955 GB, free: 324 kB / 0.5139 GB Notification: Performance of SimCode: time 6.01e-07/0.1649, allocations: 4 kB / 0.6955 GB, free: 320 kB / 0.5139 GB Notification: Performance of Templates: time 0.002883/0.1678, allocations: 0.7227 MB / 0.6962 GB, free: 15.59 MB / 0.5295 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: 8.040362311992794]