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.001334/0.001334, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001681/0.001681, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9923/0.9923, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6511/0.6511, allocations: 88.08 MB / 349.9 MB, free: 14.12 MB / 330.7 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|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|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 398.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.694e-05, allocations: 2.312 kB / 398.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.000858/0.000875, allocations: 410.8 kB / 399.2 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000153/0.001028, allocations: 31.89 kB / 399.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.001048, allocations: 0 / 399.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.001061, allocations: 0 / 399.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.356e-05/0.001104, allocations: 0 / 399.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.001225, allocations: 4 kB / 399.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.726e-05/0.001262, allocations: 7.922 kB / 399.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.858e-05/0.001291, allocations: 4 kB / 399.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.663e-05/0.001317, allocations: 4 kB / 399.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.766e-05/0.001355, allocations: 0 / 399.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.001365, allocations: 4 kB / 399.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/0.001414, allocations: 11.97 kB / 399.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.001424, allocations: 4 kB / 399.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.839e-06/0.001433, allocations: 3.938 kB / 399.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.518e-05/0.001489, allocations: 7.984 kB / 399.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.00149, allocations: 0 / 399.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.001491, allocations: 0 / 399.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.001494, allocations: 4 kB / 399.2 MB, free: 13.2 MB / 378.7 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.000157/0.001651, allocations: 208.7 kB / 399.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.001679, allocations: 12.03 kB / 399.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.828e-05/0.001698, allocations: 4.938 kB / 399.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.605e-05/0.001744, allocations: 109.8 kB / 399.6 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.001753, allocations: 4.375 kB / 399.6 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.001759, allocations: 384 / 399.6 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.906e-05/0.001818, allocations: 30.27 kB / 399.6 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.001824, allocations: 192 / 399.6 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-06/0.001829, allocations: 384 / 399.6 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.001833, allocations: 4.312 kB / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.603e-05/0.001849, allocations: 7.938 kB / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.42e-05/0.001913, allocations: 65.03 kB / 399.7 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.001948, allocations: 22.61 kB / 399.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.171e-05/0.001959, allocations: 4.859 kB / 399.7 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.002075, allocations: 16.05 kB / 399.7 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.002091, allocations: 30.56 kB / 399.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.002091, allocations: 0 / 399.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 7.304e-05/0.002164, allocations: 37.64 kB / 399.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.002189, allocations: 51.41 kB / 399.8 MB, free: 12.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.171e-05/0.00221, allocations: 89.86 kB / 399.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.002219, allocations: 29.83 kB / 400 MB, free: 12.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.522e-05/0.002234, allocations: 84.14 kB / 400 MB, free: 12.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.00226, allocations: 8.969 kB / 400.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.002277, allocations: 13.72 kB / 400.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.002339, allocations: 318.8 kB / 400.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-06/0.002346, allocations: 11.94 kB / 400.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.002351, allocations: 4 kB / 400.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.002373, allocations: 12.8 kB / 400.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.002374, allocations: 0 / 400.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.071e-05/0.002405, allocations: 37.75 kB / 400.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.002414, allocations: 8 kB / 400.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.002417, allocations: 0 / 400.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.002426, allocations: 0 / 400.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.002633, allocations: 4 kB / 400.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.002635, allocations: 0 / 400.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-06/0.002644, allocations: 0 / 400.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-06/0.002647, allocations: 0 / 400.5 MB, free: 11.84 MB / 378.7 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 4.249e-05/0.002689, allocations: 113.8 kB / 400.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-06/0.002692, allocations: 4 kB / 400.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.00275, allocations: 44.83 kB / 400.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.002752, allocations: 0 / 400.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.002754, allocations: 3.984 kB / 400.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.002756, allocations: 0 / 400.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.09e-05/0.002797, allocations: 69.78 kB / 400.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.002798, allocations: 0 / 400.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-06/0.002807, allocations: 7.984 kB / 400.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.002808, allocations: 0 / 400.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-06/0.002811, allocations: 0 / 400.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.5e-07/0.002811, allocations: 0 / 400.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.002812, allocations: 4.031 kB / 400.7 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.688e-05/0.002849, allocations: 65 kB / 400.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-06/0.002853, allocations: 4 kB / 400.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-06/0.002858, allocations: 0 / 400.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-06/0.002861, allocations: 0 / 400.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-06/0.002869, allocations: 0 / 400.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.002872, allocations: 3.984 kB / 400.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.069e-06/0.002877, allocations: 8.859 kB / 400.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.002877, allocations: 0 / 400.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 8.448e-05/0.002961, allocations: 4 kB / 400.8 MB, free: 11.46 MB / 378.7 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 7.093e-05/0.003032, allocations: 80.45 kB / 400.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 3.722e-05/0.003069, allocations: 12.8 kB / 400.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.003072, allocations: 4 kB / 400.9 MB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.031e-06/0.003078, allocations: 12.78 kB / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.921e-05/0.003118, allocations: 11.92 kB / 400.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001257/0.003243, allocations: 80.44 kB / 401 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.263e-05/0.003266, allocations: 55.22 kB / 401 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.509e-05/0.003281, allocations: 8.125 kB / 401 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.003305, allocations: 51.36 kB / 401.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.003306, allocations: 0 / 401.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of Templates: time 0.001552/0.004858, allocations: 348.3 kB / 401.4 MB, free: 10.78 MB / 378.7 MB " [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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1073238598182797]