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.00153/0.00153, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001667/0.001667, allocations: 168 kB / 23.95 MB, free: 4.16 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.363/1.363, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.8451/0.8451, allocations: 88.08 MB / 348.7 MB, free: 1.816 MB / 318.1 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|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|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5234 GB, free: 8.348 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.719e-05, allocations: 3.5 kB / 0.5235 GB, free: 8.344 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001022/0.00104, allocations: 394.2 kB / 0.5238 GB, free: 8.055 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0003877/0.001427, allocations: 234.6 kB / 0.5241 GB, free: 7.887 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.00146, allocations: 0 / 0.5241 GB, free: 7.887 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 1.079e-05/0.001471, allocations: 0 / 0.5241 GB, free: 7.887 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.00159, allocations: 1.344 kB / 0.5241 GB, free: 7.887 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.001693, allocations: 36.08 kB / 0.5241 GB, free: 7.859 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 4.128e-05/0.001734, allocations: 9.5 kB / 0.5241 GB, free: 7.855 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.001772, allocations: 1.406 kB / 0.5241 GB, free: 7.855 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.001802, allocations: 6.391 kB / 0.5241 GB, free: 7.852 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.001844, allocations: 7.938 kB / 0.5241 GB, free: 7.848 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.001856, allocations: 4 kB / 0.5241 GB, free: 7.844 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 7.51e-05/0.001931, allocations: 30.58 kB / 0.5241 GB, free: 7.828 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.001942, allocations: 3.938 kB / 0.5241 GB, free: 7.824 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.001963, allocations: 9.656 kB / 0.5242 GB, free: 7.816 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 9.114e-05/0.002054, allocations: 31.27 kB / 0.5242 GB, free: 7.797 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.002055, allocations: 0 / 0.5242 GB, free: 7.797 MB / 446.2 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002056, allocations: 1.531 kB / 0.5242 GB, free: 7.797 MB / 446.2 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.002059, allocations: 0 / 0.5242 GB, free: 7.797 MB / 446.2 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.0002491/0.002308, allocations: 255.3 kB / 0.5244 GB, free: 7.523 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.002337, allocations: 8 kB / 0.5244 GB, free: 7.523 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.002366, allocations: 6.125 kB / 0.5244 GB, free: 7.52 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.851e-05/0.002424, allocations: 112.5 kB / 0.5246 GB, free: 7.387 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.002435, allocations: 384 / 0.5246 GB, free: 7.387 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.002452, allocations: 2.75 kB / 0.5246 GB, free: 7.387 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.498e-05/0.002527, allocations: 39.53 kB / 0.5246 GB, free: 7.348 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.002535, allocations: 4.172 kB / 0.5246 GB, free: 7.344 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.002543, allocations: 384 / 0.5246 GB, free: 7.344 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.002546, allocations: 384 / 0.5246 GB, free: 7.344 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.002578, allocations: 12.25 kB / 0.5246 GB, free: 7.336 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.188e-05/0.00267, allocations: 105.5 kB / 0.5247 GB, free: 7.207 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.002858, allocations: 44.94 kB / 0.5248 GB, free: 7.172 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.002879, allocations: 12.39 kB / 0.5248 GB, free: 7.16 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.002893, allocations: 0 / 0.5248 GB, free: 7.16 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.084e-05/0.002904, allocations: 32.03 kB / 0.5248 GB, free: 7.121 MB / 446.2 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.002905, allocations: 0 / 0.5248 GB, free: 7.121 MB / 446.2 MB Notification: Performance of matching and sorting (n=3): time 0.0001264/0.003031, allocations: 55.2 kB / 0.5248 GB, free: 7.074 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.003053, allocations: 52.69 kB / 0.5249 GB, free: 7.012 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.759e-05/0.003091, allocations: 100.9 kB / 0.525 GB, free: 6.906 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.003098, allocations: 25.7 kB / 0.525 GB, free: 6.875 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 1.224e-05/0.00311, allocations: 85.42 kB / 0.5251 GB, free: 6.789 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.00313, allocations: 13.19 kB / 0.5251 GB, free: 6.777 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.003157, allocations: 21.17 kB / 0.5251 GB, free: 6.754 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 3.34e-05/0.00319, allocations: 312 kB / 0.5254 GB, free: 6.441 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.003206, allocations: 4.812 kB / 0.5254 GB, free: 6.441 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.003221, allocations: 11.83 kB / 0.5254 GB, free: 6.434 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.619e-05/0.003257, allocations: 17.86 kB / 0.5255 GB, free: 6.422 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.003258, allocations: 0 / 0.5255 GB, free: 6.422 MB / 446.2 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.381e-05/0.003322, allocations: 52.19 kB / 0.5255 GB, free: 6.379 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.003332, allocations: 5.406 kB / 0.5255 GB, free: 6.379 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.003335, allocations: 0 / 0.5255 GB, free: 6.379 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.003347, allocations: 0 / 0.5255 GB, free: 6.379 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.96e-05/0.003386, allocations: 9.406 kB / 0.5255 GB, free: 6.375 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.003391, allocations: 5.766 kB / 0.5255 GB, free: 6.371 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.00341, allocations: 3.938 kB / 0.5255 GB, free: 6.367 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.003416, allocations: 5.75 kB / 0.5255 GB, free: 6.363 MB / 446.2 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 3.74e-05/0.003453, allocations: 115.6 kB / 0.5257 GB, free: 6.242 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.003462, allocations: 1.844 kB / 0.5257 GB, free: 6.242 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.003579, allocations: 76.95 kB / 0.5257 GB, free: 6.176 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.003581, allocations: 1.781 kB / 0.5257 GB, free: 6.176 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.003584, allocations: 0 / 0.5257 GB, free: 6.176 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.003588, allocations: 7.938 kB / 0.5257 GB, free: 6.168 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.986e-05/0.003637, allocations: 107.2 kB / 0.5258 GB, free: 6.039 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.003638, allocations: 2.25 kB / 0.5258 GB, free: 6.039 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.003693, allocations: 10.45 kB / 0.5259 GB, free: 6.035 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.003694, allocations: 1.672 kB / 0.5259 GB, free: 6.035 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.003702, allocations: 1.312 kB / 0.5259 GB, free: 6.035 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.003703, allocations: 0 / 0.5259 GB, free: 6.035 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.003704, allocations: 0 / 0.5259 GB, free: 6.035 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.003828, allocations: 111.4 kB / 0.526 GB, free: 5.938 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.003835, allocations: 5.297 kB / 0.526 GB, free: 5.934 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.003846, allocations: 1.375 kB / 0.526 GB, free: 5.934 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.003866, allocations: 4 kB / 0.526 GB, free: 5.93 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.003879, allocations: 1.938 kB / 0.526 GB, free: 5.93 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.003883, allocations: 10.42 kB / 0.526 GB, free: 5.922 MB / 446.2 MB Notification: Performance of sorting global known variables: time 1.605e-05/0.003899, allocations: 80.56 kB / 0.5261 GB, free: 5.844 MB / 446.2 MB Notification: Performance of sort global known variables: time 8e-08/0.003899, allocations: 0 / 0.5261 GB, free: 5.844 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.00019/0.004089, allocations: 12.66 kB / 0.5261 GB, free: 5.84 MB / 446.2 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.329e-05/0.004183, allocations: 100.9 kB / 0.5262 GB, free: 5.75 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 8.547e-05/0.004268, allocations: 26.52 kB / 0.5262 GB, free: 5.738 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.00427, allocations: 4.094 kB / 0.5262 GB, free: 5.734 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 2.469e-05/0.004294, allocations: 18.58 kB / 0.5262 GB, free: 5.727 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.004423, allocations: 8.594 kB / 0.5262 GB, free: 5.723 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.004642, allocations: 120.9 kB / 0.5263 GB, free: 5.602 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.352e-05/0.004676, allocations: 63.03 kB / 0.5264 GB, free: 5.527 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 2.232e-05/0.004698, allocations: 7.203 kB / 0.5264 GB, free: 5.523 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.00472, allocations: 19.83 kB / 0.5264 GB, free: 5.508 MB / 446.2 MB Notification: Performance of SimCode: time 3.71e-07/0.00472, allocations: 4 kB / 0.5264 GB, free: 5.504 MB / 446.2 MB Notification: Performance of Templates: time 0.002787/0.007506, allocations: 0.6221 MB / 0.527 GB, free: 5.18 MB / 446.2 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_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: 5.235933504998684]