Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.001435/0.001435, 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.001761/0.001761, allocations: 208.6 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.088/1.088, allocations: 120.6 MB / 434.5 MB, free: 0.6406 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.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [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.002053/0.002053, allocations: 75.86 kB / 0.6071 GB, free: 10.27 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1884, allocations: 85.86 MB / 0.691 GB, free: 4.203 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001641/0.1901, allocations: 404.5 kB / 0.6914 GB, free: 3.812 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002239/0.1903, allocations: 27.89 kB / 0.6914 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.1903, allocations: 0 / 0.6914 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.1904, allocations: 3.938 kB / 0.6914 GB, free: 3.781 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.1904, allocations: 4 kB / 0.6914 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.1906, allocations: 7.922 kB / 0.6914 GB, free: 3.77 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.1906, allocations: 4 kB / 0.6914 GB, free: 3.766 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/0.1907, allocations: 4 kB / 0.6914 GB, free: 3.762 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.1907, allocations: 0 / 0.6914 GB, free: 3.762 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.1908, allocations: 4 kB / 0.6914 GB, free: 3.758 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1908, allocations: 3.938 kB / 0.6914 GB, free: 3.754 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.419e-05/0.1908, allocations: 11.98 kB / 0.6914 GB, free: 3.742 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.1908, allocations: 0 / 0.6914 GB, free: 3.742 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.1909, allocations: 0 / 0.6914 GB, free: 3.742 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.651e-05/0.191, allocations: 15.97 kB / 0.6915 GB, free: 3.727 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.191, allocations: 0 / 0.6915 GB, free: 3.727 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.874e-06/0.191, allocations: 0 / 0.6915 GB, free: 3.727 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.191, allocations: 0 / 0.6915 GB, free: 3.727 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003213/0.1913, allocations: 242.4 kB / 0.6917 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1913, allocations: 8.031 kB / 0.6917 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.1914, allocations: 4.938 kB / 0.6917 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1915, allocations: 110.5 kB / 0.6918 GB, free: 3.312 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1915, allocations: 384 / 0.6918 GB, free: 3.312 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.1915, allocations: 384 / 0.6918 GB, free: 3.312 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1916, allocations: 34.27 kB / 0.6918 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1916, allocations: 192 / 0.6918 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1916, allocations: 3.938 kB / 0.6918 GB, free: 3.27 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1916, allocations: 0 / 0.6918 GB, free: 3.27 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.46e-05/0.1917, allocations: 8 kB / 0.6919 GB, free: 3.262 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.1918, allocations: 101.3 kB / 0.692 GB, free: 3.133 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 7.222e-05/0.1919, allocations: 30.48 kB / 0.692 GB, free: 3.094 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.1919, allocations: 8.922 kB / 0.692 GB, free: 3.082 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.1921, allocations: 11.97 kB / 0.692 GB, free: 3.07 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1921, allocations: 34.56 kB / 0.692 GB, free: 3.027 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1921, allocations: 0 / 0.692 GB, free: 3.027 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001533/0.1923, allocations: 41.64 kB / 0.6921 GB, free: 2.98 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1923, allocations: 51.41 kB / 0.6921 GB, free: 2.918 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.898e-05/0.1924, allocations: 93.98 kB / 0.6922 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1924, allocations: 33.62 kB / 0.6922 GB, free: 2.777 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.1924, allocations: 80.14 kB / 0.6923 GB, free: 2.695 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.1925, allocations: 15.89 kB / 0.6923 GB, free: 2.68 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.1925, allocations: 9.719 kB / 0.6923 GB, free: 2.664 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1927, allocations: 310.8 kB / 0.6926 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.1927, allocations: 4 kB / 0.6926 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.1927, allocations: 0 / 0.6926 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.1927, allocations: 20.8 kB / 0.6927 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1927, allocations: 64 / 0.6927 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.854e-05/0.1928, allocations: 41.69 kB / 0.6927 GB, free: 2.277 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1928, allocations: 4 kB / 0.6927 GB, free: 2.273 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1928, allocations: 0 / 0.6927 GB, free: 2.273 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1928, allocations: 0 / 0.6927 GB, free: 2.273 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.585e-05/0.1929, allocations: 15.88 kB / 0.6927 GB, free: 2.258 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1929, allocations: 0 / 0.6927 GB, free: 2.258 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.337e-05/0.1929, allocations: 0 / 0.6927 GB, free: 2.258 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1929, allocations: 4 kB / 0.6927 GB, free: 2.254 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 (2): * Single equations (assignments): 2 * 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.286e-05/0.193, allocations: 105.8 kB / 0.6928 GB, free: 2.141 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.193, allocations: 8.016 kB / 0.6928 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.1931, allocations: 44.81 kB / 0.6929 GB, free: 2.082 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1931, allocations: 3.938 kB / 0.6929 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1931, allocations: 0 / 0.6929 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1931, allocations: 0 / 0.6929 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.232e-05/0.1932, allocations: 101.3 kB / 0.693 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1932, allocations: 0 / 0.693 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.1932, allocations: 4 kB / 0.693 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1932, allocations: 0 / 0.693 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1932, allocations: 3.938 kB / 0.693 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1932, allocations: 11.97 kB / 0.693 GB, free: 1.93 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1932, allocations: 3.938 kB / 0.693 GB, free: 1.926 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.1933, allocations: 69.08 kB / 0.6931 GB, free: 1.84 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.1933, allocations: 4 kB / 0.6931 GB, free: 1.836 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.689e-06/0.1933, allocations: 0 / 0.6931 GB, free: 1.836 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.044e-05/0.1934, allocations: 0 / 0.6931 GB, free: 1.836 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.1934, allocations: 7.938 kB / 0.6931 GB, free: 1.828 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-06/0.1934, allocations: 0 / 0.6931 GB, free: 1.828 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.1934, allocations: 75.28 kB / 0.6932 GB, free: 1.754 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.1934, allocations: 0 / 0.6932 GB, free: 1.754 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001834/0.1936, allocations: 8.031 kB / 0.6932 GB, free: 1.746 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001325/0.1937, allocations: 95.23 kB / 0.6933 GB, free: 1.641 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.916e-05/0.1938, allocations: 11.94 kB / 0.6933 GB, free: 1.629 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1938, allocations: 0 / 0.6933 GB, free: 1.629 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/0.1938, allocations: 8 kB / 0.6933 GB, free: 1.621 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.194, allocations: 0 / 0.6933 GB, free: 1.621 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.1942, allocations: 88.98 kB / 0.6934 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.619e-05/0.1942, allocations: 55.36 kB / 0.6934 GB, free: 1.434 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.1943, allocations: 8.125 kB / 0.6934 GB, free: 1.426 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.1943, allocations: 11.38 kB / 0.6934 GB, free: 1.414 MB / 0.5139 GB Notification: Performance of SimCode: time 2.6e-07/0.1943, allocations: 0 / 0.6934 GB, free: 1.414 MB / 0.5139 GB Notification: Performance of Templates: time 0.002381/0.1967, allocations: 267.9 kB / 0.6937 GB, free: 1.156 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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: 6.068222472444177]