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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 112.9 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 188.4 kB / 23.71 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.063/1.063, allocations: 120.6 MB / 428.3 MB, free: 5.555 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.89 kB / 0.5989 GB, free: 16.84 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1936, allocations: 84.68 MB / 0.6816 GB, free: 11.95 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001718/0.1954, allocations: 416.9 kB / 0.682 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.000596/0.196, allocations: 226.4 kB / 0.6822 GB, free: 11.32 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.196, allocations: 4 kB / 0.6822 GB, free: 11.31 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.196, allocations: 3.938 kB / 0.6822 GB, free: 11.31 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.1962, allocations: 0 / 0.6822 GB, free: 11.31 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.1964, allocations: 31.89 kB / 0.6823 GB, free: 11.28 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.1964, allocations: 7.938 kB / 0.6823 GB, free: 11.27 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.622e-05/0.1965, allocations: 7.938 kB / 0.6823 GB, free: 11.26 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.1965, allocations: 3.938 kB / 0.6823 GB, free: 11.26 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.1966, allocations: 11.98 kB / 0.6823 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1966, allocations: 0 / 0.6823 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1967, allocations: 23.98 kB / 0.6823 GB, free: 11.22 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.1968, allocations: 3.984 kB / 0.6823 GB, free: 11.22 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.1968, allocations: 7.938 kB / 0.6823 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1969, allocations: 23.91 kB / 0.6823 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1969, allocations: 0 / 0.6823 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1969, allocations: 0 / 0.6823 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1969, allocations: 0 / 0.6823 GB, free: 11.19 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.0004641/0.1974, allocations: 256.9 kB / 0.6826 GB, free: 10.91 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1974, allocations: 12.92 kB / 0.6826 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.1975, allocations: 0.9375 kB / 0.6826 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1976, allocations: 118.4 kB / 0.6827 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1976, allocations: 4.375 kB / 0.6827 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1976, allocations: 384 / 0.6827 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1978, allocations: 42.19 kB / 0.6828 GB, free: 10.7 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1978, allocations: 192 / 0.6828 GB, free: 10.7 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1978, allocations: 7.922 kB / 0.6828 GB, free: 10.7 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1978, allocations: 0 / 0.6828 GB, free: 10.7 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.1978, allocations: 11.98 kB / 0.6828 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.198, allocations: 128.8 kB / 0.6829 GB, free: 10.52 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.1983, allocations: 42.56 kB / 0.6829 GB, free: 10.46 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.1983, allocations: 16.86 kB / 0.683 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1983, allocations: 0 / 0.683 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1984, allocations: 30.56 kB / 0.683 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1984, allocations: 0 / 0.683 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001917/0.1986, allocations: 61.66 kB / 0.683 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.1986, allocations: 55.41 kB / 0.6831 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.1987, allocations: 89.86 kB / 0.6832 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1987, allocations: 25.7 kB / 0.6832 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.1988, allocations: 88.14 kB / 0.6833 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.1988, allocations: 3.953 kB / 0.6833 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.1988, allocations: 21.7 kB / 0.6833 GB, free: 10.02 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.199, allocations: 310.8 kB / 0.6836 GB, free: 9.711 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.199, allocations: 8.062 kB / 0.6836 GB, free: 9.703 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.199, allocations: 15.98 kB / 0.6836 GB, free: 9.688 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.1991, allocations: 16.86 kB / 0.6837 GB, free: 9.668 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1991, allocations: 0 / 0.6837 GB, free: 9.668 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.345e-05/0.1992, allocations: 53.64 kB / 0.6837 GB, free: 9.609 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1992, allocations: 7.938 kB / 0.6837 GB, free: 9.602 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1992, allocations: 3.938 kB / 0.6837 GB, free: 9.598 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1992, allocations: 0 / 0.6837 GB, free: 9.598 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.1992, allocations: 11.98 kB / 0.6837 GB, free: 9.586 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1992, allocations: 3.938 kB / 0.6837 GB, free: 9.582 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.1993, allocations: 0 / 0.6837 GB, free: 9.582 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1993, allocations: 12 kB / 0.6837 GB, free: 9.57 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.766e-05/0.1994, allocations: 105.8 kB / 0.6838 GB, free: 9.457 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.1994, allocations: 0 / 0.6838 GB, free: 9.457 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.1995, allocations: 77.23 kB / 0.6839 GB, free: 9.371 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1995, allocations: 4 kB / 0.6839 GB, free: 9.367 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1995, allocations: 0 / 0.6839 GB, free: 9.367 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1995, allocations: 0 / 0.6839 GB, free: 9.367 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.1997, allocations: 136.7 kB / 0.684 GB, free: 9.191 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1997, allocations: 0 / 0.684 GB, free: 9.191 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.1997, allocations: 11.94 kB / 0.6841 GB, free: 9.18 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1998, allocations: 3.984 kB / 0.6841 GB, free: 9.176 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1998, allocations: 7.938 kB / 0.6841 GB, free: 9.168 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1998, allocations: 4.062 kB / 0.6841 GB, free: 9.164 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1998, allocations: 0 / 0.6841 GB, free: 9.164 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.2, allocations: 97.41 kB / 0.6842 GB, free: 9.051 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.2, allocations: 64 / 0.6842 GB, free: 9.051 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2, allocations: 15.92 kB / 0.6842 GB, free: 9.035 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.2, allocations: 0 / 0.6842 GB, free: 9.035 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.2, allocations: 8.016 kB / 0.6842 GB, free: 9.027 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2, allocations: 0 / 0.6842 GB, free: 9.027 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.2001, allocations: 79.28 kB / 0.6843 GB, free: 8.949 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.2001, allocations: 0 / 0.6843 GB, free: 8.949 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002205/0.2003, allocations: 15.98 kB / 0.6843 GB, free: 8.934 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.0001555/0.2004, allocations: 99.28 kB / 0.6844 GB, free: 8.824 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2006, allocations: 23.98 kB / 0.6844 GB, free: 8.801 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2006, allocations: 0 / 0.6844 GB, free: 8.801 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.2006, allocations: 16 kB / 0.6844 GB, free: 8.785 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.2007, allocations: 0 / 0.6844 GB, free: 8.785 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.2011, allocations: 137.4 kB / 0.6845 GB, free: 8.625 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.2014, allocations: 0.6844 MB / 0.6852 GB, free: 7.914 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.2014, allocations: 8 kB / 0.6852 GB, free: 7.906 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.2014, allocations: 11.44 kB / 0.6852 GB, free: 7.895 MB / 0.5139 GB Notification: Performance of SimCode: time 2.91e-07/0.2014, allocations: 0 / 0.6852 GB, free: 7.895 MB / 0.5139 GB Notification: Performance of Templates: time 0.003289/0.2047, allocations: 0.6063 MB / 0.6858 GB, free: 7.297 MB / 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/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: 5.8037283681333065]