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.002075/0.002075, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002096/0.002096, allocations: 170.1 kB / 24.28 MB, free: 152 kB / 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 1.628/1.628, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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 0.9052/0.9052, allocations: 88.08 MB / 349.2 MB, free: 14.26 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|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 2.194e-06/2.194e-06, allocations: 0 / 450.8 MB, free: 33.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.87e-05, allocations: 2.312 kB / 450.8 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001241/0.001269, allocations: 396.2 kB / 451.2 MB, free: 32.88 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001898/0.001459, allocations: 31.2 kB / 451.2 MB, free: 32.87 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.001487, allocations: 4 kB / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.001502, allocations: 0 / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.884e-05/0.001571, allocations: 0 / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.001726, allocations: 10.72 kB / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.306e-05/0.001769, allocations: 6.453 kB / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.001813, allocations: 0 / 451.2 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.001848, allocations: 3.219 kB / 451.3 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.001899, allocations: 3.984 kB / 451.3 MB, free: 32.85 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.001914, allocations: 0 / 451.3 MB, free: 32.85 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.001977, allocations: 12.91 kB / 451.3 MB, free: 32.85 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.001987, allocations: 4 kB / 451.3 MB, free: 32.84 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.483e-05/0.002002, allocations: 0 / 451.3 MB, free: 32.84 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.736e-05/0.002089, allocations: 12.5 kB / 451.3 MB, free: 32.84 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002091, allocations: 0 / 451.3 MB, free: 32.84 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002092, allocations: 0 / 451.3 MB, free: 32.84 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.002096, allocations: 2.875 kB / 451.3 MB, free: 32.84 MB / 410.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.0002648/0.002361, allocations: 346.1 kB / 451.6 MB, free: 32.47 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.002403, allocations: 8.719 kB / 451.6 MB, free: 32.47 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.002445, allocations: 3.844 kB / 451.6 MB, free: 32.47 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.801e-05/0.002503, allocations: 104.6 kB / 451.7 MB, free: 32.34 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.002515, allocations: 3.188 kB / 451.7 MB, free: 32.34 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.002523, allocations: 4.375 kB / 451.7 MB, free: 32.34 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.935e-05/0.002612, allocations: 40.11 kB / 451.8 MB, free: 32.3 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.002621, allocations: 192 / 451.8 MB, free: 32.3 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.002631, allocations: 384 / 451.8 MB, free: 32.3 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.002635, allocations: 384 / 451.8 MB, free: 32.3 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.481e-05/0.00267, allocations: 9.781 kB / 451.8 MB, free: 32.3 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.002789, allocations: 108.6 kB / 451.9 MB, free: 32.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.012e-05/0.002849, allocations: 35.95 kB / 451.9 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.00287, allocations: 10.53 kB / 451.9 MB, free: 32.11 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.003065, allocations: 13.31 kB / 452 MB, free: 32.1 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.003086, allocations: 40.11 kB / 452 MB, free: 32.05 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.003088, allocations: 0 / 452 MB, free: 32.05 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001529/0.00324, allocations: 38.3 kB / 452 MB, free: 32.02 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.00327, allocations: 57.59 kB / 452.1 MB, free: 31.96 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.464e-05/0.003304, allocations: 142.2 kB / 452.2 MB, free: 31.8 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.003312, allocations: 25.7 kB / 452.3 MB, free: 31.77 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.003337, allocations: 126.9 kB / 452.4 MB, free: 31.64 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.003373, allocations: 3.438 kB / 452.4 MB, free: 31.64 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.0034, allocations: 22.25 kB / 452.4 MB, free: 31.62 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.003479, allocations: 0.4913 MB / 452.9 MB, free: 31.12 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.003491, allocations: 0 / 452.9 MB, free: 31.12 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-06/0.003499, allocations: 9.953 kB / 452.9 MB, free: 31.11 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.31e-05/0.003532, allocations: 17.47 kB / 452.9 MB, free: 31.1 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.003534, allocations: 0 / 452.9 MB, free: 31.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.706e-05/0.003582, allocations: 34.45 kB / 453 MB, free: 31.07 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.003594, allocations: 6.219 kB / 453 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.003598, allocations: 0 / 453 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.003612, allocations: 0 / 453 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.003666, allocations: 10.38 kB / 453 MB, free: 31.06 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.003672, allocations: 0 / 453 MB, free: 31.06 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.003685, allocations: 3.938 kB / 453 MB, free: 31.06 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.003691, allocations: 10.94 kB / 453 MB, free: 31.05 MB / 410.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 6.285e-05/0.003754, allocations: 156.5 kB / 453.1 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.003764, allocations: 6.781 kB / 453.1 MB, free: 30.88 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.722e-05/0.003861, allocations: 44.5 kB / 453.2 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.003862, allocations: 0 / 453.2 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.003866, allocations: 0 / 453.2 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.00387, allocations: 4.031 kB / 453.2 MB, free: 30.84 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.416e-05/0.003934, allocations: 115.9 kB / 453.3 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.003935, allocations: 0 / 453.3 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.003954, allocations: 2.688 kB / 453.3 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.003956, allocations: 0 / 453.3 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.003963, allocations: 0 / 453.3 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.003964, allocations: 2.719 kB / 453.3 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.003965, allocations: 0 / 453.3 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.312e-05/0.004038, allocations: 82.44 kB / 453.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-06/0.004043, allocations: 0.75 kB / 453.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.004055, allocations: 32 / 453.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.194e-05/0.004067, allocations: 4 kB / 453.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.004088, allocations: 5.969 kB / 453.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.00409, allocations: 0 / 453.4 MB, free: 30.61 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.337e-05/0.004114, allocations: 123.2 kB / 453.5 MB, free: 30.49 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.004114, allocations: 0 / 453.5 MB, free: 30.49 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002057/0.004319, allocations: 2.781 kB / 453.5 MB, free: 30.49 MB / 410.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.0001116/0.004431, allocations: 108 kB / 453.6 MB, free: 30.39 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.533e-05/0.004516, allocations: 16.48 kB / 453.7 MB, free: 30.38 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.004518, allocations: 4 kB / 453.7 MB, free: 30.38 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-05/0.004531, allocations: 14.5 kB / 453.7 MB, free: 30.36 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.004658, allocations: 6.625 kB / 453.7 MB, free: 30.36 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.004857, allocations: 93.17 kB / 453.8 MB, free: 30.25 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.004896, allocations: 54.2 kB / 453.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.953e-05/0.004916, allocations: 0 / 453.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.004933, allocations: 11.44 kB / 453.8 MB, free: 30.17 MB / 410.8 MB Notification: Performance of SimCode: time 3.91e-07/0.004933, allocations: 0 / 453.8 MB, free: 30.17 MB / 410.8 MB Notification: Performance of Templates: time 0.00273/0.007663, allocations: 308.3 kB / 454.1 MB, free: 30.11 MB / 410.8 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","/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.907776084030047]