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.00175/0.00175, allocations: 76.31 kB / 21.42 MB, free: 3.074 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.001145/0.001145, allocations: 173.2 kB / 24.82 MB, free: 9.312 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 1.103/1.103, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.7008/0.7008, allocations: 88.09 MB / 349.9 MB, free: 14.15 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 2.585e-06/2.585e-06, allocations: 0 / 452 MB, free: 33.1 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.717e-05, allocations: 2.859 kB / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001148/0.001175, allocations: 404.1 kB / 452.4 MB, free: 32.87 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000161/0.001336, allocations: 35.66 kB / 452.4 MB, free: 32.85 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.00136, allocations: 0 / 452.4 MB, free: 32.85 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.001375, allocations: 0 / 452.4 MB, free: 32.85 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.001425, allocations: 0 / 452.4 MB, free: 32.85 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.001557, allocations: 10.36 kB / 452.4 MB, free: 32.84 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 3.953e-05/0.001596, allocations: 2.875 kB / 452.5 MB, free: 32.84 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.00163, allocations: 0 / 452.5 MB, free: 32.84 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/0.00166, allocations: 2.812 kB / 452.5 MB, free: 32.84 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.281e-05/0.001703, allocations: 3.375 kB / 452.5 MB, free: 32.84 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.001714, allocations: 0 / 452.5 MB, free: 32.84 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.242e-05/0.001766, allocations: 13.62 kB / 452.5 MB, free: 32.84 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.001777, allocations: 0 / 452.5 MB, free: 32.84 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.191e-05/0.001788, allocations: 10.25 kB / 452.5 MB, free: 32.83 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.805e-05/0.001857, allocations: 14.19 kB / 452.5 MB, free: 32.82 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.001858, allocations: 0 / 452.5 MB, free: 32.82 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001859, allocations: 0 / 452.5 MB, free: 32.82 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.001863, allocations: 2.938 kB / 452.5 MB, free: 32.82 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.000187/0.00205, allocations: 334.7 kB / 452.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.002088, allocations: 15.5 kB / 452.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.00211, allocations: 0.9375 kB / 452.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.078e-05/0.002151, allocations: 112 kB / 452.9 MB, free: 32.33 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-06/0.00216, allocations: 7.281 kB / 453 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-06/0.002165, allocations: 384 / 453 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.652e-05/0.002221, allocations: 33.08 kB / 453 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.002228, allocations: 4.172 kB / 453 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-06/0.002233, allocations: 384 / 453 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.002237, allocations: 384 / 453 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.002255, allocations: 6.781 kB / 453 MB, free: 32.28 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.684e-05/0.002332, allocations: 95.44 kB / 453.1 MB, free: 32.17 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.617e-05/0.002368, allocations: 32.94 kB / 453.1 MB, free: 32.13 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.2e-05/0.00238, allocations: 11.69 kB / 453.1 MB, free: 32.11 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.002521, allocations: 15.67 kB / 453.2 MB, free: 32.11 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.002535, allocations: 33.39 kB / 453.2 MB, free: 32.07 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.002536, allocations: 0 / 453.2 MB, free: 32.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 8.869e-05/0.002625, allocations: 41.16 kB / 453.2 MB, free: 32.03 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.002643, allocations: 54.12 kB / 453.3 MB, free: 31.97 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.047e-05/0.002663, allocations: 142.2 kB / 453.4 MB, free: 31.82 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-06/0.002669, allocations: 25.7 kB / 453.4 MB, free: 31.79 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.126e-05/0.00268, allocations: 126.9 kB / 453.6 MB, free: 31.66 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.002707, allocations: 7.375 kB / 453.6 MB, free: 31.65 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.002725, allocations: 26.12 kB / 453.6 MB, free: 31.62 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.00277, allocations: 498.8 kB / 454.1 MB, free: 31.12 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-06/0.002777, allocations: 11.17 kB / 454.1 MB, free: 31.12 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.002783, allocations: 2.688 kB / 454.1 MB, free: 31.12 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.053e-05/0.002804, allocations: 10.38 kB / 454.1 MB, free: 31.11 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.002805, allocations: 2.781 kB / 454.1 MB, free: 31.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.644e-05/0.002832, allocations: 35.3 kB / 454.1 MB, free: 31.07 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.002843, allocations: 9.016 kB / 454.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.002847, allocations: 96 / 454.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.002856, allocations: 4 kB / 454.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.002894, allocations: 9.531 kB / 454.2 MB, free: 31.06 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.002898, allocations: 0 / 454.2 MB, free: 31.06 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.406e-05/0.002912, allocations: 1.547 kB / 454.2 MB, free: 31.06 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-06/0.002915, allocations: 0 / 454.2 MB, free: 31.06 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 3.662e-05/0.002951, allocations: 159.1 kB / 454.3 MB, free: 30.9 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-06/0.002954, allocations: 0 / 454.3 MB, free: 30.9 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.003021, allocations: 43.81 kB / 454.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.003022, allocations: 0 / 454.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.003023, allocations: 4.031 kB / 454.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.003026, allocations: 0 / 454.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.006e-05/0.003066, allocations: 99.31 kB / 454.5 MB, free: 30.74 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.003066, allocations: 0 / 454.5 MB, free: 30.74 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-06/0.003074, allocations: 6.594 kB / 454.5 MB, free: 30.74 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.003076, allocations: 2.656 kB / 454.5 MB, free: 30.74 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-06/0.00308, allocations: 0 / 454.5 MB, free: 30.74 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.00308, allocations: 0 / 454.5 MB, free: 30.74 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.003081, allocations: 0 / 454.5 MB, free: 30.74 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.218e-05/0.003123, allocations: 79.38 kB / 454.6 MB, free: 30.65 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-06/0.003127, allocations: 4.375 kB / 454.6 MB, free: 30.65 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-06/0.003133, allocations: 0 / 454.6 MB, free: 30.65 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.549e-06/0.003137, allocations: 2.969 kB / 454.6 MB, free: 30.65 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.003147, allocations: 3.234 kB / 454.6 MB, free: 30.65 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-07/0.003148, allocations: 0 / 454.6 MB, free: 30.65 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.343e-05/0.003162, allocations: 119.2 kB / 454.7 MB, free: 30.53 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.1e-08/0.003162, allocations: 0 / 454.7 MB, free: 30.53 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001084/0.00327, allocations: 2.688 kB / 454.7 MB, free: 30.53 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 8.487e-05/0.003355, allocations: 107.2 kB / 454.8 MB, free: 30.43 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 4.82e-05/0.003403, allocations: 24.27 kB / 454.8 MB, free: 30.41 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.003404, allocations: 0 / 454.8 MB, free: 30.41 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.571e-06/0.00341, allocations: 10.38 kB / 454.8 MB, free: 30.4 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.105e-05/0.003491, allocations: 6.594 kB / 454.8 MB, free: 30.4 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001315/0.003622, allocations: 92.62 kB / 454.9 MB, free: 30.29 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.752e-05/0.00364, allocations: 51.36 kB / 455 MB, free: 30.22 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.629e-05/0.003656, allocations: 2.469 kB / 455 MB, free: 30.22 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.00368, allocations: 73.2 kB / 455 MB, free: 30.16 MB / 410.8 MB Notification: Performance of SimCode: time 3.9e-07/0.00368, allocations: 0 / 455 MB, free: 30.16 MB / 410.8 MB Notification: Performance of Templates: time 0.001602/0.005282, allocations: 340.7 kB / 455.4 MB, free: 30.09 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","",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.8050343268550932]