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.001742/0.001742, allocations: 113 kB / 19.04 MB, free: 3.254 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.002043/0.002043, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.421/1.421, allocations: 225.6 MB / 250.8 MB, free: 13.34 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 1.037/1.037, allocations: 120.6 MB / 426.5 MB, free: 5.781 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.001943/0.001943, allocations: 71.89 kB / 0.5965 GB, free: 17.33 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.149, allocations: 84.64 MB / 0.6792 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.00153/0.1506, allocations: 408.2 kB / 0.6796 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0005115/0.1511, allocations: 227.7 kB / 0.6798 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.1511, allocations: 0 / 0.6798 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.1511, allocations: 0 / 0.6798 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.1512, allocations: 7.922 kB / 0.6798 GB, free: 11.84 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.1514, allocations: 23.92 kB / 0.6798 GB, free: 11.82 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.1514, allocations: 11.98 kB / 0.6798 GB, free: 11.8 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1515, allocations: 4 kB / 0.6799 GB, free: 11.8 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.34e-05/0.1515, allocations: 7.984 kB / 0.6799 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.332e-05/0.1515, allocations: 3.938 kB / 0.6799 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1515, allocations: 4 kB / 0.6799 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1517, allocations: 19.98 kB / 0.6799 GB, free: 11.77 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1517, allocations: 7.984 kB / 0.6799 GB, free: 11.76 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.1517, allocations: 7.938 kB / 0.6799 GB, free: 11.75 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.737e-05/0.1518, allocations: 23.91 kB / 0.6799 GB, free: 11.73 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1518, allocations: 0 / 0.6799 GB, free: 11.73 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1518, allocations: 0 / 0.6799 GB, free: 11.73 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1518, allocations: 0 / 0.6799 GB, free: 11.73 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.0004038/0.1522, allocations: 327.5 kB / 0.6802 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1522, allocations: 12.03 kB / 0.6802 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.1523, allocations: 8.875 kB / 0.6803 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.1524, allocations: 172.2 kB / 0.6804 GB, free: 11.13 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1525, allocations: 8.312 kB / 0.6804 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.1525, allocations: 8.359 kB / 0.6804 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.436e-05/0.1526, allocations: 34.25 kB / 0.6805 GB, free: 11.07 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1526, allocations: 192 / 0.6805 GB, free: 11.07 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1526, allocations: 3.938 kB / 0.6805 GB, free: 11.07 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1526, allocations: 0 / 0.6805 GB, free: 11.07 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.564e-05/0.1526, allocations: 8 kB / 0.6805 GB, free: 11.06 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.1528, allocations: 157.7 kB / 0.6806 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.153, allocations: 42.55 kB / 0.6807 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.1531, allocations: 13 kB / 0.6807 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1531, allocations: 0 / 0.6807 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1531, allocations: 38.56 kB / 0.6807 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.1531, allocations: 0 / 0.6807 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001602/0.1533, allocations: 57.58 kB / 0.6808 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.1533, allocations: 59.34 kB / 0.6808 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.1534, allocations: 97.84 kB / 0.6809 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1534, allocations: 25.7 kB / 0.6809 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.1535, allocations: 80.14 kB / 0.681 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.1535, allocations: 11.95 kB / 0.681 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1535, allocations: 13.72 kB / 0.681 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1537, allocations: 323 kB / 0.6814 GB, free: 10.04 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/0.1537, allocations: 4 kB / 0.6814 GB, free: 10.04 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.1537, allocations: 4 kB / 0.6814 GB, free: 10.03 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.1538, allocations: 20.84 kB / 0.6814 GB, free: 10.01 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1538, allocations: 0 / 0.6814 GB, free: 10.01 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.94e-05/0.1539, allocations: 61.58 kB / 0.6814 GB, free: 9.941 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1539, allocations: 4 kB / 0.6814 GB, free: 9.938 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1539, allocations: 3.938 kB / 0.6815 GB, free: 9.934 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1539, allocations: 0 / 0.6815 GB, free: 9.934 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.1539, allocations: 8 kB / 0.6815 GB, free: 9.926 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1539, allocations: 4 kB / 0.6815 GB, free: 9.922 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.154, allocations: 0 / 0.6815 GB, free: 9.922 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.154, allocations: 0 / 0.6815 GB, free: 9.922 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.562e-05/0.154, allocations: 113.8 kB / 0.6816 GB, free: 9.801 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.1541, allocations: 3.984 kB / 0.6816 GB, free: 9.797 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.1542, allocations: 69.12 kB / 0.6816 GB, free: 9.719 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1542, allocations: 8.203 kB / 0.6816 GB, free: 9.711 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1542, allocations: 0 / 0.6816 GB, free: 9.711 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1542, allocations: 7.984 kB / 0.6817 GB, free: 9.703 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.1544, allocations: 169.6 kB / 0.6818 GB, free: 9.488 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1544, allocations: 7.922 kB / 0.6818 GB, free: 9.48 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.1544, allocations: 8 kB / 0.6818 GB, free: 9.473 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1544, allocations: 0 / 0.6818 GB, free: 9.473 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1544, allocations: 7.938 kB / 0.6818 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1544, allocations: 0 / 0.6818 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1544, allocations: 0 / 0.6818 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.1546, allocations: 105.1 kB / 0.6819 GB, free: 9.344 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.1547, allocations: 77.23 kB / 0.682 GB, free: 9.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1547, allocations: 11.97 kB / 0.682 GB, free: 9.238 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.1547, allocations: 0 / 0.682 GB, free: 9.238 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.1547, allocations: 7.922 kB / 0.682 GB, free: 9.23 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1547, allocations: 4 kB / 0.682 GB, free: 9.227 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.1548, allocations: 79.28 kB / 0.6821 GB, free: 9.148 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.1548, allocations: 0 / 0.6821 GB, free: 9.148 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001909/0.155, allocations: 8 kB / 0.6821 GB, free: 9.141 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.0001387/0.1551, allocations: 99.94 kB / 0.6822 GB, free: 9.031 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.1552, allocations: 27.98 kB / 0.6822 GB, free: 9.004 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1552, allocations: 0 / 0.6822 GB, free: 9.004 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.1553, allocations: 19.92 kB / 0.6823 GB, free: 8.984 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.1554, allocations: 4 kB / 0.6823 GB, free: 8.98 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.1557, allocations: 125.4 kB / 0.6824 GB, free: 8.832 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.1561, allocations: 0.6883 MB / 0.6831 GB, free: 8.117 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.1561, allocations: 4 kB / 0.6831 GB, free: 8.113 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.1562, allocations: 19.42 kB / 0.6831 GB, free: 8.094 MB / 0.5139 GB Notification: Performance of SimCode: time 4.6e-07/0.1562, allocations: 0 / 0.6831 GB, free: 8.094 MB / 0.5139 GB Notification: Performance of Templates: time 0.003346/0.1595, allocations: 0.5833 MB / 0.6836 GB, free: 7.516 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.870578048750758]