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.001626/0.001626, allocations: 74.42 kB / 21.24 MB, free: 0.5547 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.001714/0.001714, allocations: 166.6 kB / 24.51 MB, free: 3.715 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.41/1.41, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.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.9507/0.9507, allocations: 88.07 MB / 349.3 MB, free: 1.367 MB / 318.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.002103/0.002103, allocations: 67.23 kB / 0.524 GB, free: 8.266 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1924, allocations: 85.85 MB / 0.6078 GB, free: 4.898 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001925/0.1944, allocations: 409.1 kB / 0.6082 GB, free: 4.5 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0005917/0.1949, allocations: 222.5 kB / 0.6084 GB, free: 4.285 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.195, allocations: 0 / 0.6084 GB, free: 4.285 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.195, allocations: 3.938 kB / 0.6084 GB, free: 4.281 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.1952, allocations: 4 kB / 0.6084 GB, free: 4.277 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.1953, allocations: 39.89 kB / 0.6084 GB, free: 4.238 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.1954, allocations: 7.938 kB / 0.6085 GB, free: 4.23 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.1955, allocations: 0 / 0.6085 GB, free: 4.23 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.1955, allocations: 8 kB / 0.6085 GB, free: 4.223 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.1955, allocations: 15.91 kB / 0.6085 GB, free: 4.207 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1956, allocations: 0 / 0.6085 GB, free: 4.207 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1957, allocations: 19.98 kB / 0.6085 GB, free: 4.188 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.1957, allocations: 7.938 kB / 0.6085 GB, free: 4.18 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.1957, allocations: 0 / 0.6085 GB, free: 4.18 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1958, allocations: 35.83 kB / 0.6085 GB, free: 4.145 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1958, allocations: 0 / 0.6085 GB, free: 4.145 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1958, allocations: 4 kB / 0.6085 GB, free: 4.141 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.1959, allocations: 0 / 0.6085 GB, free: 4.141 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.0004347/0.1963, allocations: 250.3 kB / 0.6088 GB, free: 3.863 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1963, allocations: 8.031 kB / 0.6088 GB, free: 3.855 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.1964, allocations: 4.938 kB / 0.6088 GB, free: 3.852 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1965, allocations: 110.5 kB / 0.6089 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1965, allocations: 384 / 0.6089 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.1965, allocations: 4.375 kB / 0.6089 GB, free: 3.715 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1966, allocations: 46.17 kB / 0.6089 GB, free: 3.664 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1967, allocations: 192 / 0.6089 GB, free: 3.664 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1967, allocations: 3.938 kB / 0.609 GB, free: 3.66 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1967, allocations: 4 kB / 0.609 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.1967, allocations: 4 kB / 0.609 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.1969, allocations: 105.3 kB / 0.6091 GB, free: 3.52 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1971, allocations: 46.55 kB / 0.6091 GB, free: 3.465 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.1972, allocations: 12.92 kB / 0.6091 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.1972, allocations: 0 / 0.6091 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1972, allocations: 30.56 kB / 0.6091 GB, free: 3.41 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1972, allocations: 0 / 0.6091 GB, free: 3.41 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001811/0.1974, allocations: 61.64 kB / 0.6092 GB, free: 3.344 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.1974, allocations: 51.41 kB / 0.6093 GB, free: 3.281 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.1975, allocations: 101.9 kB / 0.6094 GB, free: 3.172 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1975, allocations: 25.7 kB / 0.6094 GB, free: 3.141 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.1976, allocations: 80.14 kB / 0.6095 GB, free: 3.059 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.1976, allocations: 7.906 kB / 0.6095 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.1977, allocations: 21.7 kB / 0.6095 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1978, allocations: 318.8 kB / 0.6098 GB, free: 2.703 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.1978, allocations: 0 / 0.6098 GB, free: 2.703 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.1978, allocations: 11.98 kB / 0.6098 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.1979, allocations: 20.86 kB / 0.6098 GB, free: 2.668 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1979, allocations: 128 / 0.6098 GB, free: 2.668 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.946e-05/0.198, allocations: 49.69 kB / 0.6099 GB, free: 2.613 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.198, allocations: 8 kB / 0.6099 GB, free: 2.605 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.198, allocations: 4 kB / 0.6099 GB, free: 2.602 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.198, allocations: 3.938 kB / 0.6099 GB, free: 2.598 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.1981, allocations: 11.92 kB / 0.6099 GB, free: 2.586 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1981, allocations: 0 / 0.6099 GB, free: 2.586 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.1981, allocations: 11.94 kB / 0.6099 GB, free: 2.574 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1981, allocations: 0 / 0.6099 GB, free: 2.574 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.889e-05/0.1982, allocations: 113.7 kB / 0.61 GB, free: 2.453 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.1982, allocations: 4 kB / 0.61 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.1984, allocations: 73.36 kB / 0.6101 GB, free: 2.367 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1984, allocations: 3.938 kB / 0.6101 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1984, allocations: 0 / 0.6101 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1984, allocations: 336 / 0.6101 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.1985, allocations: 109.3 kB / 0.6102 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1985, allocations: 0 / 0.6102 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.1986, allocations: 15.92 kB / 0.6102 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1986, allocations: 0 / 0.6102 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1986, allocations: 4 kB / 0.6102 GB, free: 2.207 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1986, allocations: 0 / 0.6102 GB, free: 2.207 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.1986, allocations: 11.92 kB / 0.6102 GB, free: 2.195 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.1988, allocations: 101.1 kB / 0.6103 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.1988, allocations: 4.031 kB / 0.6103 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1988, allocations: 0 / 0.6103 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.1988, allocations: 7.938 kB / 0.6103 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.1988, allocations: 7.938 kB / 0.6103 GB, free: 2.059 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1988, allocations: 3.984 kB / 0.6103 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.1989, allocations: 75.28 kB / 0.6104 GB, free: 1.98 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1989, allocations: 4 kB / 0.6104 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002049/0.1991, allocations: 12.16 kB / 0.6104 GB, free: 1.965 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.000159/0.1992, allocations: 107.1 kB / 0.6105 GB, free: 1.848 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.1994, allocations: 20.11 kB / 0.6106 GB, free: 1.828 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1994, allocations: 0 / 0.6106 GB, free: 1.828 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.1994, allocations: 23.98 kB / 0.6106 GB, free: 1.805 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.1995, allocations: 0 / 0.6106 GB, free: 1.805 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.1999, allocations: 137.4 kB / 0.6107 GB, free: 1.645 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.1999, allocations: 67.34 kB / 0.6108 GB, free: 1.559 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.2, allocations: 8 kB / 0.6108 GB, free: 1.551 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.2, allocations: 12.48 kB / 0.6108 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of SimCode: time 3.81e-07/0.2, allocations: 0 / 0.6108 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of Templates: time 0.003338/0.2033, allocations: 0.6119 MB / 0.6114 GB, free: 0.9375 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 -s ida -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.551422676071525]