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.001293/0.001293, allocations: 120.2 kB / 18.49 MB, free: 4.586 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.001477/0.001477, allocations: 215 kB / 21.45 MB, free: 1.641 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.468/1.468, allocations: 230.6 MB / 254.8 MB, free: 15.1 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 0.781/0.781, allocations: 120.6 MB / 431.4 MB, free: 148 kB / 350.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.001962/0.001962, allocations: 68.19 kB / 0.6027 GB, free: 11.04 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6411, allocations: 85.82 MB / 0.6865 GB, free: 11.47 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001453/0.6425, allocations: 412.8 kB / 0.6869 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004599/0.643, allocations: 231.5 kB / 0.6871 GB, free: 11 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.643, allocations: 0.9062 kB / 0.6871 GB, free: 11 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.6431, allocations: 3.938 kB / 0.6871 GB, free: 10.99 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.6432, allocations: 8.922 kB / 0.6871 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.6433, allocations: 32.22 kB / 0.6872 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.503e-05/0.6434, allocations: 12.47 kB / 0.6872 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.877e-05/0.6434, allocations: 5.828 kB / 0.6872 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.872e-05/0.6435, allocations: 2.781 kB / 0.6872 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.6435, allocations: 2.75 kB / 0.6872 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.6435, allocations: 0.9375 kB / 0.6872 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.6436, allocations: 36.8 kB / 0.6872 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.6436, allocations: 0.9375 kB / 0.6872 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.6437, allocations: 1.844 kB / 0.6872 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.6438, allocations: 34.47 kB / 0.6873 GB, free: 10.91 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6438, allocations: 4 kB / 0.6873 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.315e-06/0.6438, allocations: 0.9062 kB / 0.6873 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.6438, allocations: 0 / 0.6873 GB, free: 10.9 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.0003696/0.6442, allocations: 326.5 kB / 0.6876 GB, free: 10.54 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.6442, allocations: 13.19 kB / 0.6876 GB, free: 10.54 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.6442, allocations: 6.734 kB / 0.6876 GB, free: 10.54 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.236e-05/0.6443, allocations: 161.3 kB / 0.6877 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6443, allocations: 1.312 kB / 0.6877 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.6444, allocations: 1.281 kB / 0.6877 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.636e-05/0.6445, allocations: 46.81 kB / 0.6878 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.6445, allocations: 192 / 0.6878 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.6445, allocations: 4.844 kB / 0.6878 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6445, allocations: 0 / 0.6878 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/0.6445, allocations: 9.547 kB / 0.6878 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.6447, allocations: 153.4 kB / 0.6879 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.6449, allocations: 43.09 kB / 0.688 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.6449, allocations: 15.64 kB / 0.688 GB, free: 10.04 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.645, allocations: 0.9062 kB / 0.688 GB, free: 10.04 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.645, allocations: 31.5 kB / 0.688 GB, free: 10 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.645, allocations: 0 / 0.688 GB, free: 10 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001665/0.6451, allocations: 59.72 kB / 0.6881 GB, free: 9.949 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.6452, allocations: 52.31 kB / 0.6881 GB, free: 9.887 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.467e-05/0.6452, allocations: 104.6 kB / 0.6882 GB, free: 9.777 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.6452, allocations: 26.73 kB / 0.6883 GB, free: 9.746 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.6453, allocations: 84.14 kB / 0.6883 GB, free: 9.66 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.6453, allocations: 13.69 kB / 0.6884 GB, free: 9.648 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.6453, allocations: 25.33 kB / 0.6884 GB, free: 9.621 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.6454, allocations: 311.8 kB / 0.6887 GB, free: 9.309 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.6454, allocations: 7.688 kB / 0.6887 GB, free: 9.305 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.6454, allocations: 7.672 kB / 0.6887 GB, free: 9.301 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.531e-05/0.6455, allocations: 18.08 kB / 0.6887 GB, free: 9.289 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6455, allocations: 4 kB / 0.6887 GB, free: 9.285 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.977e-05/0.6455, allocations: 51.53 kB / 0.6888 GB, free: 9.242 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6456, allocations: 5.531 kB / 0.6888 GB, free: 9.242 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.6456, allocations: 3.938 kB / 0.6888 GB, free: 9.238 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6456, allocations: 0.9062 kB / 0.6888 GB, free: 9.238 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.512e-05/0.6456, allocations: 13.47 kB / 0.6888 GB, free: 9.23 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.6456, allocations: 4.922 kB / 0.6888 GB, free: 9.227 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.6457, allocations: 0.9062 kB / 0.6888 GB, free: 9.227 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.6457, allocations: 0.9375 kB / 0.6888 GB, free: 9.227 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 4.901e-05/0.6457, allocations: 109.4 kB / 0.6889 GB, free: 9.113 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.6457, allocations: 4.906 kB / 0.6889 GB, free: 9.109 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.6459, allocations: 73.42 kB / 0.689 GB, free: 9.043 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.6459, allocations: 0.9062 kB / 0.689 GB, free: 9.043 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6459, allocations: 0.9375 kB / 0.689 GB, free: 9.043 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6459, allocations: 0 / 0.689 GB, free: 9.043 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.57e-05/0.646, allocations: 164.9 kB / 0.6891 GB, free: 8.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.646, allocations: 0 / 0.6891 GB, free: 8.84 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.646, allocations: 16.22 kB / 0.6891 GB, free: 8.832 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.646, allocations: 0.9375 kB / 0.6892 GB, free: 8.832 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.646, allocations: 12.86 kB / 0.6892 GB, free: 8.82 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.646, allocations: 0 / 0.6892 GB, free: 8.82 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.646, allocations: 0.9062 kB / 0.6892 GB, free: 8.82 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.6462, allocations: 89.72 kB / 0.6892 GB, free: 8.742 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.6462, allocations: 86 kB / 0.6893 GB, free: 8.641 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.6462, allocations: 4.844 kB / 0.6893 GB, free: 8.637 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/0.6462, allocations: 4.922 kB / 0.6893 GB, free: 8.633 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.6463, allocations: 5.906 kB / 0.6893 GB, free: 8.629 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.6463, allocations: 5.906 kB / 0.6894 GB, free: 8.625 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 1.798e-05/0.6463, allocations: 77.12 kB / 0.6894 GB, free: 8.551 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.6463, allocations: 0 / 0.6894 GB, free: 8.551 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000212/0.6465, allocations: 16.25 kB / 0.6894 GB, free: 8.543 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.0001289/0.6466, allocations: 109.2 kB / 0.6895 GB, free: 8.441 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.6467, allocations: 25.83 kB / 0.6896 GB, free: 8.43 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.6467, allocations: 0.9375 kB / 0.6896 GB, free: 8.43 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.6468, allocations: 18.25 kB / 0.6896 GB, free: 8.422 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.6469, allocations: 10.31 kB / 0.6896 GB, free: 8.414 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.6472, allocations: 122.5 kB / 0.6897 GB, free: 8.293 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.6473, allocations: 0.6791 MB / 0.6904 GB, free: 7.594 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.645e-05/0.6474, allocations: 6.766 kB / 0.6904 GB, free: 7.59 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.6474, allocations: 11.12 kB / 0.6904 GB, free: 7.582 MB / 0.5139 GB Notification: Performance of SimCode: time 3.31e-07/0.6474, allocations: 4 kB / 0.6904 GB, free: 7.578 MB / 0.5139 GB Notification: Performance of Templates: time 0.00319/0.6506, allocations: 0.6168 MB / 0.691 GB, free: 7.258 MB / 0.5139 GB " [Timeout remaining time 299] 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.822513324965257]