Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001543/0.001543, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001648/0.001648, allocations: 184.3 kB / 23.71 MB, free: 4.695 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.365/1.365, allocations: 225.6 MB / 252.5 MB, free: 13 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 0.893/0.893, allocations: 120.6 MB / 428.3 MB, free: 5.52 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_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_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.89 kB / 0.5989 GB, free: 16.81 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1313, allocations: 84.69 MB / 0.6816 GB, free: 11.92 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001339/0.1326, allocations: 420.9 kB / 0.682 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004518/0.1331, allocations: 222.5 kB / 0.6822 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.1331, allocations: 0 / 0.6822 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.1331, allocations: 3.938 kB / 0.6822 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.1332, allocations: 4 kB / 0.6822 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.1333, allocations: 27.91 kB / 0.6823 GB, free: 11.26 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.605e-05/0.1334, allocations: 11.92 kB / 0.6823 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.1334, allocations: 4 kB / 0.6823 GB, free: 11.24 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.1334, allocations: 7.938 kB / 0.6823 GB, free: 11.23 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.1335, allocations: 7.984 kB / 0.6823 GB, free: 11.23 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1335, allocations: 0 / 0.6823 GB, free: 11.23 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.1335, allocations: 23.97 kB / 0.6823 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.1336, allocations: 0 / 0.6823 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.1336, allocations: 7.938 kB / 0.6823 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.538e-05/0.1337, allocations: 27.91 kB / 0.6823 GB, free: 11.17 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1337, allocations: 3.938 kB / 0.6823 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1337, allocations: 0 / 0.6823 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1337, allocations: 0 / 0.6823 GB, free: 11.16 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.0003707/0.134, allocations: 256.9 kB / 0.6826 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1341, allocations: 16.86 kB / 0.6826 GB, free: 10.87 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.1341, allocations: 0.9375 kB / 0.6826 GB, free: 10.87 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1342, allocations: 114.5 kB / 0.6827 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1342, allocations: 4.375 kB / 0.6827 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.1342, allocations: 4.375 kB / 0.6827 GB, free: 10.72 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.501e-05/0.1343, allocations: 42.19 kB / 0.6828 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1343, allocations: 192 / 0.6828 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1343, allocations: 3.938 kB / 0.6828 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1343, allocations: 0 / 0.6828 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.396e-05/0.1344, allocations: 11.98 kB / 0.6828 GB, free: 10.66 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1345, allocations: 124.8 kB / 0.6829 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1347, allocations: 42.56 kB / 0.6829 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.1347, allocations: 12.92 kB / 0.683 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.1347, allocations: 0 / 0.683 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1348, allocations: 34.5 kB / 0.683 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1348, allocations: 0 / 0.683 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001368/0.1349, allocations: 61.84 kB / 0.683 GB, free: 10.32 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.1349, allocations: 51.41 kB / 0.6831 GB, free: 10.26 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.135, allocations: 97.86 kB / 0.6832 GB, free: 10.15 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.135, allocations: 25.7 kB / 0.6832 GB, free: 10.12 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.1351, allocations: 84.14 kB / 0.6833 GB, free: 10.04 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1351, allocations: 3.953 kB / 0.6833 GB, free: 10.03 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1351, allocations: 21.7 kB / 0.6833 GB, free: 10 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1353, allocations: 310.8 kB / 0.6836 GB, free: 9.691 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.1353, allocations: 4 kB / 0.6836 GB, free: 9.688 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.1353, allocations: 19.91 kB / 0.6836 GB, free: 9.668 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.162e-05/0.1354, allocations: 20.98 kB / 0.6837 GB, free: 9.645 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1354, allocations: 0 / 0.6837 GB, free: 9.645 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.934e-05/0.1354, allocations: 53.64 kB / 0.6837 GB, free: 9.586 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1355, allocations: 4 kB / 0.6837 GB, free: 9.582 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1355, allocations: 3.938 kB / 0.6837 GB, free: 9.578 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1355, allocations: 4 kB / 0.6837 GB, free: 9.574 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.248e-05/0.1355, allocations: 7.984 kB / 0.6837 GB, free: 9.566 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1355, allocations: 0 / 0.6837 GB, free: 9.566 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.1355, allocations: 0 / 0.6837 GB, free: 9.566 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1355, allocations: 4 kB / 0.6837 GB, free: 9.562 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 7.497e-05/0.1356, allocations: 121.7 kB / 0.6838 GB, free: 9.434 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.1356, allocations: 0 / 0.6838 GB, free: 9.434 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.1358, allocations: 77.23 kB / 0.6839 GB, free: 9.348 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1358, allocations: 4 kB / 0.6839 GB, free: 9.344 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1358, allocations: 0 / 0.6839 GB, free: 9.344 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1358, allocations: 0 / 0.6839 GB, free: 9.344 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.1359, allocations: 132.7 kB / 0.684 GB, free: 9.172 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1359, allocations: 0 / 0.684 GB, free: 9.172 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.136, allocations: 12 kB / 0.6841 GB, free: 9.16 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.136, allocations: 3.984 kB / 0.6841 GB, free: 9.156 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.136, allocations: 7.938 kB / 0.6841 GB, free: 9.148 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.136, allocations: 3.938 kB / 0.6841 GB, free: 9.145 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.136, allocations: 8.062 kB / 0.6841 GB, free: 9.137 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1361, allocations: 93.08 kB / 0.6842 GB, free: 9.027 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-06/0.1361, allocations: 0 / 0.6842 GB, free: 9.027 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1361, allocations: 11.92 kB / 0.6842 GB, free: 9.016 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.1362, allocations: 8.094 kB / 0.6842 GB, free: 9.008 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.1362, allocations: 0 / 0.6842 GB, free: 9.008 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1362, allocations: 0 / 0.6842 GB, free: 9.008 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.978e-05/0.1363, allocations: 79.28 kB / 0.6843 GB, free: 8.93 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1363, allocations: 0 / 0.6843 GB, free: 8.93 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000189/0.1365, allocations: 12 kB / 0.6843 GB, free: 8.918 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.0001241/0.1366, allocations: 103.2 kB / 0.6844 GB, free: 8.805 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.908e-05/0.1367, allocations: 23.92 kB / 0.6844 GB, free: 8.781 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1367, allocations: 4.094 kB / 0.6844 GB, free: 8.777 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.78e-05/0.1367, allocations: 16 kB / 0.6844 GB, free: 8.762 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.1368, allocations: 0 / 0.6844 GB, free: 8.762 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.1371, allocations: 141.4 kB / 0.6846 GB, free: 8.598 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1374, allocations: 0.6805 MB / 0.6852 GB, free: 7.891 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.1374, allocations: 7.984 kB / 0.6852 GB, free: 7.883 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.1375, allocations: 15.44 kB / 0.6852 GB, free: 7.867 MB / 0.5139 GB Notification: Performance of SimCode: time 2.8e-07/0.1375, allocations: 0 / 0.6852 GB, free: 7.867 MB / 0.5139 GB Notification: Performance of Templates: time 0.002854/0.1403, allocations: 0.5971 MB / 0.6858 GB, free: 7.273 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_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.334629455581307]