Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.0008331/0.0008331, allocations: 83.69 kB / 21.44 MB, free: 3.117 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.003817/0.003817, allocations: 156.5 kB / 24.7 MB, free: 9.434 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.8134/0.8134, allocations: 177.1 MB / 205 MB, free: 5.734 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.5678/0.5678, allocations: 88.06 MB / 349.5 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_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_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.5242 GB, free: 3.578 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.976e-05, allocations: 2.281 kB / 0.5242 GB, free: 3.574 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0008278/0.0008475, allocations: 403.6 kB / 0.5246 GB, free: 3.184 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003332/0.001181, allocations: 230.9 kB / 0.5248 GB, free: 2.961 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.001205, allocations: 0 / 0.5248 GB, free: 2.961 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.001217, allocations: 0 / 0.5248 GB, free: 2.961 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.001338, allocations: 7.938 kB / 0.5248 GB, free: 2.953 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.267e-05/0.00143, allocations: 23.89 kB / 0.5248 GB, free: 2.93 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 4.713e-05/0.001477, allocations: 19.94 kB / 0.5248 GB, free: 2.91 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.001514, allocations: 7.938 kB / 0.5249 GB, free: 2.902 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.134e-05/0.001546, allocations: 7.984 kB / 0.5249 GB, free: 2.895 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.737e-05/0.001583, allocations: 0 / 0.5249 GB, free: 2.895 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.001597, allocations: 4 kB / 0.5249 GB, free: 2.891 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.001665, allocations: 31.89 kB / 0.5249 GB, free: 2.859 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.001675, allocations: 3.938 kB / 0.5249 GB, free: 2.855 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.001689, allocations: 8 kB / 0.5249 GB, free: 2.848 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.022e-05/0.001769, allocations: 27.95 kB / 0.5249 GB, free: 2.82 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.00177, allocations: 0 / 0.5249 GB, free: 2.82 MB / 442.8 MB Notification: Performance of FrontEnd: time 6.51e-07/0.001771, allocations: 0 / 0.5249 GB, free: 2.82 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.001774, allocations: 4 kB / 0.5249 GB, free: 2.816 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.0002482/0.002022, allocations: 250.3 kB / 0.5252 GB, free: 2.539 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.002057, allocations: 8.031 kB / 0.5252 GB, free: 2.531 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.002081, allocations: 0.9375 kB / 0.5252 GB, free: 2.531 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.331e-05/0.002145, allocations: 113.8 kB / 0.5253 GB, free: 2.395 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.002153, allocations: 384 / 0.5253 GB, free: 2.395 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.002169, allocations: 4.375 kB / 0.5253 GB, free: 2.391 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.046e-05/0.00224, allocations: 38.25 kB / 0.5253 GB, free: 2.348 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.002246, allocations: 192 / 0.5253 GB, free: 2.348 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.002255, allocations: 8.297 kB / 0.5253 GB, free: 2.34 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.002258, allocations: 4.375 kB / 0.5253 GB, free: 2.336 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.002289, allocations: 7.938 kB / 0.5254 GB, free: 2.328 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.491e-05/0.002384, allocations: 109.3 kB / 0.5255 GB, free: 2.191 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.002543, allocations: 38.56 kB / 0.5255 GB, free: 2.145 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.002559, allocations: 12.86 kB / 0.5255 GB, free: 2.129 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.002571, allocations: 4 kB / 0.5255 GB, free: 2.125 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.002587, allocations: 34.5 kB / 0.5255 GB, free: 2.082 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.002588, allocations: 0 / 0.5255 GB, free: 2.082 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001093/0.002697, allocations: 49.78 kB / 0.5256 GB, free: 2.027 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.002723, allocations: 59.39 kB / 0.5256 GB, free: 1.957 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.974e-05/0.002763, allocations: 97.8 kB / 0.5257 GB, free: 1.852 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.002771, allocations: 25.7 kB / 0.5258 GB, free: 1.82 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.002789, allocations: 84.14 kB / 0.5258 GB, free: 1.734 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.00281, allocations: 11.91 kB / 0.5259 GB, free: 1.723 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.002834, allocations: 17.7 kB / 0.5259 GB, free: 1.699 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.002896, allocations: 314.8 kB / 0.5262 GB, free: 1.383 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.002908, allocations: 4 kB / 0.5262 GB, free: 1.379 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-06/0.002918, allocations: 4 kB / 0.5262 GB, free: 1.375 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.002952, allocations: 33.05 kB / 0.5262 GB, free: 1.34 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.002953, allocations: 4 kB / 0.5262 GB, free: 1.336 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.823e-05/0.003001, allocations: 49.81 kB / 0.5263 GB, free: 1.281 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.00301, allocations: 7.938 kB / 0.5263 GB, free: 1.273 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.003014, allocations: 0 / 0.5263 GB, free: 1.273 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.003023, allocations: 4 kB / 0.5263 GB, free: 1.27 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.642e-05/0.00305, allocations: 4 kB / 0.5263 GB, free: 1.266 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.003053, allocations: 0 / 0.5263 GB, free: 1.266 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-06/0.003063, allocations: 3.938 kB / 0.5263 GB, free: 1.262 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.003069, allocations: 7.984 kB / 0.5263 GB, free: 1.254 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.223e-05/0.003111, allocations: 109.8 kB / 0.5264 GB, free: 1.137 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-06/0.003114, allocations: 3.938 kB / 0.5264 GB, free: 1.133 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.603e-05/0.00321, allocations: 77.36 kB / 0.5265 GB, free: 1.047 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.003212, allocations: 0 / 0.5265 GB, free: 1.047 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.003216, allocations: 0 / 0.5265 GB, free: 1.047 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.00322, allocations: 3.938 kB / 0.5265 GB, free: 1.043 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.329e-05/0.003283, allocations: 109.3 kB / 0.5266 GB, free: 0.9062 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-07/0.003283, allocations: 0 / 0.5266 GB, free: 0.9062 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.003314, allocations: 11.98 kB / 0.5266 GB, free: 0.8945 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.003315, allocations: 0 / 0.5266 GB, free: 0.8945 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.003322, allocations: 0 / 0.5266 GB, free: 0.8945 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.003323, allocations: 4.062 kB / 0.5266 GB, free: 0.8906 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.003325, allocations: 11.94 kB / 0.5266 GB, free: 0.8789 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.003427, allocations: 101 kB / 0.5267 GB, free: 0.7617 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-06/0.003433, allocations: 11.92 kB / 0.5267 GB, free: 0.75 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.003444, allocations: 4.031 kB / 0.5267 GB, free: 0.7461 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.003452, allocations: 0 / 0.5267 GB, free: 0.7461 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.003463, allocations: 0 / 0.5267 GB, free: 0.7461 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.003466, allocations: 4 kB / 0.5267 GB, free: 0.7422 MB / 442.8 MB Notification: Performance of sorting global known variables: time 1.933e-05/0.003485, allocations: 79.27 kB / 0.5268 GB, free: 0.6641 MB / 442.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003485, allocations: 0 / 0.5268 GB, free: 0.6641 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.000122/0.003607, allocations: 15.94 kB / 0.5268 GB, free: 0.6484 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 9.117e-05/0.003698, allocations: 103.4 kB / 0.5269 GB, free: 0.5391 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 6.669e-05/0.003765, allocations: 23.92 kB / 0.5269 GB, free: 0.5156 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.003766, allocations: 0 / 0.5269 GB, free: 0.5156 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.003781, allocations: 19.98 kB / 0.527 GB, free: 0.4961 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.719e-05/0.003879, allocations: 10.19 kB / 0.527 GB, free: 500 kB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002136/0.004092, allocations: 138.6 kB / 0.5271 GB, free: 328 kB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.23e-05/0.004125, allocations: 63.34 kB / 0.5272 GB, free: 244 kB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.004141, allocations: 12.5 kB / 0.5272 GB, free: 232 kB / 442.8 MB Notification: Performance of SimCode: time 3.4e-07/0.004142, allocations: 4 kB / 0.5272 GB, free: 228 kB / 442.8 MB Notification: Performance of Templates: time 0.001376/0.005517, allocations: 0.7527 MB / 0.5279 GB, free: 15.47 MB / 458.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_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: 4.899576410651207]