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.0008392/0.0008392, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002084, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007941/0.0007941, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001889, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.051/1.051, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1232/1.174, allocations: 53.65 MB / 243.3 MB, free: 15.58 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 0.853/0.853, allocations: 88.07 MB / 332.1 MB, free: 14.16 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06057/0.9136, allocations: 32.92 MB / 365 MB, free: 13.45 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_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.754e-06/1.754e-06, allocations: 0 / 366.1 MB, free: 12.3 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.082e-05, allocations: 2.312 kB / 366.1 MB, free: 12.3 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001132/0.001153, allocations: 452.7 kB / 366.6 MB, free: 11.86 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 6.111e-05/0.001214, allocations: 31.88 kB / 366.6 MB, free: 11.83 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.001235, allocations: 0 / 366.6 MB, free: 11.83 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.907e-06/0.001239, allocations: 0 / 366.6 MB, free: 11.83 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 1.482e-05/0.001254, allocations: 3.938 kB / 366.6 MB, free: 11.82 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.45e-05/0.001308, allocations: 4 kB / 366.6 MB, free: 11.82 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 4.728e-05/0.001355, allocations: 0 / 366.6 MB, free: 11.82 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.001398, allocations: 7.984 kB / 366.6 MB, free: 11.81 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.00144, allocations: 7.984 kB / 366.6 MB, free: 11.8 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.001494, allocations: 11.94 kB / 366.6 MB, free: 11.79 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.001507, allocations: 0 / 366.6 MB, free: 11.79 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/0.00158, allocations: 4 kB / 366.7 MB, free: 11.79 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.001591, allocations: 0 / 366.7 MB, free: 11.79 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 1.112e-05/0.001602, allocations: 4 kB / 366.7 MB, free: 11.79 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 7.421e-05/0.001677, allocations: 7.984 kB / 366.7 MB, free: 11.78 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.001691, allocations: 0 / 366.7 MB, free: 11.78 MB / 362.8 MB Notification: Performance of FrontEnd: time 8.01e-07/0.001691, allocations: 0 / 366.7 MB, free: 11.78 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.001702, allocations: 0 / 366.7 MB, free: 11.78 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.0002263/0.001928, allocations: 216.7 kB / 366.9 MB, free: 11.54 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.001962, allocations: 11.98 kB / 366.9 MB, free: 11.53 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.001986, allocations: 8.938 kB / 366.9 MB, free: 11.52 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.687e-05/0.002042, allocations: 105.8 kB / 367 MB, free: 11.39 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.002052, allocations: 4.312 kB / 367 MB, free: 11.39 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-06/0.002058, allocations: 4.312 kB / 367 MB, free: 11.38 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.438e-05/0.002133, allocations: 38.23 kB / 367 MB, free: 11.34 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.002139, allocations: 192 / 367 MB, free: 11.34 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.002144, allocations: 384 / 367 MB, free: 11.34 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.002149, allocations: 384 / 367 MB, free: 11.34 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.002167, allocations: 7.938 kB / 367.1 MB, free: 11.33 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.134e-05/0.002248, allocations: 61.03 kB / 367.1 MB, free: 11.26 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.381e-05/0.002292, allocations: 26.55 kB / 367.1 MB, free: 11.22 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.002307, allocations: 8.859 kB / 367.1 MB, free: 11.21 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.002462, allocations: 12.05 kB / 367.2 MB, free: 11.2 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.002483, allocations: 30.56 kB / 367.2 MB, free: 11.16 MB / 362.8 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.002484, allocations: 0 / 367.2 MB, free: 11.16 MB / 362.8 MB Notification: Performance of matching and sorting (n=2): time 9.244e-05/0.002576, allocations: 37.69 kB / 367.2 MB, free: 11.12 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.002605, allocations: 51.41 kB / 367.3 MB, free: 11.05 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.228e-05/0.002638, allocations: 89.86 kB / 367.4 MB, free: 10.96 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.002647, allocations: 25.7 kB / 367.4 MB, free: 10.93 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.002669, allocations: 88.27 kB / 367.5 MB, free: 10.84 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.0027, allocations: 4.641 kB / 367.5 MB, free: 10.83 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.002723, allocations: 21.66 kB / 367.5 MB, free: 10.8 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.002808, allocations: 314.8 kB / 367.8 MB, free: 10.49 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-06/0.002818, allocations: 0 / 367.8 MB, free: 10.49 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-06/0.002824, allocations: 4 kB / 367.8 MB, free: 10.48 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/0.002855, allocations: 16.83 kB / 367.8 MB, free: 10.46 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.002858, allocations: 0 / 367.8 MB, free: 10.46 MB / 362.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.046e-05/0.002898, allocations: 29.7 kB / 367.9 MB, free: 10.43 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.002911, allocations: 12.09 kB / 367.9 MB, free: 10.42 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.002916, allocations: 0 / 367.9 MB, free: 10.42 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.002925, allocations: 0 / 367.9 MB, free: 10.42 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.002988, allocations: 11.92 kB / 367.9 MB, free: 10.41 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.002992, allocations: 0 / 367.9 MB, free: 10.41 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/0.003003, allocations: 4 kB / 367.9 MB, free: 10.4 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.003009, allocations: 4 kB / 367.9 MB, free: 10.4 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 6.406e-05/0.003073, allocations: 117.7 kB / 368 MB, free: 10.27 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-06/0.003078, allocations: 0 / 368 MB, free: 10.27 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.155e-05/0.003159, allocations: 44.84 kB / 368 MB, free: 10.22 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.003162, allocations: 0 / 368 MB, free: 10.22 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.003164, allocations: 3.938 kB / 368.1 MB, free: 10.22 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.003168, allocations: 0 / 368.1 MB, free: 10.22 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.89e-05/0.003227, allocations: 65.84 kB / 368.1 MB, free: 10.14 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.003228, allocations: 0 / 368.1 MB, free: 10.14 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-05/0.003244, allocations: 4 kB / 368.1 MB, free: 10.13 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-06/0.003252, allocations: 3.984 kB / 368.1 MB, free: 10.13 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.003255, allocations: 4 kB / 368.1 MB, free: 10.12 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.003259, allocations: 0 / 368.1 MB, free: 10.12 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.00326, allocations: 0 / 368.1 MB, free: 10.12 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.003261, allocations: 7.969 kB / 368.1 MB, free: 10.12 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.411e-05/0.003315, allocations: 57.08 kB / 368.2 MB, free: 10.04 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.003323, allocations: 3.984 kB / 368.2 MB, free: 10.04 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-06/0.003327, allocations: 0 / 368.2 MB, free: 10.04 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.003341, allocations: 0 / 368.2 MB, free: 10.04 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.003343, allocations: 4 kB / 368.2 MB, free: 10.04 MB / 362.8 MB Notification: Performance of sorting global known variables: time 8.376e-06/0.003352, allocations: 8.859 kB / 368.2 MB, free: 10.02 MB / 362.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003352, allocations: 0 / 368.2 MB, free: 10.02 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001021/0.003454, allocations: 4 kB / 368.2 MB, free: 10.02 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.0001103/0.003564, allocations: 72.45 kB / 368.3 MB, free: 9.941 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 6.217e-05/0.003626, allocations: 24.78 kB / 368.3 MB, free: 9.914 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.003631, allocations: 0 / 368.3 MB, free: 9.914 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 7.674e-06/0.003639, allocations: 8.859 kB / 368.3 MB, free: 9.902 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.571e-05/0.003695, allocations: 3.938 kB / 368.3 MB, free: 9.898 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.003897, allocations: 101 kB / 368.4 MB, free: 9.773 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.003929, allocations: 55.22 kB / 368.5 MB, free: 9.699 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 2.482e-05/0.003954, allocations: 8.125 kB / 368.5 MB, free: 9.691 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.00399, allocations: 47.38 kB / 368.5 MB, free: 9.645 MB / 362.8 MB Notification: Performance of SimCode: time 9.52e-07/0.003991, allocations: 0 / 368.5 MB, free: 9.645 MB / 362.8 MB Notification: Performance of Templates: time 0.001825/0.005817, allocations: 336.8 kB / 368.9 MB, free: 9.348 MB / 362.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 -ignoreHideResult -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.4111185679212213]