Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001221/0.001221, 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.001612/0.001612, allocations: 169.9 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 1.187/1.187, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.8552/0.8552, allocations: 88.07 MB / 349.9 MB, free: 14.08 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_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.953e-05, allocations: 5.125 kB / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001252/0.001281, allocations: 455.2 kB / 399.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002104/0.001492, allocations: 27.89 kB / 399.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.00152, allocations: 0 / 399.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.001537, allocations: 0 / 399.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.001603, allocations: 4 kB / 399.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.001755, allocations: 11.91 kB / 399.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.001809, allocations: 4 kB / 399.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.001853, allocations: 0 / 399.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.001891, allocations: 0 / 399.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.00195, allocations: 7.938 kB / 399.3 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.001967, allocations: 0 / 399.3 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/0.00205, allocations: 15.98 kB / 399.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.002063, allocations: 0 / 399.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.278e-05/0.002076, allocations: 4 kB / 399.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.399e-05/0.00216, allocations: 11.97 kB / 399.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.002162, allocations: 0 / 399.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.002164, allocations: 0 / 399.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.002168, allocations: 0 / 399.3 MB, free: 13.07 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.0002355/0.002403, allocations: 212.7 kB / 399.5 MB, free: 12.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.002445, allocations: 12.03 kB / 399.6 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.00247, allocations: 0.9375 kB / 399.6 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.006e-05/0.00254, allocations: 109.8 kB / 399.7 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.00255, allocations: 4.375 kB / 399.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.002556, allocations: 384 / 399.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.424e-05/0.002631, allocations: 30.2 kB / 399.7 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.00264, allocations: 8.188 kB / 399.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.002648, allocations: 384 / 399.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.002653, allocations: 384 / 399.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.002676, allocations: 7.922 kB / 399.7 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.683e-05/0.002773, allocations: 57.05 kB / 399.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.987e-05/0.002823, allocations: 22.61 kB / 399.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.002839, allocations: 12.92 kB / 399.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.003005, allocations: 15.97 kB / 399.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.003032, allocations: 42.44 kB / 399.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.003033, allocations: 0 / 399.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 9.698e-05/0.00313, allocations: 29.7 kB / 399.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.003162, allocations: 55.41 kB / 399.9 MB, free: 12.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.372e-05/0.003196, allocations: 97.83 kB / 400 MB, free: 12.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.003207, allocations: 25.7 kB / 400.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.003232, allocations: 80.14 kB / 400.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.003269, allocations: 9.109 kB / 400.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.003294, allocations: 13.72 kB / 400.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.003392, allocations: 318.8 kB / 400.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.003401, allocations: 4 kB / 400.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-06/0.003409, allocations: 0 / 400.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.972e-05/0.003438, allocations: 16.78 kB / 400.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00344, allocations: 0 / 400.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.216e-05/0.003483, allocations: 33.7 kB / 400.5 MB, free: 11.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.003497, allocations: 4 kB / 400.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.003503, allocations: 4.094 kB / 400.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.003517, allocations: 0 / 400.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-05/0.003568, allocations: 4 kB / 400.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.748e-06/0.003572, allocations: 0 / 400.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.003583, allocations: 3.984 kB / 400.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.003593, allocations: 4 kB / 400.5 MB, free: 11.7 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 7.195e-05/0.003664, allocations: 109.8 kB / 400.7 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-06/0.003667, allocations: 3.938 kB / 400.7 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/0.003757, allocations: 44.84 kB / 400.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.00376, allocations: 4.031 kB / 400.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.003762, allocations: 0 / 400.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.003766, allocations: 0 / 400.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.392e-05/0.00384, allocations: 73.77 kB / 400.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.003842, allocations: 0 / 400.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-06/0.003852, allocations: 0 / 400.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.003854, allocations: 4 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.00386, allocations: 0 / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.00386, allocations: 0 / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.003861, allocations: 0 / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.179e-05/0.003923, allocations: 65 kB / 400.8 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-06/0.003928, allocations: 7.969 kB / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-06/0.003937, allocations: 0 / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-06/0.003944, allocations: 8 kB / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.003961, allocations: 3.984 kB / 400.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.003963, allocations: 0 / 400.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.367e-06/0.003973, allocations: 4.859 kB / 400.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003973, allocations: 0 / 400.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001014/0.004074, allocations: 8 kB / 400.9 MB, free: 11.32 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 0.0001185/0.004193, allocations: 76.42 kB / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.584e-05/0.004258, allocations: 12.86 kB / 401 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.00426, allocations: 0 / 401 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.007e-05/0.004271, allocations: 16.78 kB / 401 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.705e-05/0.004338, allocations: 3.938 kB / 401 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.00456, allocations: 80.44 kB / 401.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.532e-05/0.004605, allocations: 63.2 kB / 401.1 MB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.358e-05/0.004628, allocations: 3.984 kB / 401.1 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.00467, allocations: 55.5 kB / 401.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.004671, allocations: 0 / 401.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of Templates: time 0.002292/0.006963, allocations: 329.2 kB / 401.5 MB, free: 10.66 MB / 378.7 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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: 4.310174004174769]