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.001487/0.001487, allocations: 107.9 kB / 20.44 MB, free: 1.188 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.001705/0.001705, allocations: 210.5 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.77 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 1.06/1.06, allocations: 120.6 MB / 434.5 MB, free: 0.6055 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.002243/0.002243, allocations: 63.91 kB / 0.6072 GB, free: 10.24 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1749, allocations: 85.87 MB / 0.691 GB, free: 4.152 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001836/0.1767, allocations: 396.5 kB / 0.6914 GB, free: 3.77 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0005735/0.1773, allocations: 231.8 kB / 0.6916 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.1773, allocations: 0 / 0.6916 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.1773, allocations: 0 / 0.6916 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1775, allocations: 3.938 kB / 0.6916 GB, free: 3.539 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.1777, allocations: 31.84 kB / 0.6916 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.602e-05/0.1777, allocations: 7.984 kB / 0.6917 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.1778, allocations: 4 kB / 0.6917 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.65e-05/0.1778, allocations: 3.984 kB / 0.6917 GB, free: 3.492 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.1778, allocations: 8 kB / 0.6917 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1778, allocations: 3.938 kB / 0.6917 GB, free: 3.48 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.178, allocations: 31.92 kB / 0.6917 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.178, allocations: 7.969 kB / 0.6917 GB, free: 3.441 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.178, allocations: 0 / 0.6917 GB, free: 3.441 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.1781, allocations: 27.86 kB / 0.6917 GB, free: 3.414 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1781, allocations: 0 / 0.6917 GB, free: 3.414 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1781, allocations: 0 / 0.6917 GB, free: 3.414 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1781, allocations: 3.938 kB / 0.6917 GB, free: 3.41 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.0004136/0.1785, allocations: 250.3 kB / 0.692 GB, free: 3.133 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1786, allocations: 16.02 kB / 0.692 GB, free: 3.117 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.1786, allocations: 4.938 kB / 0.692 GB, free: 3.113 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1787, allocations: 110.5 kB / 0.6921 GB, free: 2.98 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1787, allocations: 4.375 kB / 0.6921 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.1788, allocations: 384 / 0.6921 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.1789, allocations: 38.25 kB / 0.6921 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1789, allocations: 192 / 0.6921 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1789, allocations: 3.938 kB / 0.6922 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1789, allocations: 0 / 0.6922 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.361e-05/0.1789, allocations: 15.92 kB / 0.6922 GB, free: 2.914 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.1791, allocations: 105.3 kB / 0.6923 GB, free: 2.781 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.1793, allocations: 38.61 kB / 0.6923 GB, free: 2.734 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.1794, allocations: 16.92 kB / 0.6923 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1794, allocations: 0 / 0.6923 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1794, allocations: 34.64 kB / 0.6924 GB, free: 2.672 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.1794, allocations: 0 / 0.6924 GB, free: 2.672 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001728/0.1796, allocations: 57.56 kB / 0.6924 GB, free: 2.609 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.1796, allocations: 51.41 kB / 0.6925 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.662e-05/0.1797, allocations: 93.86 kB / 0.6925 GB, free: 2.445 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1797, allocations: 25.7 kB / 0.6926 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.1798, allocations: 84.14 kB / 0.6927 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.1798, allocations: 11.89 kB / 0.6927 GB, free: 2.316 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.1799, allocations: 25.78 kB / 0.6927 GB, free: 2.285 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.18, allocations: 314.8 kB / 0.693 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.18, allocations: 7.984 kB / 0.693 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.18, allocations: 8 kB / 0.693 GB, free: 1.953 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.1801, allocations: 21.08 kB / 0.693 GB, free: 1.93 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1801, allocations: 0 / 0.693 GB, free: 1.93 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.775e-05/0.1802, allocations: 53.67 kB / 0.6931 GB, free: 1.871 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1802, allocations: 4 kB / 0.6931 GB, free: 1.867 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1802, allocations: 0 / 0.6931 GB, free: 1.867 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1802, allocations: 3.938 kB / 0.6931 GB, free: 1.863 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.1803, allocations: 11.98 kB / 0.6931 GB, free: 1.852 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1803, allocations: 4 kB / 0.6931 GB, free: 1.848 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.1803, allocations: 0 / 0.6931 GB, free: 1.848 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.1803, allocations: 0 / 0.6931 GB, free: 1.848 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 9.736e-05/0.1804, allocations: 117.8 kB / 0.6932 GB, free: 1.723 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.1804, allocations: 0 / 0.6932 GB, free: 1.723 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.1806, allocations: 73.3 kB / 0.6933 GB, free: 1.641 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1806, allocations: 3.938 kB / 0.6933 GB, free: 1.637 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1806, allocations: 3.938 kB / 0.6933 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1806, allocations: 4 kB / 0.6933 GB, free: 1.629 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1807, allocations: 113.3 kB / 0.6934 GB, free: 1.488 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1807, allocations: 0 / 0.6934 GB, free: 1.488 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.1808, allocations: 8 kB / 0.6934 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1808, allocations: 0 / 0.6934 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1808, allocations: 8.062 kB / 0.6934 GB, free: 1.473 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1808, allocations: 0 / 0.6934 GB, free: 1.473 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1808, allocations: 3.938 kB / 0.6934 GB, free: 1.469 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.181, allocations: 101 kB / 0.6935 GB, free: 1.352 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.181, allocations: 4.031 kB / 0.6935 GB, free: 1.348 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.181, allocations: 0 / 0.6935 GB, free: 1.348 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.181, allocations: 0 / 0.6935 GB, free: 1.348 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.1811, allocations: 19.98 kB / 0.6935 GB, free: 1.328 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1811, allocations: 0 / 0.6935 GB, free: 1.328 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.1811, allocations: 79.28 kB / 0.6936 GB, free: 1.25 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1811, allocations: 0 / 0.6936 GB, free: 1.25 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000216/0.1813, allocations: 8 kB / 0.6936 GB, free: 1.242 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.0001573/0.1815, allocations: 111.1 kB / 0.6937 GB, free: 1.121 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.1816, allocations: 23.94 kB / 0.6937 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1816, allocations: 0 / 0.6937 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-05/0.1816, allocations: 15.98 kB / 0.6938 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.1818, allocations: 11.28 kB / 0.6938 GB, free: 1.074 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.1821, allocations: 133.5 kB / 0.6939 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.584e-05/0.1822, allocations: 59.36 kB / 0.694 GB, free: 0.8398 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.1822, allocations: 11.97 kB / 0.694 GB, free: 0.8281 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.1823, allocations: 7.438 kB / 0.694 GB, free: 0.8203 MB / 0.5139 GB Notification: Performance of SimCode: time 4.11e-07/0.1823, allocations: 4 kB / 0.694 GB, free: 0.8164 MB / 0.5139 GB Notification: Performance of Templates: time 0.003273/0.1855, allocations: 0.6143 MB / 0.6946 GB, free: 220 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: 5.565555457957089]