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.002016/0.002016, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001515/0.001515, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 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.478/1.478, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.9593/0.9593, allocations: 88.07 MB / 349.1 MB, free: 14.23 MB / 330.7 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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 450.8 MB, free: 33.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.444e-05, allocations: 6.312 kB / 450.8 MB, free: 33.14 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001309/0.001343, allocations: 403.1 kB / 451.2 MB, free: 32.92 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004845/0.001828, allocations: 232.2 kB / 451.4 MB, free: 32.78 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.001863, allocations: 0 / 451.4 MB, free: 32.78 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.001879, allocations: 7.938 kB / 451.4 MB, free: 32.77 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.002039, allocations: 0 / 451.4 MB, free: 32.77 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.002158, allocations: 27.12 kB / 451.4 MB, free: 32.76 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.002211, allocations: 14.8 kB / 451.5 MB, free: 32.75 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.002253, allocations: 6.234 kB / 451.5 MB, free: 32.75 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.002291, allocations: 2.719 kB / 451.5 MB, free: 32.75 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.002353, allocations: 2.688 kB / 451.5 MB, free: 32.75 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.002369, allocations: 0 / 451.5 MB, free: 32.75 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.844e-05/0.002458, allocations: 25.52 kB / 451.5 MB, free: 32.75 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.002473, allocations: 11.2 kB / 451.5 MB, free: 32.74 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.002496, allocations: 6.688 kB / 451.5 MB, free: 32.73 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.0026, allocations: 31.12 kB / 451.5 MB, free: 32.72 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.002603, allocations: 5.641 kB / 451.6 MB, free: 32.72 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002604, allocations: 0 / 451.6 MB, free: 32.72 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.002608, allocations: 0 / 451.6 MB, free: 32.72 MB / 410.8 MB 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.0003092/0.002917, allocations: 249.2 kB / 451.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.002953, allocations: 8.156 kB / 451.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.002998, allocations: 11.62 kB / 451.8 MB, free: 32.45 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.5e-05/0.003073, allocations: 108 kB / 451.9 MB, free: 32.33 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.003086, allocations: 4.359 kB / 451.9 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.003114, allocations: 7.25 kB / 451.9 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.021e-05/0.003204, allocations: 36.55 kB / 452 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.003212, allocations: 192 / 452 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.003224, allocations: 10.38 kB / 452 MB, free: 32.28 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.003228, allocations: 384 / 452 MB, free: 32.28 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.003262, allocations: 6.719 kB / 452 MB, free: 32.28 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.003382, allocations: 110.4 kB / 452.1 MB, free: 32.15 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.003597, allocations: 42.94 kB / 452.1 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.00362, allocations: 11.34 kB / 452.1 MB, free: 32.11 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.003637, allocations: 0 / 452.1 MB, free: 32.11 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.003652, allocations: 37.41 kB / 452.2 MB, free: 32.07 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.003653, allocations: 0 / 452.2 MB, free: 32.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001473/0.0038, allocations: 54.81 kB / 452.2 MB, free: 32.02 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.003825, allocations: 51.41 kB / 452.3 MB, free: 31.96 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.423e-05/0.00387, allocations: 102.7 kB / 452.4 MB, free: 31.86 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.003877, allocations: 25.7 kB / 452.4 MB, free: 31.83 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.524e-05/0.003892, allocations: 80.14 kB / 452.5 MB, free: 31.75 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.003917, allocations: 12.09 kB / 452.5 MB, free: 31.74 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.003944, allocations: 16.09 kB / 452.5 MB, free: 31.72 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.003993, allocations: 314.8 kB / 452.8 MB, free: 31.41 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.004011, allocations: 7.062 kB / 452.8 MB, free: 31.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.004023, allocations: 9.016 kB / 452.8 MB, free: 31.4 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.004062, allocations: 21.55 kB / 452.9 MB, free: 31.39 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004063, allocations: 0 / 452.9 MB, free: 31.39 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.555e-05/0.004129, allocations: 55.14 kB / 452.9 MB, free: 31.34 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.004141, allocations: 6.5 kB / 452.9 MB, free: 31.34 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.004145, allocations: 0 / 452.9 MB, free: 31.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.00417, allocations: 2.812 kB / 452.9 MB, free: 31.34 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.066e-05/0.00421, allocations: 8.594 kB / 452.9 MB, free: 31.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.004216, allocations: 3.984 kB / 452.9 MB, free: 31.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.004236, allocations: 3.938 kB / 452.9 MB, free: 31.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.004242, allocations: 6.688 kB / 452.9 MB, free: 31.33 MB / 410.8 MB 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 3.942e-05/0.004281, allocations: 109.8 kB / 453.1 MB, free: 31.21 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.004292, allocations: 6.844 kB / 453.1 MB, free: 31.21 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.004423, allocations: 79.64 kB / 453.1 MB, free: 31.16 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.004424, allocations: 0 / 453.1 MB, free: 31.16 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.004428, allocations: 0 / 453.1 MB, free: 31.16 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.004432, allocations: 10.7 kB / 453.1 MB, free: 31.15 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.525e-05/0.004488, allocations: 103.4 kB / 453.2 MB, free: 31.02 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.004489, allocations: 7.219 kB / 453.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.004541, allocations: 12.47 kB / 453.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.004543, allocations: 0 / 453.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.00455, allocations: 0 / 453.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.004551, allocations: 2.938 kB / 453.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.004552, allocations: 0 / 453.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.004684, allocations: 104.3 kB / 453.4 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-06/0.004689, allocations: 7.062 kB / 453.4 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.004702, allocations: 3.375 kB / 453.4 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.004723, allocations: 2.875 kB / 453.4 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.00474, allocations: 4 kB / 453.4 MB, free: 30.92 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.004744, allocations: 2.906 kB / 453.4 MB, free: 30.92 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.958e-05/0.004764, allocations: 82.28 kB / 453.5 MB, free: 30.84 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.004764, allocations: 0 / 453.5 MB, free: 30.84 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002241/0.004988, allocations: 13.17 kB / 453.5 MB, free: 30.84 MB / 410.8 MB 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.0001239/0.005112, allocations: 105.1 kB / 453.6 MB, free: 30.75 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.932e-05/0.005201, allocations: 24.22 kB / 453.6 MB, free: 30.74 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.005204, allocations: 0 / 453.6 MB, free: 30.74 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-05/0.005226, allocations: 19.89 kB / 453.6 MB, free: 30.73 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.00537, allocations: 2.906 kB / 453.6 MB, free: 30.73 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.005628, allocations: 131.5 kB / 453.8 MB, free: 30.61 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.005661, allocations: 63.12 kB / 453.8 MB, free: 30.54 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.331e-05/0.005685, allocations: 2.938 kB / 453.8 MB, free: 30.54 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.005713, allocations: 14.59 kB / 453.8 MB, free: 30.54 MB / 410.8 MB Notification: Performance of SimCode: time 2.91e-07/0.005714, allocations: 0 / 453.8 MB, free: 30.54 MB / 410.8 MB Notification: Performance of Templates: time 0.002984/0.008698, allocations: 0.6501 MB / 454.5 MB, free: 30.43 MB / 410.8 MB " [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.849075817968696]