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.001452/0.001452, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001608/0.001608, allocations: 172.7 kB / 24.91 MB, free: 9.195 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.951/0.951, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.6051/0.6051, 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 1.273e-06/1.273e-06, allocations: 0 / 398.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.382e-05, allocations: 10.25 kB / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0008682/0.000882, allocations: 418.5 kB / 399.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003243/0.001206, allocations: 236.2 kB / 399.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.001229, allocations: 0 / 399.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.00124, allocations: 4 kB / 399.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.001349, allocations: 7.875 kB / 399.4 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.617e-05/0.001435, allocations: 23.91 kB / 399.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.632e-05/0.001472, allocations: 7.938 kB / 399.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.892e-05/0.001501, allocations: 7.984 kB / 399.5 MB, free: 12.94 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.275e-05/0.001533, allocations: 7.984 kB / 399.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.001569, allocations: 3.938 kB / 399.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.001581, allocations: 4 kB / 399.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.415e-05/0.001645, allocations: 23.92 kB / 399.5 MB, free: 12.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.001657, allocations: 7.984 kB / 399.5 MB, free: 12.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.215e-05/0.00167, allocations: 11.98 kB / 399.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.046e-05/0.00174, allocations: 23.97 kB / 399.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.001742, allocations: 0 / 399.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001742, allocations: 0 / 399.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.605e-06/0.001745, allocations: 0 / 399.5 MB, free: 12.86 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.0001942/0.001939, allocations: 224.6 kB / 399.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.475e-05/0.001964, allocations: 8.031 kB / 399.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.671e-05/0.001981, allocations: 4.938 kB / 399.8 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.295e-05/0.002044, allocations: 110.5 kB / 399.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.002052, allocations: 8.25 kB / 399.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.002067, allocations: 8.719 kB / 399.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.627e-05/0.002113, allocations: 34.25 kB / 399.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-06/0.002118, allocations: 192 / 399.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-06/0.002123, allocations: 384 / 399.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.002127, allocations: 384 / 399.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.589e-05/0.002143, allocations: 7.938 kB / 399.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.528e-05/0.002208, allocations: 65.05 kB / 400 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.002339, allocations: 38.48 kB / 400 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.131e-05/0.00235, allocations: 8.859 kB / 400 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.002358, allocations: 0 / 400 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.002375, allocations: 34.56 kB / 400.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 5.71e-07/0.002375, allocations: 0 / 400.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 7.122e-05/0.002446, allocations: 45.77 kB / 400.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.00247, allocations: 51.41 kB / 400.2 MB, free: 12.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.98e-05/0.00251, allocations: 102.7 kB / 400.3 MB, free: 12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.002519, allocations: 33.69 kB / 400.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.002536, allocations: 80.14 kB / 400.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.002559, allocations: 11.89 kB / 400.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.00258, allocations: 17.66 kB / 400.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.002654, allocations: 318.8 kB / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.002662, allocations: 12.11 kB / 400.7 MB, free: 11.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.002667, allocations: 0 / 400.7 MB, free: 11.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.002694, allocations: 16.84 kB / 400.7 MB, free: 11.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.002695, allocations: 0 / 400.7 MB, free: 11.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.786e-05/0.002733, allocations: 45.69 kB / 400.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.002744, allocations: 4 kB / 400.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.002747, allocations: 0 / 400.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.002758, allocations: 0 / 400.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.478e-05/0.002783, allocations: 11.94 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.002785, allocations: 0 / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.002795, allocations: 0 / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-06/0.002798, allocations: 4 kB / 400.8 MB, free: 11.42 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 4.86e-05/0.002847, allocations: 117.8 kB / 400.9 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-06/0.00285, allocations: 0 / 400.9 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.267e-05/0.002933, allocations: 57.36 kB / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.002934, allocations: 3.938 kB / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.002935, allocations: 0 / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.002938, allocations: 0 / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.808e-05/0.002996, allocations: 81.78 kB / 401.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.002997, allocations: 0 / 401.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.00303, allocations: 23.98 kB / 401.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.003031, allocations: 0 / 401.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.003039, allocations: 0 / 401.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.003041, allocations: 4 kB / 401.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.003041, allocations: 0 / 401.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.268e-05/0.003124, allocations: 81.05 kB / 401.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.003136, allocations: 4 kB / 401.2 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.003146, allocations: 0 / 401.2 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-06/0.003154, allocations: 0 / 401.2 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.003166, allocations: 3.984 kB / 401.2 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.003169, allocations: 8 kB / 401.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.414e-06/0.003176, allocations: 8.891 kB / 401.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003176, allocations: 0 / 401.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001046/0.003281, allocations: 11.94 kB / 401.2 MB, free: 10.97 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 9.698e-05/0.003378, allocations: 92.33 kB / 401.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.878e-05/0.003436, allocations: 20.86 kB / 401.3 MB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.003439, allocations: 0 / 401.3 MB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.425e-05/0.003453, allocations: 16.84 kB / 401.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.447e-05/0.003508, allocations: 13.41 kB / 401.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.003698, allocations: 113.5 kB / 401.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.928e-05/0.003728, allocations: 63.2 kB / 401.5 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.827e-05/0.003746, allocations: 7.984 kB / 401.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.003777, allocations: 51.38 kB / 401.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.003778, allocations: 0 / 401.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of Templates: time 0.00181/0.005587, allocations: 0.7193 MB / 402.3 MB, free: 9.863 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 -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.0074723549187183]