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.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.001564/0.001564, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001698/0.001698, allocations: 208.8 kB / 23.73 MB, free: 4.387 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.364/1.364, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.8942/0.8942, allocations: 120.6 MB / 434.5 MB, free: 0.6641 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_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: 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.00213/0.00213, allocations: 59.91 kB / 0.6071 GB, free: 10.3 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1387, allocations: 85.87 MB / 0.691 GB, free: 4.211 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001506/0.1402, allocations: 411.6 kB / 0.6914 GB, free: 3.816 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004774/0.1407, allocations: 231.8 kB / 0.6916 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.1407, allocations: 0 / 0.6916 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.1408, allocations: 3.938 kB / 0.6916 GB, free: 3.586 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1409, allocations: 4 kB / 0.6916 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.141, allocations: 27.86 kB / 0.6916 GB, free: 3.555 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.595e-05/0.141, allocations: 11.92 kB / 0.6917 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.1411, allocations: 11.98 kB / 0.6917 GB, free: 3.531 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.866e-05/0.1411, allocations: 0 / 0.6917 GB, free: 3.531 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.1411, allocations: 7.938 kB / 0.6917 GB, free: 3.523 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.1412, allocations: 0 / 0.6917 GB, free: 3.523 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.29e-05/0.1412, allocations: 27.97 kB / 0.6917 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.1413, allocations: 3.984 kB / 0.6917 GB, free: 3.492 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.385e-05/0.1413, allocations: 0 / 0.6917 GB, free: 3.492 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.218e-05/0.1414, allocations: 35.84 kB / 0.6917 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1414, allocations: 0 / 0.6917 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1414, allocations: 0 / 0.6917 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1414, allocations: 0 / 0.6917 GB, free: 3.457 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.0003268/0.1417, allocations: 250.3 kB / 0.692 GB, free: 3.18 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1417, allocations: 12.03 kB / 0.692 GB, free: 3.168 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.1418, allocations: 0.9375 kB / 0.692 GB, free: 3.168 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.451e-05/0.1418, allocations: 110.4 kB / 0.6921 GB, free: 3.035 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1419, allocations: 4.375 kB / 0.6921 GB, free: 3.031 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1419, allocations: 384 / 0.6921 GB, free: 3.031 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.507e-05/0.142, allocations: 42.25 kB / 0.6921 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.142, allocations: 192 / 0.6921 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.142, allocations: 3.938 kB / 0.6921 GB, free: 2.98 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.142, allocations: 4 kB / 0.6922 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.142, allocations: 7.984 kB / 0.6922 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.1422, allocations: 105.3 kB / 0.6923 GB, free: 2.836 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1424, allocations: 42.55 kB / 0.6923 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.1424, allocations: 17 kB / 0.6923 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.1424, allocations: 0 / 0.6923 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1424, allocations: 30.56 kB / 0.6923 GB, free: 2.727 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.1424, allocations: 4 kB / 0.6923 GB, free: 2.723 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001317/0.1426, allocations: 53.62 kB / 0.6924 GB, free: 2.664 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1426, allocations: 55.34 kB / 0.6925 GB, free: 2.598 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.1427, allocations: 101.8 kB / 0.6925 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1427, allocations: 25.7 kB / 0.6926 GB, free: 2.457 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.1427, allocations: 84.08 kB / 0.6927 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1428, allocations: 11.91 kB / 0.6927 GB, free: 2.359 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.1428, allocations: 13.72 kB / 0.6927 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1429, allocations: 318.8 kB / 0.693 GB, free: 2.02 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.1429, allocations: 8 kB / 0.693 GB, free: 2.012 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.143, allocations: 8.125 kB / 0.693 GB, free: 2.004 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.289e-05/0.143, allocations: 21.12 kB / 0.693 GB, free: 1.98 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.143, allocations: 0 / 0.693 GB, free: 1.98 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.235e-05/0.1431, allocations: 61.55 kB / 0.6931 GB, free: 1.914 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1431, allocations: 4 kB / 0.6931 GB, free: 1.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1431, allocations: 0 / 0.6931 GB, free: 1.91 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1431, allocations: 3.938 kB / 0.6931 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.38e-05/0.1432, allocations: 12 kB / 0.6931 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1432, allocations: 0 / 0.6931 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.1432, allocations: 0 / 0.6931 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.1432, allocations: 0 / 0.6931 GB, free: 1.895 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.847e-05/0.1433, allocations: 117.8 kB / 0.6932 GB, free: 1.77 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.1433, allocations: 3.984 kB / 0.6932 GB, free: 1.766 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.1434, allocations: 65.38 kB / 0.6933 GB, free: 1.691 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1434, allocations: 7.938 kB / 0.6933 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1434, allocations: 4 kB / 0.6933 GB, free: 1.68 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1434, allocations: 7.984 kB / 0.6933 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.389e-05/0.1435, allocations: 105.3 kB / 0.6934 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1435, allocations: 0 / 0.6934 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/0.1436, allocations: 8 kB / 0.6934 GB, free: 1.531 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1436, allocations: 8 kB / 0.6934 GB, free: 1.523 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1436, allocations: 7.984 kB / 0.6934 GB, free: 1.516 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1436, allocations: 0 / 0.6934 GB, free: 1.516 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1436, allocations: 3.938 kB / 0.6934 GB, free: 1.512 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.1437, allocations: 89.12 kB / 0.6935 GB, free: 1.406 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-06/0.1437, allocations: 4.031 kB / 0.6935 GB, free: 1.402 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1437, allocations: 4 kB / 0.6935 GB, free: 1.398 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.1438, allocations: 3.984 kB / 0.6935 GB, free: 1.395 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.1438, allocations: 11.88 kB / 0.6935 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1438, allocations: 0 / 0.6935 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.1438, allocations: 83.34 kB / 0.6936 GB, free: 1.301 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9e-08/0.1438, allocations: 3.938 kB / 0.6936 GB, free: 1.297 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001893/0.144, allocations: 12 kB / 0.6936 GB, free: 1.285 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.0001135/0.1441, allocations: 103.2 kB / 0.6937 GB, free: 1.172 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.1442, allocations: 23.98 kB / 0.6937 GB, free: 1.148 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1442, allocations: 0 / 0.6937 GB, free: 1.148 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.1442, allocations: 15.94 kB / 0.6938 GB, free: 1.133 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.1444, allocations: 6.812 kB / 0.6938 GB, free: 1.129 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.1447, allocations: 133.5 kB / 0.6939 GB, free: 0.9727 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.536e-05/0.1447, allocations: 67.44 kB / 0.694 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.1447, allocations: 4 kB / 0.694 GB, free: 0.8828 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.1448, allocations: 11.44 kB / 0.694 GB, free: 0.8711 MB / 0.5139 GB Notification: Performance of SimCode: time 3e-07/0.1448, allocations: 0 / 0.694 GB, free: 0.8711 MB / 0.5139 GB Notification: Performance of Templates: time 0.002724/0.1475, allocations: 0.6121 MB / 0.6946 GB, free: 272 kB / 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.25689846649766]