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.001461/0.001461, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001976/0.003438, allocations: 449.8 kB / 10.44 MB, free: 252 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.001181/0.001181, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00157/0.00275, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.255/1.255, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.158/1.413, allocations: 53.66 MB / 243.4 MB, free: 15.51 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 1.063/1.063, allocations: 88.08 MB / 332.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09983/1.163, allocations: 32.93 MB / 365.2 MB, free: 13.37 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_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_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.278e-06/4.278e-06, allocations: 0 / 366.4 MB, free: 12.21 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.764e-05/5.192e-05, allocations: 3.953 kB / 366.4 MB, free: 12.2 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.002446/0.002498, allocations: 453.5 kB / 366.8 MB, free: 11.76 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.003253, allocations: 244.2 kB / 367 MB, free: 11.52 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.003309, allocations: 0 / 367 MB, free: 11.52 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.003322, allocations: 3.938 kB / 367 MB, free: 11.52 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.003446, allocations: 3.938 kB / 367 MB, free: 11.51 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.003598, allocations: 27.89 kB / 367.1 MB, free: 11.48 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.003708, allocations: 4 kB / 367.1 MB, free: 11.48 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.003798, allocations: 11.94 kB / 367.1 MB, free: 11.47 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.003936, allocations: 11.98 kB / 367.1 MB, free: 11.46 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.004031, allocations: 3.984 kB / 367.1 MB, free: 11.45 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.004061, allocations: 4 kB / 367.1 MB, free: 11.45 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.004266, allocations: 31.91 kB / 367.1 MB, free: 11.42 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.004293, allocations: 4 kB / 367.1 MB, free: 11.41 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.004322, allocations: 3.938 kB / 367.1 MB, free: 11.41 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.004536, allocations: 23.92 kB / 367.2 MB, free: 11.39 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-05/0.00456, allocations: 0 / 367.2 MB, free: 11.39 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.836e-06/0.004563, allocations: 0 / 367.2 MB, free: 11.39 MB / 362.8 MB Notification: Performance of Transformations before backend: time 2.194e-05/0.004585, allocations: 0 / 367.2 MB, free: 11.39 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.0006213/0.005206, allocations: 232.6 kB / 367.4 MB, free: 11.13 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/0.005274, allocations: 11.98 kB / 367.4 MB, free: 11.12 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.005323, allocations: 4.938 kB / 367.4 MB, free: 11.12 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.005482, allocations: 105.8 kB / 367.5 MB, free: 10.99 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.005505, allocations: 8.359 kB / 367.5 MB, free: 10.98 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.005554, allocations: 384 / 367.5 MB, free: 10.98 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.005683, allocations: 34.25 kB / 367.6 MB, free: 10.94 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.005696, allocations: 192 / 367.6 MB, free: 10.94 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.005709, allocations: 4.375 kB / 367.6 MB, free: 10.94 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.005718, allocations: 384 / 367.6 MB, free: 10.94 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.04e-05/0.005758, allocations: 11.88 kB / 367.6 MB, free: 10.93 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.005934, allocations: 61.67 kB / 367.6 MB, free: 10.85 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.006283, allocations: 34.59 kB / 367.7 MB, free: 10.81 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.006315, allocations: 12.86 kB / 367.7 MB, free: 10.79 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.006339, allocations: 0 / 367.7 MB, free: 10.79 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.006381, allocations: 34.56 kB / 367.7 MB, free: 10.75 MB / 362.8 MB Notification: Performance of pre-optimization done (n=3): time 2.916e-06/0.006384, allocations: 0 / 367.7 MB, free: 10.75 MB / 362.8 MB Notification: Performance of matching and sorting (n=3): time 0.000213/0.006597, allocations: 45.72 kB / 367.8 MB, free: 10.7 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.006649, allocations: 51.41 kB / 367.8 MB, free: 10.64 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/0.006746, allocations: 102.7 kB / 367.9 MB, free: 10.52 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.006762, allocations: 25.7 kB / 367.9 MB, free: 10.49 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.006805, allocations: 88.12 kB / 368 MB, free: 10.4 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.006868, allocations: 11.84 kB / 368 MB, free: 10.39 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.006913, allocations: 21.84 kB / 368.1 MB, free: 10.36 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.007047, allocations: 318.8 kB / 368.4 MB, free: 10.04 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.007067, allocations: 7.984 kB / 368.4 MB, free: 10.04 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.617e-05/0.007083, allocations: 4 kB / 368.4 MB, free: 10.03 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.229e-05/0.007136, allocations: 12.84 kB / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.007139, allocations: 0 / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001029/0.007242, allocations: 45.95 kB / 368.4 MB, free: 9.965 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.007267, allocations: 4 kB / 368.4 MB, free: 9.961 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.007277, allocations: 0 / 368.4 MB, free: 9.961 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.007301, allocations: 4 kB / 368.4 MB, free: 9.957 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.007401, allocations: 4 kB / 368.4 MB, free: 9.953 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007407, allocations: 4 kB / 368.4 MB, free: 9.949 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.007429, allocations: 4 kB / 368.5 MB, free: 9.945 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.007442, allocations: 7.969 kB / 368.5 MB, free: 9.938 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 0.0001003/0.007542, allocations: 113.8 kB / 368.6 MB, free: 9.816 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.007558, allocations: 7.984 kB / 368.6 MB, free: 9.809 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.007801, allocations: 61.3 kB / 368.6 MB, free: 9.738 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.007805, allocations: 0 / 368.6 MB, free: 9.738 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.007808, allocations: 0 / 368.6 MB, free: 9.738 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.007814, allocations: 4 kB / 368.6 MB, free: 9.734 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.007939, allocations: 77.78 kB / 368.7 MB, free: 9.641 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.007944, allocations: 4 kB / 368.7 MB, free: 9.637 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.008047, allocations: 11.98 kB / 368.7 MB, free: 9.625 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.008061, allocations: 3.938 kB / 368.7 MB, free: 9.621 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.008065, allocations: 3.938 kB / 368.7 MB, free: 9.617 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.008081, allocations: 4 kB / 368.7 MB, free: 9.613 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.008084, allocations: 0 / 368.7 MB, free: 9.613 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.008085, allocations: 0 / 368.7 MB, free: 9.613 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.008288, allocations: 84.98 kB / 368.8 MB, free: 9.512 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.008305, allocations: 4 kB / 368.8 MB, free: 9.508 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.186e-05/0.008337, allocations: 4 kB / 368.8 MB, free: 9.504 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.008358, allocations: 8.016 kB / 368.8 MB, free: 9.496 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.008365, allocations: 4 kB / 368.8 MB, free: 9.492 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.97e-05/0.008385, allocations: 4.859 kB / 368.9 MB, free: 9.484 MB / 362.8 MB Notification: Performance of sort global known variables: time 8e-08/0.008385, allocations: 0 / 368.9 MB, free: 9.484 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002122/0.008597, allocations: 8 kB / 368.9 MB, free: 9.477 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.0002441/0.008841, allocations: 92.39 kB / 369 MB, free: 9.379 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.008949, allocations: 16.86 kB / 369 MB, free: 9.359 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.008961, allocations: 3.984 kB / 369 MB, free: 9.355 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.009002, allocations: 24.89 kB / 369 MB, free: 9.328 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.009143, allocations: 12.56 kB / 369 MB, free: 9.316 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.009587, allocations: 125.1 kB / 369.1 MB, free: 9.168 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.009638, allocations: 59.22 kB / 369.2 MB, free: 9.09 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.009689, allocations: 7.984 kB / 369.2 MB, free: 9.082 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.009754, allocations: 51.38 kB / 369.2 MB, free: 9.031 MB / 362.8 MB Notification: Performance of SimCode: time 1.323e-06/0.009755, allocations: 0 / 369.2 MB, free: 9.031 MB / 362.8 MB Notification: Performance of Templates: time 0.004655/0.01441, allocations: 0.709 MB / 370 MB, free: 8.359 MB / 362.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.25811430811882]