Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.001181/0.001181, allocations: 75.77 kB / 20.67 MB, free: 3.883 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.001378/0.001378, allocations: 170.8 kB / 23.95 MB, free: 0.6016 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.905/0.905, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.5938/0.5938, allocations: 88.05 MB / 348.7 MB, free: 14.36 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.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.5234 GB, free: 3.691 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/2.016e-05, allocations: 6.281 kB / 0.5235 GB, free: 3.684 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0008905/0.0009107, allocations: 413 kB / 0.5238 GB, free: 3.285 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.00037/0.001281, allocations: 227 kB / 0.5241 GB, free: 3.066 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.00131, allocations: 0 / 0.5241 GB, free: 3.066 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.001325, allocations: 3.938 kB / 0.5241 GB, free: 3.062 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.00145, allocations: 3.984 kB / 0.5241 GB, free: 3.059 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000101/0.001551, allocations: 31.78 kB / 0.5241 GB, free: 3.027 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 4.615e-05/0.001598, allocations: 12 kB / 0.5241 GB, free: 3.016 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.001637, allocations: 3.984 kB / 0.5241 GB, free: 3.012 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.001671, allocations: 8 kB / 0.5241 GB, free: 3.004 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.001711, allocations: 7.938 kB / 0.5241 GB, free: 2.996 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.001726, allocations: 4 kB / 0.5241 GB, free: 2.992 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.497e-05/0.001801, allocations: 27.95 kB / 0.5242 GB, free: 2.965 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.001811, allocations: 0 / 0.5242 GB, free: 2.965 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.492e-05/0.001826, allocations: 4 kB / 0.5242 GB, free: 2.961 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 9.215e-05/0.001918, allocations: 31.89 kB / 0.5242 GB, free: 2.93 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.00192, allocations: 0 / 0.5242 GB, free: 2.93 MB / 442.8 MB Notification: Performance of FrontEnd: time 8.22e-07/0.001921, allocations: 3.938 kB / 0.5242 GB, free: 2.926 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.001924, allocations: 0 / 0.5242 GB, free: 2.926 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002895/0.002214, allocations: 246.4 kB / 0.5244 GB, free: 2.652 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.002247, allocations: 8.031 kB / 0.5244 GB, free: 2.645 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.002277, allocations: 12.88 kB / 0.5245 GB, free: 2.633 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.332e-05/0.00235, allocations: 117.6 kB / 0.5246 GB, free: 2.492 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.002358, allocations: 384 / 0.5246 GB, free: 2.492 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.002378, allocations: 8.375 kB / 0.5246 GB, free: 2.484 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.898e-05/0.002457, allocations: 34.25 kB / 0.5246 GB, free: 2.445 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.002464, allocations: 192 / 0.5246 GB, free: 2.445 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.002472, allocations: 384 / 0.5246 GB, free: 2.445 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.002476, allocations: 384 / 0.5246 GB, free: 2.445 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.286e-05/0.002509, allocations: 7.938 kB / 0.5246 GB, free: 2.438 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.002614, allocations: 105.3 kB / 0.5247 GB, free: 2.305 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.002794, allocations: 54.59 kB / 0.5248 GB, free: 2.242 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.002813, allocations: 8.859 kB / 0.5248 GB, free: 2.23 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.002825, allocations: 4 kB / 0.5248 GB, free: 2.227 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.00284, allocations: 30.56 kB / 0.5248 GB, free: 2.188 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 6.32e-07/0.002841, allocations: 0 / 0.5248 GB, free: 2.188 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001281/0.002969, allocations: 57.7 kB / 0.5249 GB, free: 2.125 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.002997, allocations: 51.41 kB / 0.5249 GB, free: 2.062 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.036e-05/0.003047, allocations: 97.8 kB / 0.525 GB, free: 1.957 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.003058, allocations: 29.7 kB / 0.525 GB, free: 1.922 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.00308, allocations: 80.14 kB / 0.5251 GB, free: 1.84 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.003111, allocations: 12.03 kB / 0.5251 GB, free: 1.828 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.003138, allocations: 21.7 kB / 0.5251 GB, free: 1.801 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.003217, allocations: 310.8 kB / 0.5254 GB, free: 1.488 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.003234, allocations: 8 kB / 0.5255 GB, free: 1.48 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.101e-05/0.003245, allocations: 7.984 kB / 0.5255 GB, free: 1.473 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.003278, allocations: 20.86 kB / 0.5255 GB, free: 1.449 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.003281, allocations: 0 / 0.5255 GB, free: 1.449 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.439e-05/0.003335, allocations: 49.62 kB / 0.5255 GB, free: 1.395 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.003348, allocations: 8 kB / 0.5255 GB, free: 1.387 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.003352, allocations: 0 / 0.5255 GB, free: 1.387 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.003361, allocations: 0 / 0.5255 GB, free: 1.387 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.964e-05/0.003391, allocations: 11.98 kB / 0.5255 GB, free: 1.375 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.003396, allocations: 0 / 0.5255 GB, free: 1.375 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.003411, allocations: 11.94 kB / 0.5256 GB, free: 1.363 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.003416, allocations: 0 / 0.5256 GB, free: 1.363 MB / 442.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 (4): * Single equations (assignments): 4 * 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 4.904e-05/0.003465, allocations: 105.8 kB / 0.5257 GB, free: 1.25 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-06/0.00347, allocations: 4 kB / 0.5257 GB, free: 1.246 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.00358, allocations: 73.3 kB / 0.5257 GB, free: 1.164 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.003582, allocations: 3.938 kB / 0.5257 GB, free: 1.16 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.003586, allocations: 3.938 kB / 0.5257 GB, free: 1.156 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.003591, allocations: 7.938 kB / 0.5257 GB, free: 1.148 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.547e-05/0.003656, allocations: 121.3 kB / 0.5259 GB, free: 1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.003657, allocations: 0 / 0.5259 GB, free: 1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.003691, allocations: 8 kB / 0.5259 GB, free: 0.9922 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.003692, allocations: 0 / 0.5259 GB, free: 0.9922 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.0037, allocations: 0 / 0.5259 GB, free: 0.9922 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.003701, allocations: 4 kB / 0.5259 GB, free: 0.9883 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.003702, allocations: 0 / 0.5259 GB, free: 0.9883 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.003819, allocations: 101 kB / 0.526 GB, free: 0.8711 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.003826, allocations: 4.031 kB / 0.526 GB, free: 0.8672 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.003836, allocations: 64 / 0.526 GB, free: 0.8672 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-06/0.003844, allocations: 4 kB / 0.526 GB, free: 0.8633 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.00386, allocations: 11.92 kB / 0.526 GB, free: 0.8516 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.003863, allocations: 4 kB / 0.526 GB, free: 0.8477 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.316e-05/0.003887, allocations: 75.28 kB / 0.5261 GB, free: 0.7734 MB / 442.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003887, allocations: 0 / 0.5261 GB, free: 0.7734 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.000137/0.004024, allocations: 11.94 kB / 0.5261 GB, free: 0.7617 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.0001097/0.004133, allocations: 115.2 kB / 0.5262 GB, free: 0.6406 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 6.876e-05/0.004202, allocations: 16.33 kB / 0.5262 GB, free: 0.625 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.004203, allocations: 8.094 kB / 0.5262 GB, free: 0.6172 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.807e-05/0.004221, allocations: 19.92 kB / 0.5262 GB, free: 0.5977 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.004326, allocations: 5.312 kB / 0.5262 GB, free: 0.5938 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.004557, allocations: 116.9 kB / 0.5263 GB, free: 464 kB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.646e-05/0.004594, allocations: 59.34 kB / 0.5264 GB, free: 384 kB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.054e-05/0.004614, allocations: 7.984 kB / 0.5264 GB, free: 376 kB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.004633, allocations: 12.5 kB / 0.5264 GB, free: 364 kB / 442.8 MB Notification: Performance of SimCode: time 6.21e-07/0.004634, allocations: 4 kB / 0.5264 GB, free: 360 kB / 442.8 MB Notification: Performance of Templates: time 0.001876/0.00651, allocations: 0.628 MB / 0.527 GB, free: 15.74 MB / 458.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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: 3.4752145102247596]