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.001992/0.001992, 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.002541/0.002541, allocations: 209.7 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.107/1.107, allocations: 120.6 MB / 434.5 MB, free: 0.6484 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.002084/0.002084, allocations: 59.91 kB / 0.6071 GB, free: 10.28 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.187, allocations: 85.87 MB / 0.691 GB, free: 4.203 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001735/0.1887, allocations: 415.2 kB / 0.6914 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0005423/0.1892, allocations: 231.7 kB / 0.6916 GB, free: 3.578 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.1893, allocations: 0 / 0.6916 GB, free: 3.578 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.1893, allocations: 0 / 0.6916 GB, free: 3.578 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1894, allocations: 11.94 kB / 0.6916 GB, free: 3.566 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.1896, allocations: 27.91 kB / 0.6916 GB, free: 3.539 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.1896, allocations: 4 kB / 0.6916 GB, free: 3.535 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.1897, allocations: 7.984 kB / 0.6917 GB, free: 3.527 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.1897, allocations: 0 / 0.6917 GB, free: 3.527 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.1898, allocations: 11.92 kB / 0.6917 GB, free: 3.516 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1898, allocations: 0 / 0.6917 GB, free: 3.516 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.49e-05/0.1899, allocations: 27.97 kB / 0.6917 GB, free: 3.488 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.1899, allocations: 4 kB / 0.6917 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.623e-05/0.1899, allocations: 0 / 0.6917 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.19, allocations: 39.83 kB / 0.6917 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.19, allocations: 0 / 0.6917 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.663e-06/0.19, allocations: 0 / 0.6917 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.19, allocations: 0 / 0.6917 GB, free: 3.445 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.0004119/0.1904, allocations: 250.3 kB / 0.692 GB, free: 3.168 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1905, allocations: 15.97 kB / 0.692 GB, free: 3.152 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.1905, allocations: 0.9375 kB / 0.692 GB, free: 3.152 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1906, allocations: 114.5 kB / 0.6921 GB, free: 3.016 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1906, allocations: 384 / 0.6921 GB, free: 3.016 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1907, allocations: 384 / 0.6921 GB, free: 3.016 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1908, allocations: 38.25 kB / 0.6921 GB, free: 2.973 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1908, allocations: 4.188 kB / 0.6921 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1908, allocations: 3.938 kB / 0.6921 GB, free: 2.965 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1908, allocations: 4 kB / 0.6921 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.1908, allocations: 11.92 kB / 0.6922 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.191, allocations: 101.3 kB / 0.6923 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1912, allocations: 42.55 kB / 0.6923 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.1913, allocations: 13 kB / 0.6923 GB, free: 2.754 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.1913, allocations: 0 / 0.6923 GB, free: 2.754 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1913, allocations: 34.56 kB / 0.6923 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 3.075e-06/0.1913, allocations: 8 kB / 0.6924 GB, free: 2.703 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001726/0.1915, allocations: 57.5 kB / 0.6924 GB, free: 2.641 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1915, allocations: 51.41 kB / 0.6925 GB, free: 2.578 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.1916, allocations: 97.84 kB / 0.6925 GB, free: 2.473 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1916, allocations: 25.7 kB / 0.6926 GB, free: 2.441 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.1917, allocations: 80.14 kB / 0.6926 GB, free: 2.359 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1917, allocations: 15.91 kB / 0.6927 GB, free: 2.344 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.1917, allocations: 13.72 kB / 0.6927 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1919, allocations: 318.8 kB / 0.693 GB, free: 2.004 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.1919, allocations: 4 kB / 0.693 GB, free: 2 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.1919, allocations: 4.125 kB / 0.693 GB, free: 1.996 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.715e-05/0.192, allocations: 28.84 kB / 0.693 GB, free: 1.965 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.192, allocations: 0 / 0.693 GB, free: 1.965 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.226e-05/0.1921, allocations: 53.62 kB / 0.6931 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1921, allocations: 4 kB / 0.6931 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1921, allocations: 0 / 0.6931 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1921, allocations: 3.938 kB / 0.6931 GB, free: 1.898 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.606e-05/0.1921, allocations: 8 kB / 0.6931 GB, free: 1.891 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1922, allocations: 0 / 0.6931 GB, free: 1.891 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.1922, allocations: 0 / 0.6931 GB, free: 1.891 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1922, allocations: 0 / 0.6931 GB, free: 1.891 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.357e-05/0.1923, allocations: 121.8 kB / 0.6932 GB, free: 1.762 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.1923, allocations: 4.312 kB / 0.6932 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.1924, allocations: 69.31 kB / 0.6933 GB, free: 1.68 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1924, allocations: 3.938 kB / 0.6933 GB, free: 1.676 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1924, allocations: 7.984 kB / 0.6933 GB, free: 1.668 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1925, allocations: 4.047 kB / 0.6933 GB, free: 1.664 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.1926, allocations: 109.3 kB / 0.6934 GB, free: 1.527 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1926, allocations: 0 / 0.6934 GB, free: 1.527 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.1926, allocations: 8 kB / 0.6934 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1926, allocations: 8 kB / 0.6934 GB, free: 1.512 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1926, allocations: 3.984 kB / 0.6934 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1926, allocations: 0 / 0.6934 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.487e-05/0.1926, allocations: 3.938 kB / 0.6934 GB, free: 1.504 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1928, allocations: 97.16 kB / 0.6935 GB, free: 1.391 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.1928, allocations: 3.938 kB / 0.6935 GB, free: 1.387 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1928, allocations: 3.938 kB / 0.6935 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.1928, allocations: 7.922 kB / 0.6935 GB, free: 1.375 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.1929, allocations: 7.938 kB / 0.6935 GB, free: 1.367 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1929, allocations: 0 / 0.6935 GB, free: 1.367 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.1929, allocations: 87.34 kB / 0.6936 GB, free: 1.281 MB / 0.5139 GB Notification: Performance of sort global known variables: time 5e-08/0.1929, allocations: 0 / 0.6936 GB, free: 1.281 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001972/0.1931, allocations: 8 kB / 0.6936 GB, free: 1.273 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.0001644/0.1933, allocations: 107.2 kB / 0.6937 GB, free: 1.156 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.1934, allocations: 27.98 kB / 0.6937 GB, free: 1.129 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1934, allocations: 0 / 0.6937 GB, free: 1.129 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.1934, allocations: 11.94 kB / 0.6938 GB, free: 1.117 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.1936, allocations: 11 kB / 0.6938 GB, free: 1.109 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.1939, allocations: 129.5 kB / 0.6939 GB, free: 0.957 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.98e-05/0.194, allocations: 67.44 kB / 0.694 GB, free: 0.8711 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.194, allocations: 7.984 kB / 0.694 GB, free: 0.8633 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.194, allocations: 15.44 kB / 0.694 GB, free: 0.8477 MB / 0.5139 GB Notification: Performance of SimCode: time 2.81e-07/0.194, allocations: 0 / 0.694 GB, free: 0.8477 MB / 0.5139 GB Notification: Performance of Templates: time 0.003179/0.1972, allocations: 0.6104 MB / 0.6946 GB, free: 256 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/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.9789935648441315]