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.001444/0.001444, allocations: 109.9 kB / 20.43 MB, free: 1.461 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.001776/0.001776, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.151/1.151, allocations: 120.6 MB / 434.5 MB, free: 0.8359 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.001968/0.001968, allocations: 71.89 kB / 0.6072 GB, free: 10.46 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1819, allocations: 85.86 MB / 0.6911 GB, free: 4.387 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001701/0.1836, allocations: 397.2 kB / 0.6915 GB, free: 4 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002158/0.1838, allocations: 31.12 kB / 0.6915 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.1838, allocations: 4 kB / 0.6915 GB, free: 3.969 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.1838, allocations: 4 kB / 0.6915 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-05/0.1839, allocations: 0 / 0.6915 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.184, allocations: 3.984 kB / 0.6915 GB, free: 3.961 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.333e-05/0.1841, allocations: 7.984 kB / 0.6915 GB, free: 3.953 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.1841, allocations: 0 / 0.6915 GB, free: 3.953 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.1842, allocations: 0 / 0.6915 GB, free: 3.953 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.1842, allocations: 4 kB / 0.6915 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1842, allocations: 0 / 0.6915 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.1843, allocations: 11.98 kB / 0.6915 GB, free: 3.938 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.1843, allocations: 11.88 kB / 0.6915 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.1843, allocations: 0 / 0.6915 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 7.982e-05/0.1844, allocations: 11.98 kB / 0.6915 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1844, allocations: 7.984 kB / 0.6916 GB, free: 3.906 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1844, allocations: 0 / 0.6916 GB, free: 3.906 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.1844, allocations: 0 / 0.6916 GB, free: 3.906 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.0003155/0.1847, allocations: 234.4 kB / 0.6918 GB, free: 3.645 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1848, allocations: 8.031 kB / 0.6918 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.1848, allocations: 0.9375 kB / 0.6918 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.1849, allocations: 106.5 kB / 0.6919 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1849, allocations: 4.375 kB / 0.6919 GB, free: 3.504 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1849, allocations: 4.359 kB / 0.6919 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.185, allocations: 34.27 kB / 0.6919 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.185, allocations: 192 / 0.6919 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.185, allocations: 3.938 kB / 0.6919 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.185, allocations: 0 / 0.6919 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.1851, allocations: 11.92 kB / 0.6919 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.1852, allocations: 124.8 kB / 0.6921 GB, free: 3.281 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.375e-05/0.1853, allocations: 22.61 kB / 0.6921 GB, free: 3.25 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.1853, allocations: 4.859 kB / 0.6921 GB, free: 3.242 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.1855, allocations: 19.98 kB / 0.6921 GB, free: 3.223 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.1856, allocations: 30.56 kB / 0.6921 GB, free: 3.184 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1856, allocations: 0 / 0.6921 GB, free: 3.184 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.1857, allocations: 41.58 kB / 0.6922 GB, free: 3.137 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1857, allocations: 59.53 kB / 0.6922 GB, free: 3.066 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.299e-05/0.1858, allocations: 93.86 kB / 0.6923 GB, free: 2.965 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1858, allocations: 25.7 kB / 0.6923 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.1859, allocations: 88.06 kB / 0.6924 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.1859, allocations: 7.891 kB / 0.6924 GB, free: 2.836 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.1859, allocations: 13.72 kB / 0.6925 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1861, allocations: 310.8 kB / 0.6927 GB, free: 2.504 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.1861, allocations: 4 kB / 0.6928 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.1861, allocations: 8 kB / 0.6928 GB, free: 2.492 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.1862, allocations: 8.859 kB / 0.6928 GB, free: 2.48 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1862, allocations: 0 / 0.6928 GB, free: 2.48 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.736e-05/0.1862, allocations: 45.62 kB / 0.6928 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1863, allocations: 4 kB / 0.6928 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1863, allocations: 4 kB / 0.6928 GB, free: 2.422 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1863, allocations: 7.938 kB / 0.6928 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.1864, allocations: 0 / 0.6928 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1864, allocations: 0 / 0.6928 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.1864, allocations: 8.094 kB / 0.6928 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1864, allocations: 0 / 0.6928 GB, free: 2.406 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 9.515e-05/0.1865, allocations: 105.8 kB / 0.6929 GB, free: 2.293 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.1865, allocations: 3.984 kB / 0.6929 GB, free: 2.289 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1866, allocations: 52.69 kB / 0.693 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1866, allocations: 0 / 0.693 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1866, allocations: 4 kB / 0.693 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1866, allocations: 32 / 0.693 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.1867, allocations: 124.8 kB / 0.6931 GB, free: 2.062 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1867, allocations: 0 / 0.6931 GB, free: 2.062 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.1867, allocations: 4 kB / 0.6931 GB, free: 2.059 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1867, allocations: 0 / 0.6931 GB, free: 2.059 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1867, allocations: 3.938 kB / 0.6931 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1867, allocations: 0 / 0.6931 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1868, allocations: 4 kB / 0.6931 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.306e-05/0.1868, allocations: 73.02 kB / 0.6932 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-06/0.1868, allocations: 0 / 0.6932 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1869, allocations: 3.938 kB / 0.6932 GB, free: 1.957 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.089e-05/0.1869, allocations: 0 / 0.6932 GB, free: 1.957 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.1869, allocations: 4 kB / 0.6932 GB, free: 1.953 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1869, allocations: 7.922 kB / 0.6932 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.1869, allocations: 75.28 kB / 0.6933 GB, free: 1.871 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1869, allocations: 0 / 0.6933 GB, free: 1.871 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001886/0.1871, allocations: 4 kB / 0.6933 GB, free: 1.867 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.00014/0.1873, allocations: 99.28 kB / 0.6934 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.1873, allocations: 8 kB / 0.6934 GB, free: 1.75 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1873, allocations: 0 / 0.6934 GB, free: 1.75 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.1873, allocations: 4 kB / 0.6934 GB, free: 1.746 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.1875, allocations: 3.938 kB / 0.6934 GB, free: 1.742 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.1877, allocations: 88.98 kB / 0.6935 GB, free: 1.629 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.188, allocations: 0.6767 MB / 0.6941 GB, free: 0.9258 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.1881, allocations: 4.125 kB / 0.6941 GB, free: 0.9219 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.1881, allocations: 11.42 kB / 0.6942 GB, free: 0.9102 MB / 0.5139 GB Notification: Performance of SimCode: time 3.61e-07/0.1881, allocations: 0 / 0.6942 GB, free: 0.9102 MB / 0.5139 GB Notification: Performance of Templates: time 0.002589/0.1907, allocations: 298.8 kB / 0.6944 GB, free: 0.625 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/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.927196831209585]