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.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.001593/0.001593, allocations: 116.6 kB / 20.43 MB, free: 1.301 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.001687/0.001687, allocations: 184.8 kB / 23.71 MB, free: 4.555 MB / 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.506/1.506, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.081/1.081, allocations: 120.6 MB / 428.3 MB, free: 5.566 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.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: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 0.5989 GB, free: 16.85 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.185, allocations: 84.68 MB / 0.6816 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001609/0.1866, allocations: 412.9 kB / 0.682 GB, free: 11.55 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.000244/0.1869, allocations: 31.81 kB / 0.682 GB, free: 11.52 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.1869, allocations: 4 kB / 0.682 GB, free: 11.52 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.1869, allocations: 0 / 0.682 GB, free: 11.52 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.413e-05/0.187, allocations: 0 / 0.682 GB, free: 11.52 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.1872, allocations: 7.922 kB / 0.682 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 6.804e-05/0.1873, allocations: 8 kB / 0.682 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.1873, allocations: 3.938 kB / 0.6821 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.203e-05/0.1873, allocations: 4 kB / 0.6821 GB, free: 11.49 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.032e-05/0.1874, allocations: 0 / 0.6821 GB, free: 11.49 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1874, allocations: 4 kB / 0.6821 GB, free: 11.49 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.1875, allocations: 7.984 kB / 0.6821 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.1875, allocations: 0 / 0.6821 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.1875, allocations: 11.92 kB / 0.6821 GB, free: 11.47 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.444e-05/0.1876, allocations: 8 kB / 0.6821 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1876, allocations: 0 / 0.6821 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.987e-06/0.1876, allocations: 3.984 kB / 0.6821 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.1876, allocations: 0 / 0.6821 GB, free: 11.46 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.0003154/0.1879, allocations: 234.4 kB / 0.6823 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.188, allocations: 8.922 kB / 0.6823 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.188, allocations: 12.89 kB / 0.6823 GB, free: 11.18 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1881, allocations: 106.5 kB / 0.6824 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1881, allocations: 384 / 0.6824 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.1881, allocations: 384 / 0.6824 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1882, allocations: 38.19 kB / 0.6825 GB, free: 11 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1882, allocations: 192 / 0.6825 GB, free: 11 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1883, allocations: 3.938 kB / 0.6825 GB, free: 11 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1883, allocations: 0 / 0.6825 GB, free: 11 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.1883, allocations: 4 kB / 0.6825 GB, free: 11 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.1885, allocations: 128.8 kB / 0.6826 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.42e-05/0.1885, allocations: 18.61 kB / 0.6826 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.1886, allocations: 8.859 kB / 0.6826 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.1888, allocations: 12.05 kB / 0.6826 GB, free: 10.78 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1888, allocations: 34.5 kB / 0.6827 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1888, allocations: 0 / 0.6827 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001821/0.189, allocations: 45.64 kB / 0.6827 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.189, allocations: 55.41 kB / 0.6828 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.315e-05/0.1891, allocations: 89.86 kB / 0.6829 GB, free: 10.52 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1891, allocations: 25.7 kB / 0.6829 GB, free: 10.49 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.1891, allocations: 84.12 kB / 0.683 GB, free: 10.4 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.1892, allocations: 7.891 kB / 0.683 GB, free: 10.39 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.1892, allocations: 21.66 kB / 0.683 GB, free: 10.37 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1894, allocations: 311 kB / 0.6833 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.1894, allocations: 4 kB / 0.6833 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.1894, allocations: 4 kB / 0.6833 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.1894, allocations: 16.8 kB / 0.6833 GB, free: 10.03 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1894, allocations: 0 / 0.6833 GB, free: 10.03 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.087e-05/0.1895, allocations: 37.69 kB / 0.6833 GB, free: 9.984 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1895, allocations: 4 kB / 0.6833 GB, free: 9.98 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1895, allocations: 7.938 kB / 0.6834 GB, free: 9.973 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1895, allocations: 3.938 kB / 0.6834 GB, free: 9.969 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.1896, allocations: 4.094 kB / 0.6834 GB, free: 9.965 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1896, allocations: 4 kB / 0.6834 GB, free: 9.961 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.1896, allocations: 3.984 kB / 0.6834 GB, free: 9.957 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.1896, allocations: 0 / 0.6834 GB, free: 9.957 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.39e-05/0.1897, allocations: 109.8 kB / 0.6835 GB, free: 9.84 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.1897, allocations: 3.984 kB / 0.6835 GB, free: 9.836 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1898, allocations: 48.73 kB / 0.6835 GB, free: 9.781 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1898, allocations: 8.031 kB / 0.6835 GB, free: 9.773 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1898, allocations: 0 / 0.6835 GB, free: 9.773 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1898, allocations: 0 / 0.6835 GB, free: 9.773 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1899, allocations: 116.8 kB / 0.6836 GB, free: 9.617 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1899, allocations: 0 / 0.6836 GB, free: 9.617 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.19, allocations: 8 kB / 0.6837 GB, free: 9.609 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.19, allocations: 0 / 0.6837 GB, free: 9.609 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.19, allocations: 3.938 kB / 0.6837 GB, free: 9.605 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.19, allocations: 4 kB / 0.6837 GB, free: 9.602 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.19, allocations: 0 / 0.6837 GB, free: 9.602 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.232e-05/0.1901, allocations: 69.06 kB / 0.6837 GB, free: 9.516 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-06/0.1901, allocations: 0 / 0.6837 GB, free: 9.516 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1901, allocations: 3.938 kB / 0.6837 GB, free: 9.512 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.1901, allocations: 0 / 0.6837 GB, free: 9.512 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.1901, allocations: 8 kB / 0.6837 GB, free: 9.504 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1901, allocations: 3.984 kB / 0.6837 GB, free: 9.5 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.1902, allocations: 78.02 kB / 0.6838 GB, free: 9.426 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1902, allocations: 0 / 0.6838 GB, free: 9.426 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001866/0.1903, allocations: 8.031 kB / 0.6838 GB, free: 9.418 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.0001239/0.1905, allocations: 95.19 kB / 0.6839 GB, free: 9.312 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 9.024e-05/0.1906, allocations: 8 kB / 0.6839 GB, free: 9.305 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1906, allocations: 0 / 0.6839 GB, free: 9.305 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.471e-05/0.1906, allocations: 7.938 kB / 0.6839 GB, free: 9.297 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.1907, allocations: 4 kB / 0.6839 GB, free: 9.293 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.1909, allocations: 85.11 kB / 0.684 GB, free: 9.184 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1913, allocations: 0.6805 MB / 0.6847 GB, free: 8.477 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.007e-05/0.1913, allocations: 0 / 0.6847 GB, free: 8.477 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.1913, allocations: 7.438 kB / 0.6847 GB, free: 8.469 MB / 0.5139 GB Notification: Performance of SimCode: time 2.9e-07/0.1913, allocations: 4 kB / 0.6847 GB, free: 8.465 MB / 0.5139 GB Notification: Performance of Templates: time 0.002515/0.1938, allocations: 291.8 kB / 0.685 GB, free: 8.184 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: 5.956408539786935]