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.001301/0.001301, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001417/0.001417, allocations: 203.3 kB / 20.74 MB, free: 2.316 MB / 14.72 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.515/1.515, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9003/0.9003, allocations: 120.6 MB / 430.7 MB, free: 188 kB / 350.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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="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: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 66.08 kB / 0.602 GB, free: 11.06 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6864/0.6885, allocations: 85.81 MB / 0.6858 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.00154/0.69, allocations: 413.5 kB / 0.6862 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004705/0.6905, allocations: 236.3 kB / 0.6864 GB, free: 10.99 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.6905, allocations: 4 kB / 0.6864 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.6906, allocations: 7.875 kB / 0.6864 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.6907, allocations: 1.812 kB / 0.6864 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.6908, allocations: 28.22 kB / 0.6865 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.647e-05/0.6909, allocations: 20.48 kB / 0.6865 GB, free: 10.94 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.6909, allocations: 1.844 kB / 0.6865 GB, free: 10.94 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.6909, allocations: 6.766 kB / 0.6865 GB, free: 10.94 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.691, allocations: 2.75 kB / 0.6865 GB, free: 10.94 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.691, allocations: 0 / 0.6865 GB, free: 10.94 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.001e-05/0.6911, allocations: 29.77 kB / 0.6865 GB, free: 10.92 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.6911, allocations: 8.891 kB / 0.6865 GB, free: 10.91 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.6911, allocations: 5.828 kB / 0.6865 GB, free: 10.91 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.6912, allocations: 26.67 kB / 0.6866 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6912, allocations: 0 / 0.6866 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6912, allocations: 0 / 0.6866 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.6912, allocations: 0.9062 kB / 0.6866 GB, free: 10.9 MB / 0.5139 GB 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.000317/0.6916, allocations: 332.1 kB / 0.6869 GB, free: 10.54 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.6916, allocations: 9.219 kB / 0.6869 GB, free: 10.54 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.6916, allocations: 5.828 kB / 0.6869 GB, free: 10.53 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.987e-05/0.6917, allocations: 165.3 kB / 0.6871 GB, free: 10.33 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.6917, allocations: 1.281 kB / 0.6871 GB, free: 10.33 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.6917, allocations: 2.219 kB / 0.6871 GB, free: 10.33 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.6918, allocations: 42.81 kB / 0.6871 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6918, allocations: 192 / 0.6871 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.6919, allocations: 3.938 kB / 0.6871 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.6919, allocations: 0.9062 kB / 0.6871 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.807e-05/0.6919, allocations: 12.59 kB / 0.6871 GB, free: 10.28 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.692, allocations: 149.4 kB / 0.6873 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.6922, allocations: 47.19 kB / 0.6873 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.6923, allocations: 16.52 kB / 0.6873 GB, free: 10.03 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.6923, allocations: 4.891 kB / 0.6873 GB, free: 10.03 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.6923, allocations: 31.5 kB / 0.6874 GB, free: 9.988 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.6923, allocations: 0 / 0.6874 GB, free: 9.988 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001494/0.6924, allocations: 51.53 kB / 0.6874 GB, free: 9.945 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.6925, allocations: 56.34 kB / 0.6875 GB, free: 9.879 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.007e-05/0.6925, allocations: 104.5 kB / 0.6876 GB, free: 9.77 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.6925, allocations: 29.7 kB / 0.6876 GB, free: 9.734 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.43e-05/0.6925, allocations: 81.08 kB / 0.6877 GB, free: 9.652 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.6926, allocations: 13.69 kB / 0.6877 GB, free: 9.641 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.6926, allocations: 16.5 kB / 0.6877 GB, free: 9.621 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.6926, allocations: 316.7 kB / 0.688 GB, free: 9.305 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.889e-05/0.6926, allocations: 6.812 kB / 0.688 GB, free: 9.301 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.544e-05/0.6927, allocations: 16.56 kB / 0.688 GB, free: 9.289 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.6927, allocations: 21.12 kB / 0.688 GB, free: 9.273 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6927, allocations: 0.9375 kB / 0.688 GB, free: 9.273 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.369e-05/0.6928, allocations: 47.53 kB / 0.6881 GB, free: 9.234 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.6928, allocations: 7.562 kB / 0.6881 GB, free: 9.234 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6928, allocations: 7.938 kB / 0.6881 GB, free: 9.227 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6928, allocations: 0.9375 kB / 0.6881 GB, free: 9.227 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.6929, allocations: 5.531 kB / 0.6881 GB, free: 9.227 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6929, allocations: 3.938 kB / 0.6881 GB, free: 9.223 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.6929, allocations: 4.906 kB / 0.6881 GB, free: 9.219 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.6929, allocations: 5.844 kB / 0.6881 GB, free: 9.215 MB / 0.5139 GB 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.52e-05/0.6929, allocations: 112.5 kB / 0.6882 GB, free: 9.098 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.693, allocations: 1.844 kB / 0.6882 GB, free: 9.098 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.6931, allocations: 69.41 kB / 0.6883 GB, free: 9.035 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6931, allocations: 4.922 kB / 0.6883 GB, free: 9.031 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6931, allocations: 0 / 0.6883 GB, free: 9.031 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6931, allocations: 0.9062 kB / 0.6883 GB, free: 9.031 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.703e-05/0.6932, allocations: 164.1 kB / 0.6885 GB, free: 8.828 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6932, allocations: 0.9062 kB / 0.6885 GB, free: 8.828 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.6932, allocations: 12.25 kB / 0.6885 GB, free: 8.824 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6932, allocations: 0 / 0.6885 GB, free: 8.824 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.6932, allocations: 8.875 kB / 0.6885 GB, free: 8.816 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6932, allocations: 0.9062 kB / 0.6885 GB, free: 8.816 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6932, allocations: 0.9062 kB / 0.6885 GB, free: 8.816 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.6934, allocations: 93.73 kB / 0.6886 GB, free: 8.734 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.6934, allocations: 86.03 kB / 0.6887 GB, free: 8.633 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.6934, allocations: 8.875 kB / 0.6887 GB, free: 8.625 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.6934, allocations: 1.234 kB / 0.6887 GB, free: 8.625 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.6934, allocations: 5.828 kB / 0.6887 GB, free: 8.621 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.6935, allocations: 5.781 kB / 0.6887 GB, free: 8.617 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 1.713e-05/0.6935, allocations: 77.16 kB / 0.6887 GB, free: 8.543 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.6935, allocations: 0 / 0.6887 GB, free: 8.543 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001987/0.6937, allocations: 16.22 kB / 0.6888 GB, free: 8.535 MB / 0.5139 GB 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.0001108/0.6938, allocations: 109.3 kB / 0.6889 GB, free: 8.434 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.6939, allocations: 22.86 kB / 0.6889 GB, free: 8.426 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6939, allocations: 0 / 0.6889 GB, free: 8.426 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.6939, allocations: 22.14 kB / 0.6889 GB, free: 8.414 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.694, allocations: 4.656 kB / 0.6889 GB, free: 8.414 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.6943, allocations: 130.4 kB / 0.689 GB, free: 8.285 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.6944, allocations: 0.6753 MB / 0.6897 GB, free: 7.59 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.668e-05/0.6945, allocations: 15.66 kB / 0.6897 GB, free: 7.578 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.6945, allocations: 14.12 kB / 0.6897 GB, free: 7.566 MB / 0.5139 GB Notification: Performance of SimCode: time 4.71e-07/0.6945, allocations: 0 / 0.6897 GB, free: 7.566 MB / 0.5139 GB Notification: Performance of Templates: time 0.003168/0.6977, allocations: 0.6122 MB / 0.6903 GB, free: 7.25 MB / 0.5139 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/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: 6.467343297787011]