Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001633/0.001633, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0028/0.004433, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001373/0.001373, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001766/0.00314, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.114/1.114, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1461/1.26, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 1.199/1.199, allocations: 88.08 MB / 332.2 MB, free: 14.11 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09598/1.295, allocations: 32.93 MB / 365.2 MB, free: 13.37 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 366.3 MB, free: 12.21 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/3.012e-05, allocations: 2.312 kB / 366.3 MB, free: 12.2 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001791/0.001821, allocations: 446.2 kB / 366.8 MB, free: 11.77 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 8.501e-05/0.001906, allocations: 31.89 kB / 366.8 MB, free: 11.73 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.001932, allocations: 0 / 366.8 MB, free: 11.73 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 5.841e-06/0.001938, allocations: 0 / 366.8 MB, free: 11.73 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 1.893e-05/0.001957, allocations: 0 / 366.8 MB, free: 11.73 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.416e-05/0.002031, allocations: 8 kB / 366.8 MB, free: 11.73 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 8.013e-05/0.002111, allocations: 7.938 kB / 366.8 MB, free: 11.72 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.002173, allocations: 3.984 kB / 366.8 MB, free: 11.71 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.77e-05/0.002231, allocations: 7.922 kB / 366.8 MB, free: 11.71 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.163e-05/0.002313, allocations: 4 kB / 366.8 MB, free: 11.7 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.002331, allocations: 0 / 366.8 MB, free: 11.7 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.00244, allocations: 11.98 kB / 366.9 MB, free: 11.69 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.002457, allocations: 0 / 366.9 MB, free: 11.69 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.002475, allocations: 4 kB / 366.9 MB, free: 11.69 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.0026, allocations: 11.94 kB / 366.9 MB, free: 11.68 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.002615, allocations: 0 / 366.9 MB, free: 11.68 MB / 362.8 MB Notification: Performance of FrontEnd: time 9.02e-07/0.002616, allocations: 0 / 366.9 MB, free: 11.68 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.002631, allocations: 0 / 366.9 MB, free: 11.68 MB / 362.8 MB 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.0003521/0.002983, allocations: 216.7 kB / 367.1 MB, free: 11.44 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.003043, allocations: 11.98 kB / 367.1 MB, free: 11.43 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.003081, allocations: 4.938 kB / 367.1 MB, free: 11.42 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.003184, allocations: 101.8 kB / 367.2 MB, free: 11.3 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.003198, allocations: 4.375 kB / 367.2 MB, free: 11.29 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.003212, allocations: 384 / 367.2 MB, free: 11.29 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.003323, allocations: 34.25 kB / 367.2 MB, free: 11.25 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.003332, allocations: 192 / 367.2 MB, free: 11.25 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.003341, allocations: 4.375 kB / 367.2 MB, free: 11.25 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.00335, allocations: 4.359 kB / 367.2 MB, free: 11.25 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.003376, allocations: 11.88 kB / 367.3 MB, free: 11.23 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.003491, allocations: 57.05 kB / 367.3 MB, free: 11.16 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.327e-05/0.003555, allocations: 22.59 kB / 367.3 MB, free: 11.13 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.003578, allocations: 8.859 kB / 367.3 MB, free: 11.12 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.003791, allocations: 12.05 kB / 367.4 MB, free: 11.11 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.003821, allocations: 30.56 kB / 367.4 MB, free: 11.07 MB / 362.8 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.003823, allocations: 0 / 367.4 MB, free: 11.07 MB / 362.8 MB Notification: Performance of matching and sorting (n=2): time 0.000127/0.00395, allocations: 41.62 kB / 367.4 MB, free: 11.02 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.003991, allocations: 55.41 kB / 367.5 MB, free: 10.96 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.557e-05/0.004026, allocations: 89.86 kB / 367.6 MB, free: 10.86 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.004042, allocations: 29.7 kB / 367.6 MB, free: 10.82 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.004069, allocations: 80.14 kB / 367.7 MB, free: 10.74 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.004107, allocations: 4.766 kB / 367.7 MB, free: 10.74 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.004135, allocations: 17.72 kB / 367.7 MB, free: 10.71 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.004235, allocations: 318.8 kB / 368 MB, free: 10.39 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.004244, allocations: 3.984 kB / 368 MB, free: 10.39 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-06/0.004253, allocations: 4 kB / 368 MB, free: 10.39 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.24e-05/0.004285, allocations: 8.859 kB / 368 MB, free: 10.38 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.004287, allocations: 3.938 kB / 368 MB, free: 10.37 MB / 362.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.133e-05/0.004339, allocations: 33.64 kB / 368.1 MB, free: 10.33 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.004356, allocations: 8 kB / 368.1 MB, free: 10.32 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.004365, allocations: 7.969 kB / 368.1 MB, free: 10.32 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.00438, allocations: 4.094 kB / 368.1 MB, free: 10.31 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.004443, allocations: 4 kB / 368.1 MB, free: 10.31 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.004448, allocations: 0 / 368.1 MB, free: 10.31 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.00446, allocations: 0 / 368.1 MB, free: 10.31 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.004465, allocations: 0 / 368.1 MB, free: 10.31 MB / 362.8 MB 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 7.592e-05/0.004541, allocations: 125.7 kB / 368.2 MB, free: 10.18 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.004547, allocations: 0 / 368.2 MB, free: 10.18 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.004649, allocations: 44.78 kB / 368.3 MB, free: 10.12 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.004651, allocations: 0 / 368.3 MB, free: 10.12 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.004653, allocations: 4.031 kB / 368.3 MB, free: 10.12 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.004656, allocations: 4 kB / 368.3 MB, free: 10.12 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.038e-05/0.004726, allocations: 61.84 kB / 368.3 MB, free: 10.04 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004727, allocations: 0 / 368.3 MB, free: 10.04 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.00475, allocations: 7.984 kB / 368.3 MB, free: 10.03 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-06/0.004755, allocations: 0 / 368.3 MB, free: 10.03 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004756, allocations: 4 kB / 368.3 MB, free: 10.03 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.004761, allocations: 0 / 368.3 MB, free: 10.03 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.004762, allocations: 0 / 368.3 MB, free: 10.03 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.004763, allocations: 0 / 368.3 MB, free: 10.03 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.769e-05/0.00484, allocations: 73 kB / 368.4 MB, free: 9.938 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-06/0.004848, allocations: 0 / 368.4 MB, free: 9.938 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.004856, allocations: 0 / 368.4 MB, free: 9.938 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.00487, allocations: 4 kB / 368.4 MB, free: 9.934 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.004872, allocations: 0 / 368.4 MB, free: 9.934 MB / 362.8 MB Notification: Performance of sorting global known variables: time 9.688e-06/0.004882, allocations: 8.891 kB / 368.4 MB, free: 9.922 MB / 362.8 MB Notification: Performance of sort global known variables: time 6e-08/0.004882, allocations: 0 / 368.4 MB, free: 9.922 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001645/0.005046, allocations: 4 kB / 368.4 MB, free: 9.918 MB / 362.8 MB 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.0001178/0.005164, allocations: 80.41 kB / 368.5 MB, free: 9.832 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 6.555e-05/0.00523, allocations: 16.83 kB / 368.5 MB, free: 9.812 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.005235, allocations: 0 / 368.5 MB, free: 9.812 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 1.672e-05/0.005252, allocations: 12.86 kB / 368.5 MB, free: 9.797 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.118e-05/0.005323, allocations: 8.484 kB / 368.5 MB, free: 9.789 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.005535, allocations: 88.27 kB / 368.6 MB, free: 9.676 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.005575, allocations: 59.22 kB / 368.7 MB, free: 9.598 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 2.238e-05/0.005598, allocations: 0 / 368.7 MB, free: 9.598 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.005636, allocations: 59.48 kB / 368.7 MB, free: 9.539 MB / 362.8 MB Notification: Performance of SimCode: time 6.11e-07/0.005637, allocations: 4 kB / 368.7 MB, free: 9.535 MB / 362.8 MB Notification: Performance of Templates: time 0.002466/0.008103, allocations: 337.6 kB / 369.1 MB, free: 9.23 MB / 362.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1834971541538835]