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.0008359/0.0008359, allocations: 113.7 kB / 20.43 MB, free: 4.598 MB / 13.93 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.0008832/0.0008832, allocations: 208.7 kB / 23.74 MB, free: 2.27 MB / 13.93 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.9826/0.9826, allocations: 230.6 MB / 257.5 MB, free: 9.832 MB / 202.7 MB " [Timeout remaining time 179] 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 0.814/0.814, allocations: 120.6 MB / 434.5 MB, free: 13.49 MB / 346.8 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.001395/0.001395, allocations: 70.06 kB / 0.6072 GB, free: 63.59 MB / 0.495 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1691, allocations: 85.87 MB / 0.6911 GB, free: 8.285 MB / 0.5106 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001366/0.1705, allocations: 419.8 kB / 0.6915 GB, free: 7.879 MB / 0.5106 GB Notification: Performance of NFInst.instExpressions: time 0.0004298/0.1709, allocations: 227.8 kB / 0.6917 GB, free: 7.656 MB / 0.5106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.171, allocations: 0 / 0.6917 GB, free: 7.656 MB / 0.5106 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.171, allocations: 0 / 0.6917 GB, free: 7.656 MB / 0.5106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1712, allocations: 11.91 kB / 0.6917 GB, free: 7.645 MB / 0.5106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.1713, allocations: 31.92 kB / 0.6917 GB, free: 7.613 MB / 0.5106 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.1713, allocations: 11.94 kB / 0.6917 GB, free: 7.602 MB / 0.5106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.1714, allocations: 7.984 kB / 0.6918 GB, free: 7.594 MB / 0.5106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.947e-05/0.1714, allocations: 7.922 kB / 0.6918 GB, free: 7.586 MB / 0.5106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.1715, allocations: 4 kB / 0.6918 GB, free: 7.582 MB / 0.5106 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1715, allocations: 0 / 0.6918 GB, free: 7.582 MB / 0.5106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.1716, allocations: 31.97 kB / 0.6918 GB, free: 7.551 MB / 0.5106 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.1716, allocations: 0 / 0.6918 GB, free: 7.551 MB / 0.5106 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.1716, allocations: 7.875 kB / 0.6918 GB, free: 7.543 MB / 0.5106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.1717, allocations: 31.89 kB / 0.6918 GB, free: 7.512 MB / 0.5106 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1717, allocations: 3.938 kB / 0.6918 GB, free: 7.508 MB / 0.5106 GB Notification: Performance of FrontEnd: time 2.685e-06/0.1717, allocations: 4 kB / 0.6918 GB, free: 7.504 MB / 0.5106 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.1717, allocations: 0 / 0.6918 GB, free: 7.504 MB / 0.5106 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.0003452/0.1721, allocations: 250.3 kB / 0.6921 GB, free: 7.227 MB / 0.5106 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1721, allocations: 12.03 kB / 0.6921 GB, free: 7.215 MB / 0.5106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1722, allocations: 0.9375 kB / 0.6921 GB, free: 7.215 MB / 0.5106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.442e-05/0.1722, allocations: 106.5 kB / 0.6922 GB, free: 7.086 MB / 0.5106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1723, allocations: 4.375 kB / 0.6922 GB, free: 7.082 MB / 0.5106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.1723, allocations: 384 / 0.6922 GB, free: 7.082 MB / 0.5106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.258e-05/0.1724, allocations: 42.25 kB / 0.6922 GB, free: 7.035 MB / 0.5106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1724, allocations: 4.125 kB / 0.6922 GB, free: 7.031 MB / 0.5106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1724, allocations: 3.938 kB / 0.6922 GB, free: 7.027 MB / 0.5106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1724, allocations: 0 / 0.6922 GB, free: 7.027 MB / 0.5106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.983e-05/0.1724, allocations: 11.98 kB / 0.6923 GB, free: 7.016 MB / 0.5106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.1726, allocations: 120.8 kB / 0.6924 GB, free: 6.855 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1728, allocations: 42.59 kB / 0.6924 GB, free: 6.805 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.1728, allocations: 16.92 kB / 0.6924 GB, free: 6.785 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.1728, allocations: 0 / 0.6924 GB, free: 6.785 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.1728, allocations: 34.5 kB / 0.6925 GB, free: 6.742 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1728, allocations: 0 / 0.6925 GB, free: 6.742 MB / 0.5106 GB Notification: Performance of matching and sorting (n=3): time 0.0001381/0.173, allocations: 53.7 kB / 0.6925 GB, free: 6.684 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.173, allocations: 55.41 kB / 0.6926 GB, free: 6.617 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.679e-05/0.1731, allocations: 97.84 kB / 0.6927 GB, free: 6.512 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.1731, allocations: 25.7 kB / 0.6927 GB, free: 6.48 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.1731, allocations: 88.27 kB / 0.6928 GB, free: 6.391 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.1731, allocations: 7.906 kB / 0.6928 GB, free: 6.383 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.1732, allocations: 21.7 kB / 0.6928 GB, free: 6.355 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.1732, allocations: 310.8 kB / 0.6931 GB, free: 6.043 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.1733, allocations: 8 kB / 0.6931 GB, free: 6.035 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.234e-05/0.1733, allocations: 4 kB / 0.6931 GB, free: 6.031 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.738e-05/0.1733, allocations: 24.78 kB / 0.6931 GB, free: 6.004 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1733, allocations: 0 / 0.6931 GB, free: 6.004 MB / 0.5106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.802e-05/0.1734, allocations: 57.69 kB / 0.6932 GB, free: 5.941 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1734, allocations: 7.938 kB / 0.6932 GB, free: 5.934 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1734, allocations: 3.938 kB / 0.6932 GB, free: 5.93 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1734, allocations: 0 / 0.6932 GB, free: 5.93 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-05/0.1734, allocations: 8 kB / 0.6932 GB, free: 5.922 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1735, allocations: 0 / 0.6932 GB, free: 5.922 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.164e-05/0.1735, allocations: 0 / 0.6932 GB, free: 5.922 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1735, allocations: 7.922 kB / 0.6932 GB, free: 5.914 MB / 0.5106 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 6.465e-05/0.1735, allocations: 113.8 kB / 0.6933 GB, free: 5.793 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-06/0.1735, allocations: 4 kB / 0.6933 GB, free: 5.789 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.1737, allocations: 81.22 kB / 0.6934 GB, free: 5.699 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1737, allocations: 0 / 0.6934 GB, free: 5.699 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1737, allocations: 8.062 kB / 0.6934 GB, free: 5.691 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1737, allocations: 0 / 0.6934 GB, free: 5.691 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.564e-05/0.1738, allocations: 140.7 kB / 0.6935 GB, free: 5.512 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.1738, allocations: 0 / 0.6935 GB, free: 5.512 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.1738, allocations: 8 kB / 0.6935 GB, free: 5.504 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1738, allocations: 0 / 0.6935 GB, free: 5.504 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1738, allocations: 3.938 kB / 0.6936 GB, free: 5.5 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.1738, allocations: 4 kB / 0.6936 GB, free: 5.496 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1738, allocations: 0 / 0.6936 GB, free: 5.496 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.1739, allocations: 105.1 kB / 0.6937 GB, free: 5.375 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.1739, allocations: 0 / 0.6937 GB, free: 5.375 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.174, allocations: 3.938 kB / 0.6937 GB, free: 5.371 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.174, allocations: 0 / 0.6937 GB, free: 5.371 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.174, allocations: 7.984 kB / 0.6937 GB, free: 5.363 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.174, allocations: 4.062 kB / 0.6937 GB, free: 5.359 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 2.85e-05/0.174, allocations: 83.28 kB / 0.6938 GB, free: 5.277 MB / 0.5106 GB Notification: Performance of sort global known variables: time 5e-08/0.174, allocations: 0 / 0.6938 GB, free: 5.277 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.0001396/0.1742, allocations: 8 kB / 0.6938 GB, free: 5.27 MB / 0.5106 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.0001214/0.1743, allocations: 103.2 kB / 0.6939 GB, free: 5.156 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 9.094e-05/0.1744, allocations: 27.92 kB / 0.6939 GB, free: 5.129 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1744, allocations: 0 / 0.6939 GB, free: 5.129 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.1744, allocations: 12 kB / 0.6939 GB, free: 5.117 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.1745, allocations: 19.12 kB / 0.6939 GB, free: 5.102 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.1748, allocations: 129.5 kB / 0.694 GB, free: 4.949 MB / 0.5106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.175, allocations: 0.6806 MB / 0.6947 GB, free: 4.242 MB / 0.5106 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.175, allocations: 4 kB / 0.6947 GB, free: 4.238 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.1751, allocations: 11.44 kB / 0.6947 GB, free: 4.227 MB / 0.5106 GB Notification: Performance of SimCode: time 4.41e-07/0.1751, allocations: 0 / 0.6947 GB, free: 4.227 MB / 0.5106 GB Notification: Performance of Templates: time 0.002161/0.1772, allocations: 0.6483 MB / 0.6953 GB, free: 3.59 MB / 0.5106 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/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: 4.31593390298076]