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.001059/0.001059, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001064/0.001064, allocations: 166.6 kB / 24.91 MB, free: 8.77 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.9576/0.9576, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.5943/0.5943, allocations: 88.07 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.773e-06/1.773e-06, allocations: 0 / 398.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.69e-05, allocations: 6.25 kB / 398.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001024/0.00104, allocations: 446.5 kB / 399.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001579/0.001198, allocations: 31.89 kB / 399.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.00122, allocations: 4 kB / 399.3 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.001231, allocations: 0 / 399.3 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.001281, allocations: 7.875 kB / 399.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.001396, allocations: 7.984 kB / 399.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.83e-05/0.001434, allocations: 0 / 399.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.993e-05/0.001464, allocations: 0 / 399.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.033e-05/0.001494, allocations: 7.984 kB / 399.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.001537, allocations: 0 / 399.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.001548, allocations: 0 / 399.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.001615, allocations: 15.98 kB / 399.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.001624, allocations: 4 kB / 399.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.022e-05/0.001635, allocations: 0 / 399.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.676e-05/0.001701, allocations: 7.984 kB / 399.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.001704, allocations: 0 / 399.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001704, allocations: 3.938 kB / 399.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.001707, allocations: 0 / 399.3 MB, free: 13.05 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.0001647/0.001872, allocations: 212.7 kB / 399.5 MB, free: 12.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.001903, allocations: 12.02 kB / 399.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.001926, allocations: 0.9375 kB / 399.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.44e-05/0.00198, allocations: 109.8 kB / 399.7 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.00199, allocations: 8.312 kB / 399.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-06/0.001995, allocations: 4.375 kB / 399.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.245e-05/0.002057, allocations: 30.27 kB / 399.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.002064, allocations: 192 / 399.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.002069, allocations: 384 / 399.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.002074, allocations: 384 / 399.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.002093, allocations: 11.92 kB / 399.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.445e-05/0.002168, allocations: 57.05 kB / 399.8 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.855e-05/0.002206, allocations: 26.55 kB / 399.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.107e-05/0.002217, allocations: 4.859 kB / 399.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.002342, allocations: 20.05 kB / 399.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.002362, allocations: 30.56 kB / 399.8 MB, free: 12.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 6.22e-07/0.002362, allocations: 0 / 399.8 MB, free: 12.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 7.421e-05/0.002437, allocations: 33.7 kB / 399.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.002465, allocations: 51.41 kB / 399.9 MB, free: 12.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.641e-05/0.002492, allocations: 93.84 kB / 400 MB, free: 12.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.002499, allocations: 25.7 kB / 400 MB, free: 12.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.00252, allocations: 80.14 kB / 400.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.002546, allocations: 8.984 kB / 400.1 MB, free: 12.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.889e-05/0.002565, allocations: 9.719 kB / 400.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.002648, allocations: 334.8 kB / 400.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-06/0.002654, allocations: 0 / 400.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.002659, allocations: 0 / 400.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.108e-05/0.00268, allocations: 16.84 kB / 400.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.002681, allocations: 0 / 400.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.408e-05/0.002715, allocations: 29.7 kB / 400.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.002727, allocations: 8.625 kB / 400.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.002731, allocations: 0 / 400.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.002739, allocations: 0 / 400.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.305e-05/0.002773, allocations: 8.031 kB / 400.5 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.002775, allocations: 7.938 kB / 400.5 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-06/0.002783, allocations: 0 / 400.5 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.002788, allocations: 3.984 kB / 400.5 MB, free: 11.68 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 5.524e-05/0.002843, allocations: 109.8 kB / 400.7 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.002849, allocations: 4 kB / 400.7 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.002908, allocations: 40.84 kB / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.002909, allocations: 0 / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.002911, allocations: 0 / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.002913, allocations: 4.031 kB / 400.7 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.059e-05/0.002964, allocations: 69.78 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.002965, allocations: 0 / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.002976, allocations: 8 kB / 400.8 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.002977, allocations: 0 / 400.8 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-06/0.00298, allocations: 0 / 400.8 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.002981, allocations: 0 / 400.8 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.002981, allocations: 0 / 400.8 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.465e-05/0.003026, allocations: 65 kB / 400.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-06/0.003031, allocations: 4 kB / 400.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-06/0.003037, allocations: 0 / 400.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-06/0.003042, allocations: 4.031 kB / 400.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.003053, allocations: 3.984 kB / 400.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.003054, allocations: 0 / 400.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.743e-06/0.003061, allocations: 8.859 kB / 400.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003061, allocations: 0 / 400.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 9.959e-05/0.003161, allocations: 4 kB / 400.9 MB, free: 11.31 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 8.215e-05/0.003243, allocations: 80.41 kB / 400.9 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.709e-05/0.00329, allocations: 12.8 kB / 401 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.003292, allocations: 0 / 401 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-06/0.003299, allocations: 16.91 kB / 401 MB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.029e-05/0.003349, allocations: 7.938 kB / 401 MB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/0.0035, allocations: 84.42 kB / 401.1 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.925e-05/0.00353, allocations: 55.22 kB / 401.1 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.904e-05/0.003549, allocations: 11.97 kB / 401.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.003579, allocations: 47.38 kB / 401.2 MB, free: 10.94 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.003579, allocations: 3.938 kB / 401.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of Templates: time 0.001512/0.005091, allocations: 331.1 kB / 401.5 MB, free: 10.64 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 -s gbode -gbm=radauIIA3 -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.0841072630137205]