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.001244/0.001244, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001263/0.001263, allocations: 165.1 kB / 24.82 MB, free: 9.27 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.9969/0.9969, 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.6633/0.6633, allocations: 88.08 MB / 349.9 MB, free: 14.17 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 4.609e-06/4.609e-06, allocations: 0 / 452 MB, free: 33.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.61e-05/5.071e-05, allocations: 6.25 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001787/0.001838, allocations: 406.8 kB / 452.4 MB, free: 32.89 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004934/0.002331, allocations: 232.9 kB / 452.6 MB, free: 32.75 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.002376, allocations: 0 / 452.6 MB, free: 32.75 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.002394, allocations: 0 / 452.6 MB, free: 32.75 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.002571, allocations: 2.75 kB / 452.6 MB, free: 32.75 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.002705, allocations: 30.33 kB / 452.7 MB, free: 32.73 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.05e-05/0.002765, allocations: 18.12 kB / 452.7 MB, free: 32.72 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.002814, allocations: 2.875 kB / 452.7 MB, free: 32.72 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.224e-05/0.002867, allocations: 2.875 kB / 452.7 MB, free: 32.72 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.002926, allocations: 6.188 kB / 452.7 MB, free: 32.72 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.002943, allocations: 0 / 452.7 MB, free: 32.72 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.003048, allocations: 28.88 kB / 452.7 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.003062, allocations: 3.938 kB / 452.7 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.003078, allocations: 2.906 kB / 452.7 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.003197, allocations: 43.66 kB / 452.8 MB, free: 32.69 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.003203, allocations: 0 / 452.8 MB, free: 32.69 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.744e-06/0.003205, allocations: 0 / 452.8 MB, free: 32.69 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.00321, allocations: 4 kB / 452.8 MB, free: 32.69 MB / 410.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.0003035/0.003514, allocations: 348.2 kB / 453.1 MB, free: 32.32 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.003562, allocations: 10.59 kB / 453.1 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.003597, allocations: 4.203 kB / 453.1 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.553e-05/0.003663, allocations: 111.6 kB / 453.2 MB, free: 32.19 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.003674, allocations: 384 / 453.2 MB, free: 32.19 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.003693, allocations: 7.25 kB / 453.3 MB, free: 32.18 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.477e-05/0.003767, allocations: 35.7 kB / 453.3 MB, free: 32.15 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.003774, allocations: 192 / 453.3 MB, free: 32.15 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.003782, allocations: 384 / 453.3 MB, free: 32.15 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.003787, allocations: 7.281 kB / 453.3 MB, free: 32.15 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.00381, allocations: 18.7 kB / 453.3 MB, free: 32.13 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.003922, allocations: 103.4 kB / 453.4 MB, free: 32.01 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.004095, allocations: 47.67 kB / 453.5 MB, free: 31.97 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.004112, allocations: 14.06 kB / 453.5 MB, free: 31.96 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.004128, allocations: 0 / 453.5 MB, free: 31.96 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.004149, allocations: 36.27 kB / 453.5 MB, free: 31.92 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.004149, allocations: 0 / 453.5 MB, free: 31.92 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001182/0.004268, allocations: 48.33 kB / 453.6 MB, free: 31.88 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.004288, allocations: 51.41 kB / 453.6 MB, free: 31.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.412e-05/0.004332, allocations: 160.2 kB / 453.8 MB, free: 31.65 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.004339, allocations: 25.7 kB / 453.8 MB, free: 31.62 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.004358, allocations: 129.6 kB / 453.9 MB, free: 31.49 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.004389, allocations: 5.844 kB / 453.9 MB, free: 31.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.004418, allocations: 32.34 kB / 454 MB, free: 31.45 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.004474, allocations: 496.1 kB / 454.4 MB, free: 30.96 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-06/0.004483, allocations: 2.969 kB / 454.4 MB, free: 30.96 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.004493, allocations: 6.062 kB / 454.4 MB, free: 30.96 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.842e-05/0.004522, allocations: 20.31 kB / 454.5 MB, free: 30.94 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.004524, allocations: 0 / 454.5 MB, free: 30.94 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.772e-05/0.004572, allocations: 54.62 kB / 454.5 MB, free: 30.9 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.004585, allocations: 6.328 kB / 454.5 MB, free: 30.9 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.004591, allocations: 2.938 kB / 454.5 MB, free: 30.9 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.004603, allocations: 0 / 454.5 MB, free: 30.9 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.965e-05/0.004633, allocations: 5.844 kB / 454.5 MB, free: 30.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.004637, allocations: 3.984 kB / 454.5 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.004648, allocations: 0 / 454.5 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.004652, allocations: 3.938 kB / 454.5 MB, free: 30.89 MB / 410.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.558e-05/0.004698, allocations: 159.5 kB / 454.7 MB, free: 30.73 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/0.004704, allocations: 6.078 kB / 454.7 MB, free: 30.73 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.004815, allocations: 72.75 kB / 454.8 MB, free: 30.67 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004817, allocations: 0 / 454.8 MB, free: 30.67 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.004819, allocations: 2.875 kB / 454.8 MB, free: 30.67 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.004823, allocations: 0 / 454.8 MB, free: 30.67 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.574e-05/0.004888, allocations: 110.9 kB / 454.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.00489, allocations: 0 / 454.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.004924, allocations: 11.92 kB / 454.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.004925, allocations: 3.938 kB / 454.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.004934, allocations: 0 / 454.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.004935, allocations: 0 / 454.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.004936, allocations: 6.781 kB / 454.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.604e-05/0.005032, allocations: 108.6 kB / 455 MB, free: 30.44 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-06/0.005038, allocations: 336 / 455 MB, free: 30.44 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-06/0.005046, allocations: 2.844 kB / 455 MB, free: 30.44 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.005053, allocations: 0 / 455 MB, free: 30.44 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.005069, allocations: 5.812 kB / 455 MB, free: 30.44 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.005071, allocations: 0 / 455 MB, free: 30.44 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.666e-05/0.005088, allocations: 121.8 kB / 455.1 MB, free: 30.32 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005088, allocations: 0 / 455.1 MB, free: 30.32 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00013/0.005218, allocations: 15.8 kB / 455.2 MB, free: 30.32 MB / 410.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.0001201/0.005338, allocations: 114 kB / 455.3 MB, free: 30.21 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.372e-05/0.005412, allocations: 25.66 kB / 455.3 MB, free: 30.2 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.005413, allocations: 0 / 455.3 MB, free: 30.2 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.767e-05/0.005431, allocations: 25.55 kB / 455.3 MB, free: 30.18 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.005537, allocations: 6.562 kB / 455.3 MB, free: 30.18 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.005753, allocations: 124.9 kB / 455.4 MB, free: 30.06 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.561e-05/0.005779, allocations: 57.58 kB / 455.5 MB, free: 29.99 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.931e-05/0.005808, allocations: 6.906 kB / 455.5 MB, free: 29.99 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.005843, allocations: 72.02 kB / 455.6 MB, free: 29.93 MB / 410.8 MB Notification: Performance of SimCode: time 9.52e-07/0.005844, allocations: 0 / 455.6 MB, free: 29.93 MB / 410.8 MB Notification: Performance of Templates: time 0.002284/0.008128, allocations: 0.7146 MB / 456.3 MB, free: 29.84 MB / 410.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 -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.6143955970183015]