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.001219/0.001219, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001163/0.001163, allocations: 175.4 kB / 24.91 MB, free: 9.184 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.9582/0.9582, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.5823/0.5823, allocations: 88.09 MB / 349.9 MB, free: 14.16 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_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_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.817e-05, allocations: 6.25 kB / 398.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0008913/0.0009095, allocations: 426.7 kB / 399.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000354/0.001263, allocations: 240.2 kB / 399.4 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.001292, allocations: 0 / 399.4 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.001304, allocations: 0 / 399.4 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.001423, allocations: 7.875 kB / 399.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.174e-05/0.001515, allocations: 19.92 kB / 399.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.264e-05/0.001558, allocations: 19.91 kB / 399.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.935e-05/0.001587, allocations: 0 / 399.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.538e-05/0.001622, allocations: 8 kB / 399.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.001664, allocations: 11.98 kB / 399.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.001677, allocations: 0 / 399.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.001742, allocations: 23.92 kB / 399.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.001753, allocations: 3.984 kB / 399.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.979e-06/0.001763, allocations: 4 kB / 399.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.205e-05/0.001835, allocations: 31.89 kB / 399.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.001837, allocations: 0 / 399.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.1e-07/0.001837, allocations: 0 / 399.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.00184, allocations: 0 / 399.5 MB, free: 12.84 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.000214/0.002054, allocations: 228.6 kB / 399.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.002082, allocations: 12.03 kB / 399.8 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.002101, allocations: 4.938 kB / 399.8 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.274e-05/0.002164, allocations: 110.4 kB / 399.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.002172, allocations: 384 / 399.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.002187, allocations: 0.7188 kB / 399.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.367e-05/0.002241, allocations: 34.25 kB / 399.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.002246, allocations: 192 / 399.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-06/0.002251, allocations: 384 / 399.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.002255, allocations: 384 / 399.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.865e-05/0.002274, allocations: 11.92 kB / 399.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.998e-05/0.002344, allocations: 65 kB / 400 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.002483, allocations: 46.52 kB / 400 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.147e-05/0.002495, allocations: 8.859 kB / 400.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.002505, allocations: 4.078 kB / 400.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.002523, allocations: 34.56 kB / 400.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.002524, allocations: 0 / 400.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 7.974e-05/0.002604, allocations: 41.69 kB / 400.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.00263, allocations: 55.41 kB / 400.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.867e-05/0.002669, allocations: 98.66 kB / 400.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.002678, allocations: 25.7 kB / 400.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.774e-05/0.002696, allocations: 88.2 kB / 400.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.002718, allocations: 11.89 kB / 400.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.002742, allocations: 21.69 kB / 400.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.00281, allocations: 318.8 kB / 400.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.002818, allocations: 4 kB / 400.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.002826, allocations: 7.984 kB / 400.7 MB, free: 11.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.002849, allocations: 8.859 kB / 400.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.00285, allocations: 4 kB / 400.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.924e-05/0.00289, allocations: 37.69 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.002899, allocations: 4 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.002902, allocations: 7.984 kB / 400.8 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.002911, allocations: 7.938 kB / 400.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.471e-05/0.002936, allocations: 4 kB / 400.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.002938, allocations: 0 / 400.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-06/0.002948, allocations: 0 / 400.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.002953, allocations: 4 kB / 400.8 MB, free: 11.4 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.47e-05/0.002997, allocations: 109.8 kB / 400.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-06/0.003001, allocations: 0 / 400.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.879e-05/0.00308, allocations: 61.36 kB / 401 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.003081, allocations: 0 / 401 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.003083, allocations: 4 kB / 401 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.003086, allocations: 0 / 401 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.735e-05/0.003143, allocations: 81.77 kB / 401.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.003144, allocations: 0 / 401.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.003175, allocations: 12 kB / 401.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.003177, allocations: 4 kB / 401.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.003186, allocations: 4 kB / 401.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.003186, allocations: 0 / 401.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.003187, allocations: 0 / 401.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.313e-05/0.00327, allocations: 81.05 kB / 401.2 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.003275, allocations: 4 kB / 401.2 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.003284, allocations: 8.016 kB / 401.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.043e-05/0.003294, allocations: 0 / 401.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.003307, allocations: 8 kB / 401.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.003309, allocations: 0 / 401.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.215e-06/0.003317, allocations: 8.859 kB / 401.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003317, allocations: 7.875 kB / 401.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 9.808e-05/0.003415, allocations: 15.92 kB / 401.2 MB, free: 10.95 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 8.932e-05/0.003504, allocations: 80.41 kB / 401.3 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.315e-05/0.003558, allocations: 25.17 kB / 401.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.00356, allocations: 4.094 kB / 401.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/0.003573, allocations: 20.8 kB / 401.4 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.826e-05/0.003632, allocations: 3.938 kB / 401.4 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/0.003842, allocations: 117.3 kB / 401.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.047e-05/0.003873, allocations: 59.22 kB / 401.5 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.248e-05/0.003895, allocations: 7.969 kB / 401.5 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.003935, allocations: 59.38 kB / 401.6 MB, free: 10.52 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.003936, allocations: 4 kB / 401.6 MB, free: 10.51 MB / 378.7 MB Notification: Performance of Templates: time 0.002087/0.006022, allocations: 0.7162 MB / 402.3 MB, free: 9.832 MB / 378.7 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 -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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.126873131841421]