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.001105/0.001105, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.002652, allocations: 449.7 kB / 10.37 MB, free: 324 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.001033/0.001033, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.002307, allocations: 455.6 kB / 11.71 MB, free: 2.457 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09665/1.108, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.7548/0.7548, allocations: 88.08 MB / 332.1 MB, free: 14.17 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06149/0.8163, 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.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="p|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="p|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 366.1 MB, free: 12.31 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.46e-05, allocations: 3.188 kB / 366.1 MB, free: 12.3 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.00128/0.001294, allocations: 456.7 kB / 366.6 MB, free: 11.86 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.001634, allocations: 240.2 kB / 366.8 MB, free: 11.62 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.001659, allocations: 0 / 366.8 MB, free: 11.62 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.729e-06/0.001664, allocations: 0 / 366.8 MB, free: 11.62 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.001706, allocations: 7.938 kB / 366.8 MB, free: 11.62 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.425e-05/0.001791, allocations: 19.86 kB / 366.9 MB, free: 11.6 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 5.847e-05/0.001849, allocations: 15.97 kB / 366.9 MB, free: 11.58 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.001889, allocations: 0 / 366.9 MB, free: 11.58 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.531e-05/0.001954, allocations: 15.94 kB / 366.9 MB, free: 11.57 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.002007, allocations: 11.98 kB / 366.9 MB, free: 11.55 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.002023, allocations: 0 / 366.9 MB, free: 11.55 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.002145, allocations: 27.92 kB / 366.9 MB, free: 11.53 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.002156, allocations: 0 / 366.9 MB, free: 11.53 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.002176, allocations: 4 kB / 366.9 MB, free: 11.52 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.002293, allocations: 27.89 kB / 367 MB, free: 11.5 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.609e-05/0.002309, allocations: 0 / 367 MB, free: 11.5 MB / 362.8 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00231, allocations: 4 kB / 367 MB, free: 11.49 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.002327, allocations: 0 / 367 MB, free: 11.49 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000392/0.002719, allocations: 232.6 kB / 367.2 MB, free: 11.24 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.002759, allocations: 11.98 kB / 367.2 MB, free: 11.23 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.002785, allocations: 0.9375 kB / 367.2 MB, free: 11.23 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.642e-05/0.002872, allocations: 105.8 kB / 367.3 MB, free: 11.1 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.002882, allocations: 4.312 kB / 367.3 MB, free: 11.09 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.002903, allocations: 4.375 kB / 367.3 MB, free: 11.09 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.828e-05/0.002971, allocations: 30.25 kB / 367.3 MB, free: 11.05 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.00298, allocations: 4.172 kB / 367.3 MB, free: 11.05 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.00299, allocations: 4.375 kB / 367.4 MB, free: 11.05 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.002996, allocations: 384 / 367.4 MB, free: 11.05 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.003024, allocations: 7.938 kB / 367.4 MB, free: 11.04 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.739e-05/0.003121, allocations: 69.72 kB / 367.4 MB, free: 10.96 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.003306, allocations: 34.55 kB / 367.5 MB, free: 10.91 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.003324, allocations: 8.938 kB / 367.5 MB, free: 10.9 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.003337, allocations: 7.984 kB / 367.5 MB, free: 10.89 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.00336, allocations: 30.56 kB / 367.5 MB, free: 10.86 MB / 362.8 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.003361, allocations: 0 / 367.5 MB, free: 10.86 MB / 362.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001051/0.003466, allocations: 41.69 kB / 367.5 MB, free: 10.81 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.003503, allocations: 55.41 kB / 367.6 MB, free: 10.74 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.365e-05/0.003556, allocations: 102.7 kB / 367.7 MB, free: 10.63 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.00357, allocations: 29.83 kB / 367.7 MB, free: 10.59 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.003591, allocations: 80.14 kB / 367.8 MB, free: 10.51 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.003629, allocations: 23.75 kB / 367.8 MB, free: 10.49 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.003658, allocations: 13.72 kB / 367.8 MB, free: 10.47 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.003764, allocations: 322.8 kB / 368.2 MB, free: 10.14 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.003775, allocations: 3.984 kB / 368.2 MB, free: 10.14 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.003785, allocations: 4 kB / 368.2 MB, free: 10.14 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.003817, allocations: 16.84 kB / 368.2 MB, free: 10.12 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.003819, allocations: 0 / 368.2 MB, free: 10.12 MB / 362.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.622e-05/0.003875, allocations: 41.69 kB / 368.2 MB, free: 10.07 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.003887, allocations: 4 kB / 368.2 MB, free: 10.07 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.003891, allocations: 4 kB / 368.2 MB, free: 10.06 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.0039, allocations: 0 / 368.2 MB, free: 10.06 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.003947, allocations: 11.94 kB / 368.2 MB, free: 10.05 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.003951, allocations: 3.984 kB / 368.2 MB, free: 10.05 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.003964, allocations: 0 / 368.2 MB, free: 10.05 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.003967, allocations: 0 / 368.2 MB, free: 10.05 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 (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 6.01e-05/0.004027, allocations: 117.8 kB / 368.4 MB, free: 9.922 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-06/0.004035, allocations: 4 kB / 368.4 MB, free: 9.918 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.004142, allocations: 61.34 kB / 368.4 MB, free: 9.852 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.004143, allocations: 4 kB / 368.4 MB, free: 9.848 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004145, allocations: 0 / 368.4 MB, free: 9.848 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.004148, allocations: 0 / 368.4 MB, free: 9.848 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.161e-05/0.00422, allocations: 77.8 kB / 368.5 MB, free: 9.754 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.004221, allocations: 0 / 368.5 MB, free: 9.754 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.935e-05/0.00427, allocations: 15.92 kB / 368.5 MB, free: 9.738 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.004279, allocations: 7.938 kB / 368.5 MB, free: 9.73 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.00428, allocations: 0 / 368.5 MB, free: 9.73 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.004289, allocations: 0 / 368.5 MB, free: 9.73 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.00429, allocations: 0 / 368.5 MB, free: 9.73 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.004291, allocations: 0 / 368.5 MB, free: 9.73 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.004402, allocations: 93.03 kB / 368.6 MB, free: 9.621 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.004411, allocations: 0 / 368.6 MB, free: 9.621 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.004424, allocations: 0 / 368.6 MB, free: 9.621 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.004436, allocations: 11.98 kB / 368.6 MB, free: 9.609 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.004438, allocations: 3.938 kB / 368.6 MB, free: 9.605 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.145e-05/0.00445, allocations: 8.859 kB / 368.6 MB, free: 9.594 MB / 362.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.00445, allocations: 0 / 368.6 MB, free: 9.594 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001658/0.004615, allocations: 8 kB / 368.7 MB, free: 9.586 MB / 362.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.000109/0.004724, allocations: 84.34 kB / 368.7 MB, free: 9.496 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 6.969e-05/0.004794, allocations: 24.98 kB / 368.8 MB, free: 9.469 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.004801, allocations: 4 kB / 368.8 MB, free: 9.465 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 2.072e-05/0.004822, allocations: 20.78 kB / 368.8 MB, free: 9.441 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.768e-05/0.004889, allocations: 7.938 kB / 368.8 MB, free: 9.434 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002344/0.005124, allocations: 121.6 kB / 368.9 MB, free: 9.289 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.00516, allocations: 59.88 kB / 369 MB, free: 9.211 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 2.648e-05/0.005187, allocations: 4 kB / 369 MB, free: 9.207 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.00523, allocations: 59.38 kB / 369 MB, free: 9.148 MB / 362.8 MB Notification: Performance of SimCode: time 5.61e-07/0.005231, allocations: 0 / 369 MB, free: 9.148 MB / 362.8 MB Notification: Performance of Templates: time 0.002691/0.007922, allocations: 0.7126 MB / 369.7 MB, free: 8.473 MB / 362.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 240] 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","",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.1828863928094506]