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.001578/0.001578, allocations: 100.4 kB / 21.18 MB, free: 0.6484 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.001754/0.001754, allocations: 208.2 kB / 24.48 MB, free: 3.938 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.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.9772/0.9772, allocations: 120.6 MB / 435.2 MB, free: 0.668 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.002062/0.002062, allocations: 67.89 kB / 0.6079 GB, free: 10.44 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1525, allocations: 85.86 MB / 0.6917 GB, free: 4.367 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001484/0.154, allocations: 408.4 kB / 0.6921 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004736/0.1545, allocations: 223.8 kB / 0.6923 GB, free: 3.754 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.1545, allocations: 0 / 0.6923 GB, free: 3.754 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.1545, allocations: 0 / 0.6923 GB, free: 3.754 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1546, allocations: 11.94 kB / 0.6923 GB, free: 3.742 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.1548, allocations: 27.91 kB / 0.6924 GB, free: 3.715 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.94e-05/0.1548, allocations: 11.94 kB / 0.6924 GB, free: 3.703 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.1549, allocations: 3.984 kB / 0.6924 GB, free: 3.699 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.1549, allocations: 7.938 kB / 0.6924 GB, free: 3.691 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.1549, allocations: 4 kB / 0.6924 GB, free: 3.688 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1549, allocations: 0 / 0.6924 GB, free: 3.688 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.953e-05/0.155, allocations: 23.97 kB / 0.6924 GB, free: 3.664 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.155, allocations: 11.98 kB / 0.6924 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.1551, allocations: 3.938 kB / 0.6924 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.1552, allocations: 27.91 kB / 0.6925 GB, free: 3.621 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1552, allocations: 4 kB / 0.6925 GB, free: 3.617 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1552, allocations: 0 / 0.6925 GB, free: 3.617 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1552, allocations: 0 / 0.6925 GB, free: 3.617 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.0003556/0.1555, allocations: 250.3 kB / 0.6927 GB, free: 3.34 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.1556, allocations: 8.031 kB / 0.6927 GB, free: 3.332 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.1556, allocations: 4.938 kB / 0.6927 GB, free: 3.328 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.669e-05/0.1557, allocations: 110.5 kB / 0.6928 GB, free: 3.195 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1557, allocations: 384 / 0.6928 GB, free: 3.195 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1557, allocations: 8.375 kB / 0.6928 GB, free: 3.188 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.325e-05/0.1558, allocations: 34.25 kB / 0.6929 GB, free: 3.148 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1558, allocations: 12.06 kB / 0.6929 GB, free: 3.137 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1558, allocations: 11.92 kB / 0.6929 GB, free: 3.125 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1558, allocations: 0 / 0.6929 GB, free: 3.125 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.612e-05/0.1559, allocations: 7.984 kB / 0.6929 GB, free: 3.117 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.156, allocations: 109.3 kB / 0.693 GB, free: 2.98 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.1562, allocations: 38.61 kB / 0.693 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.1562, allocations: 13 kB / 0.693 GB, free: 2.918 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1562, allocations: 0 / 0.693 GB, free: 2.918 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1563, allocations: 34.5 kB / 0.6931 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1563, allocations: 0 / 0.6931 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001469/0.1564, allocations: 61.62 kB / 0.6931 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1565, allocations: 51.41 kB / 0.6932 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.1565, allocations: 97.84 kB / 0.6933 GB, free: 2.641 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1566, allocations: 25.7 kB / 0.6933 GB, free: 2.609 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.1566, allocations: 80.14 kB / 0.6934 GB, free: 2.527 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1566, allocations: 11.91 kB / 0.6934 GB, free: 2.516 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.1567, allocations: 13.72 kB / 0.6934 GB, free: 2.496 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1568, allocations: 322.8 kB / 0.6937 GB, free: 2.172 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.1568, allocations: 4 kB / 0.6937 GB, free: 2.168 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.1568, allocations: 4 kB / 0.6937 GB, free: 2.164 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.1569, allocations: 32.91 kB / 0.6938 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1569, allocations: 0 / 0.6938 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.037e-05/0.157, allocations: 45.69 kB / 0.6938 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.157, allocations: 8 kB / 0.6938 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.157, allocations: 0 / 0.6938 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.157, allocations: 3.938 kB / 0.6938 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.051e-05/0.157, allocations: 7.938 kB / 0.6938 GB, free: 2.059 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.157, allocations: 0 / 0.6938 GB, free: 2.059 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.1571, allocations: 4 kB / 0.6938 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1571, allocations: 0 / 0.6938 GB, free: 2.055 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.846e-05/0.1572, allocations: 117.8 kB / 0.6939 GB, free: 1.93 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.1572, allocations: 7.984 kB / 0.6939 GB, free: 1.922 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.1573, allocations: 69.31 kB / 0.694 GB, free: 1.844 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1573, allocations: 3.938 kB / 0.694 GB, free: 1.84 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1573, allocations: 0 / 0.694 GB, free: 1.84 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1573, allocations: 3.984 kB / 0.694 GB, free: 1.836 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.1574, allocations: 109.3 kB / 0.6941 GB, free: 1.699 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1574, allocations: 0 / 0.6941 GB, free: 1.699 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.1575, allocations: 8 kB / 0.6941 GB, free: 1.691 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1575, allocations: 0 / 0.6941 GB, free: 1.691 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1575, allocations: 11.98 kB / 0.6941 GB, free: 1.68 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1575, allocations: 0 / 0.6941 GB, free: 1.68 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1575, allocations: 11.94 kB / 0.6941 GB, free: 1.668 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.1577, allocations: 97.39 kB / 0.6942 GB, free: 1.555 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.1577, allocations: 4.031 kB / 0.6942 GB, free: 1.551 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1577, allocations: 0 / 0.6942 GB, free: 1.551 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.1577, allocations: 3.984 kB / 0.6942 GB, free: 1.547 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.1577, allocations: 11.92 kB / 0.6943 GB, free: 1.535 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.1577, allocations: 0 / 0.6943 GB, free: 1.535 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.1578, allocations: 79.28 kB / 0.6943 GB, free: 1.457 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1e-07/0.1578, allocations: 8.156 kB / 0.6943 GB, free: 1.449 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001929/0.158, allocations: 8 kB / 0.6944 GB, free: 1.441 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.0001263/0.1581, allocations: 103.2 kB / 0.6945 GB, free: 1.328 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.1582, allocations: 31.92 kB / 0.6945 GB, free: 1.297 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1582, allocations: 0 / 0.6945 GB, free: 1.297 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.1582, allocations: 12 kB / 0.6945 GB, free: 1.285 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1584, allocations: 8 kB / 0.6945 GB, free: 1.277 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.1587, allocations: 151.2 kB / 0.6946 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.348e-05/0.1587, allocations: 71.28 kB / 0.6947 GB, free: 1.008 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.1587, allocations: 19.38 kB / 0.6947 GB, free: 0.9883 MB / 0.5139 GB Notification: Performance of SimCode: time 3.21e-07/0.1587, allocations: 0 / 0.6947 GB, free: 0.9883 MB / 0.5139 GB Notification: Performance of Templates: time 0.002233/0.161, allocations: 0.7213 MB / 0.6954 GB, free: 276 kB / 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/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: 7.9845713139511645]