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.001338/0.001338, allocations: 80.8 kB / 21.5 MB, free: 2.984 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.0009515/0.0009515, allocations: 174.3 kB / 24.91 MB, free: 9.156 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.9919/0.9919, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.6728/0.6728, allocations: 88.07 MB / 349.9 MB, free: 14.14 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|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|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 398.8 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.875e-05, allocations: 5.266 kB / 398.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001503/0.001531, allocations: 458.5 kB / 399.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.00499, allocations: 236.2 kB / 399.5 MB, free: 12.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.005023, allocations: 0 / 399.5 MB, free: 12.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.005037, allocations: 3.938 kB / 399.5 MB, free: 12.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.00517, allocations: 15.92 kB / 399.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.682e-05/0.005266, allocations: 19.86 kB / 399.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.597e-05/0.005312, allocations: 4 kB / 399.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.005352, allocations: 11.97 kB / 399.5 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.005395, allocations: 4 kB / 399.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.005441, allocations: 3.938 kB / 399.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.005454, allocations: 0 / 399.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.97e-05/0.005553, allocations: 31.91 kB / 399.6 MB, free: 12.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.005567, allocations: 8 kB / 399.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.355e-05/0.005581, allocations: 3.984 kB / 399.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.417e-05/0.005675, allocations: 31.95 kB / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005677, allocations: 0 / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.005678, allocations: 0 / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.005681, allocations: 0 / 399.6 MB, free: 12.77 MB / 378.7 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.0002379/0.005919, allocations: 228.6 kB / 399.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.005953, allocations: 15.97 kB / 399.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.005977, allocations: 0.9375 kB / 399.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.906e-05/0.006056, allocations: 106.5 kB / 400 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.006067, allocations: 4.375 kB / 400 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.006081, allocations: 0.7188 kB / 400 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.862e-05/0.006139, allocations: 38.25 kB / 400 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.006146, allocations: 192 / 400 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.006151, allocations: 384 / 400 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.006156, allocations: 384 / 400 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.006182, allocations: 11.92 kB / 400 MB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.843e-05/0.00627, allocations: 64.98 kB / 400.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.006404, allocations: 38.55 kB / 400.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.006419, allocations: 8.859 kB / 400.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.006428, allocations: 0 / 400.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.00645, allocations: 38.64 kB / 400.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.006451, allocations: 4 kB / 400.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 9.684e-05/0.006548, allocations: 41.62 kB / 400.2 MB, free: 12.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.006576, allocations: 55.41 kB / 400.3 MB, free: 12.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.7e-05/0.006623, allocations: 98.7 kB / 400.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.006633, allocations: 25.7 kB / 400.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.006662, allocations: 88.14 kB / 400.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.006687, allocations: 7.891 kB / 400.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.006717, allocations: 17.7 kB / 400.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.0068, allocations: 318.8 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.006811, allocations: 4 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-06/0.00682, allocations: 8.125 kB / 400.8 MB, free: 11.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.00685, allocations: 16.84 kB / 400.8 MB, free: 11.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006852, allocations: 0 / 400.8 MB, free: 11.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.928e-05/0.006912, allocations: 45.62 kB / 400.9 MB, free: 11.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.006923, allocations: 8 kB / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.006928, allocations: 0 / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.006939, allocations: 0 / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.931e-05/0.006968, allocations: 7.984 kB / 400.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.00697, allocations: 0 / 400.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.006985, allocations: 4 kB / 400.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.006989, allocations: 3.938 kB / 400.9 MB, free: 11.32 MB / 378.7 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 5.246e-05/0.007041, allocations: 113.8 kB / 401 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.007049, allocations: 4 kB / 401 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.915e-05/0.007148, allocations: 57.3 kB / 401.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007149, allocations: 0 / 401.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.007154, allocations: 8.062 kB / 401.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007157, allocations: 0 / 401.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.061e-05/0.007227, allocations: 81.77 kB / 401.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007228, allocations: 4 kB / 401.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.007265, allocations: 8 kB / 401.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.007267, allocations: 4 kB / 401.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.007275, allocations: 0 / 401.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007276, allocations: 0 / 401.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007277, allocations: 0 / 401.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.866e-05/0.007376, allocations: 85.05 kB / 401.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.007382, allocations: 3.984 kB / 401.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.007393, allocations: 4 kB / 401.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.111e-05/0.007404, allocations: 3.938 kB / 401.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.007416, allocations: 336 / 401.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.007419, allocations: 0 / 401.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.218e-05/0.007431, allocations: 16.89 kB / 401.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007431, allocations: 0 / 401.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003171/0.0106, allocations: 15.92 kB / 401.3 MB, free: 10.87 MB / 378.7 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.0001084/0.01071, allocations: 80.41 kB / 401.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.869e-05/0.01077, allocations: 28.83 kB / 401.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.01077, allocations: 4 kB / 401.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.01079, allocations: 16.8 kB / 401.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.481e-05/0.01085, allocations: 7.922 kB / 401.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.01106, allocations: 113.5 kB / 401.6 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.804e-05/0.01109, allocations: 63.22 kB / 401.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.207e-05/0.01111, allocations: 11.97 kB / 401.6 MB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.01115, allocations: 51.38 kB / 401.7 MB, free: 10.44 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01115, allocations: 0 / 401.7 MB, free: 10.44 MB / 378.7 MB Notification: Performance of Templates: time 0.005392/0.01654, allocations: 0.709 MB / 402.4 MB, free: 9.77 MB / 378.7 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 -s gbode -gbm=radauIIA3 -emit_protected -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.2209698003716767]