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.00222/0.00222, allocations: 78.66 kB / 20.49 MB, free: 1.387 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.002045/0.002045, allocations: 164.8 kB / 23.74 MB, free: 4.586 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.537/1.537, allocations: 177.2 MB / 204.1 MB, free: 9.293 MB / 190.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.087/1.087, allocations: 88.07 MB / 348.6 MB, free: 1.91 MB / 318.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.002144/0.002144, allocations: 68.19 kB / 0.5232 GB, free: 8.379 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2013, allocations: 85.83 MB / 0.6071 GB, free: 5.027 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.002133/0.2034, allocations: 401.2 kB / 0.6074 GB, free: 4.637 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002667/0.2037, allocations: 27.89 kB / 0.6075 GB, free: 4.609 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.2037, allocations: 0 / 0.6075 GB, free: 4.609 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.2037, allocations: 0 / 0.6075 GB, free: 4.609 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6e-05/0.2038, allocations: 0 / 0.6075 GB, free: 4.609 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.204, allocations: 11.94 kB / 0.6075 GB, free: 4.598 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.2041, allocations: 7.984 kB / 0.6075 GB, free: 4.59 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.435e-05/0.2041, allocations: 0 / 0.6075 GB, free: 4.59 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.735e-05/0.2042, allocations: 4 kB / 0.6075 GB, free: 4.586 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.2042, allocations: 7.922 kB / 0.6075 GB, free: 4.578 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.2042, allocations: 4 kB / 0.6075 GB, free: 4.574 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.2043, allocations: 7.984 kB / 0.6075 GB, free: 4.566 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.2043, allocations: 4 kB / 0.6075 GB, free: 4.562 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.2043, allocations: 3.938 kB / 0.6075 GB, free: 4.559 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2044, allocations: 4 kB / 0.6075 GB, free: 4.555 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.2045, allocations: 3.984 kB / 0.6075 GB, free: 4.551 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2045, allocations: 0 / 0.6075 GB, free: 4.551 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2045, allocations: 4 kB / 0.6075 GB, free: 4.547 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.0003732/0.2048, allocations: 238.4 kB / 0.6078 GB, free: 4.281 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2049, allocations: 12.03 kB / 0.6078 GB, free: 4.27 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.2049, allocations: 0.9375 kB / 0.6078 GB, free: 4.27 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.205, allocations: 106.5 kB / 0.6079 GB, free: 4.141 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2051, allocations: 4.312 kB / 0.6079 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.2051, allocations: 384 / 0.6079 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.2052, allocations: 34.25 kB / 0.6079 GB, free: 4.098 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2052, allocations: 192 / 0.6079 GB, free: 4.098 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2052, allocations: 7.875 kB / 0.6079 GB, free: 4.09 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2052, allocations: 0 / 0.6079 GB, free: 4.09 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.015e-05/0.2053, allocations: 8 kB / 0.6079 GB, free: 4.082 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.2054, allocations: 101.3 kB / 0.608 GB, free: 3.953 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 8.191e-05/0.2055, allocations: 30.53 kB / 0.608 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.2055, allocations: 4.859 kB / 0.6081 GB, free: 3.906 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.2058, allocations: 12.05 kB / 0.6081 GB, free: 3.895 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2058, allocations: 30.56 kB / 0.6081 GB, free: 3.855 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.2058, allocations: 0 / 0.6081 GB, free: 3.855 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001966/0.206, allocations: 45.64 kB / 0.6081 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.2061, allocations: 51.41 kB / 0.6082 GB, free: 3.742 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.2061, allocations: 89.98 kB / 0.6083 GB, free: 3.645 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.2061, allocations: 29.7 kB / 0.6083 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.2062, allocations: 80.14 kB / 0.6084 GB, free: 3.527 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.2062, allocations: 3.953 kB / 0.6084 GB, free: 3.523 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.2063, allocations: 21.7 kB / 0.6084 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2065, allocations: 310.8 kB / 0.6087 GB, free: 3.184 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.2065, allocations: 7.938 kB / 0.6087 GB, free: 3.176 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-06/0.2065, allocations: 0 / 0.6087 GB, free: 3.176 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.2065, allocations: 12.86 kB / 0.6087 GB, free: 3.16 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2065, allocations: 4 kB / 0.6087 GB, free: 3.156 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.536e-05/0.2066, allocations: 41.75 kB / 0.6088 GB, free: 3.109 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2066, allocations: 6.812 kB / 0.6088 GB, free: 3.105 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2066, allocations: 0 / 0.6088 GB, free: 3.105 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2066, allocations: 0 / 0.6088 GB, free: 3.105 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.2067, allocations: 7.938 kB / 0.6088 GB, free: 3.098 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.2067, allocations: 0 / 0.6088 GB, free: 3.098 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.2067, allocations: 11.88 kB / 0.6088 GB, free: 3.086 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.2067, allocations: 0 / 0.6088 GB, free: 3.086 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 0.0001153/0.2068, allocations: 121.7 kB / 0.6089 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.2069, allocations: 0 / 0.6089 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.207, allocations: 52.83 kB / 0.609 GB, free: 2.898 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.207, allocations: 3.938 kB / 0.609 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.207, allocations: 0 / 0.609 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.207, allocations: 0 / 0.609 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.2071, allocations: 101.3 kB / 0.6091 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2071, allocations: 7.922 kB / 0.6091 GB, free: 2.758 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.2071, allocations: 4 kB / 0.6091 GB, free: 2.754 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2071, allocations: 0 / 0.6091 GB, free: 2.754 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.2071, allocations: 0 / 0.6091 GB, free: 2.754 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2071, allocations: 0 / 0.6091 GB, free: 2.754 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2071, allocations: 7.969 kB / 0.6091 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.2072, allocations: 73.02 kB / 0.6091 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-06/0.2072, allocations: 0 / 0.6091 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.2073, allocations: 0 / 0.6091 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.17e-05/0.2073, allocations: 0 / 0.6091 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.2073, allocations: 3.938 kB / 0.6091 GB, free: 2.652 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.2073, allocations: 8 kB / 0.6092 GB, free: 2.645 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.2073, allocations: 75.28 kB / 0.6092 GB, free: 2.57 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.2073, allocations: 0 / 0.6092 GB, free: 2.57 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002094/0.2076, allocations: 4 kB / 0.6092 GB, free: 2.566 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.0001587/0.2077, allocations: 99.27 kB / 0.6093 GB, free: 2.457 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.2078, allocations: 11.94 kB / 0.6093 GB, free: 2.445 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2078, allocations: 0 / 0.6093 GB, free: 2.445 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.2078, allocations: 4 kB / 0.6093 GB, free: 2.441 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.208, allocations: 7.984 kB / 0.6093 GB, free: 2.434 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.2082, allocations: 87.59 kB / 0.6094 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.255e-05/0.2083, allocations: 55.36 kB / 0.6095 GB, free: 2.25 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.2083, allocations: 4.125 kB / 0.6095 GB, free: 2.246 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.2084, allocations: 12.5 kB / 0.6095 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of SimCode: time 9.42e-07/0.2084, allocations: 0 / 0.6095 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of Templates: time 0.002839/0.2112, allocations: 276.8 kB / 0.6098 GB, free: 1.969 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.991445584222674]