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.001158/0.001158, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001096/0.001096, allocations: 161.5 kB / 25.61 MB, free: 8.895 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.9456/0.9456, allocations: 177.1 MB / 206 MB, free: 4.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.8101/0.8101, allocations: 88.08 MB / 350.7 MB, free: 11.82 MB / 330.8 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.194e-06/2.194e-06, allocations: 3.938 kB / 452.8 MB, free: 8.07 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.412e-05, allocations: 5.406 kB / 452.8 MB, free: 8.066 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001198/0.001222, allocations: 419 kB / 453.2 MB, free: 7.66 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004081/0.00163, allocations: 231.3 kB / 453.5 MB, free: 7.434 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.001669, allocations: 0 / 453.5 MB, free: 7.434 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.001684, allocations: 0 / 453.5 MB, free: 7.434 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.00181, allocations: 7.922 kB / 453.5 MB, free: 7.426 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.001911, allocations: 23.86 kB / 453.5 MB, free: 7.402 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.001956, allocations: 7.984 kB / 453.5 MB, free: 7.395 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.001999, allocations: 7.984 kB / 453.5 MB, free: 7.387 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.002034, allocations: 4 kB / 453.5 MB, free: 7.383 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.002075, allocations: 7.938 kB / 453.5 MB, free: 7.375 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.002087, allocations: 0 / 453.5 MB, free: 7.375 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.002171, allocations: 31.91 kB / 453.5 MB, free: 7.344 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.002189, allocations: 4 kB / 453.5 MB, free: 7.34 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.002207, allocations: 3.984 kB / 453.5 MB, free: 7.336 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.002311, allocations: 27.91 kB / 453.6 MB, free: 7.309 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.002314, allocations: 0 / 453.6 MB, free: 7.309 MB / 426.8 MB Notification: Performance of FrontEnd: time 9.82e-07/0.002315, allocations: 4 kB / 453.6 MB, free: 7.305 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.002319, allocations: 0 / 453.6 MB, free: 7.305 MB / 426.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.0003019/0.002621, allocations: 352.3 kB / 453.9 MB, free: 6.922 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.002656, allocations: 11.97 kB / 453.9 MB, free: 6.91 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.002686, allocations: 17.23 kB / 454 MB, free: 6.895 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.418e-05/0.002771, allocations: 112.6 kB / 454.1 MB, free: 6.758 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.00278, allocations: 384 / 454.1 MB, free: 6.758 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.002795, allocations: 4.375 kB / 454.1 MB, free: 6.754 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.11e-05/0.002856, allocations: 34.25 kB / 454.1 MB, free: 6.715 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.002863, allocations: 192 / 454.1 MB, free: 6.715 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.002869, allocations: 384 / 454.1 MB, free: 6.715 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.002873, allocations: 384 / 454.1 MB, free: 6.715 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.076e-05/0.002894, allocations: 11.88 kB / 454.1 MB, free: 6.703 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.003007, allocations: 101.2 kB / 454.2 MB, free: 6.578 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.003168, allocations: 47.16 kB / 454.3 MB, free: 6.52 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.003185, allocations: 7.688 kB / 454.3 MB, free: 6.508 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.003196, allocations: 4 kB / 454.3 MB, free: 6.504 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.003218, allocations: 37.39 kB / 454.3 MB, free: 6.457 MB / 426.8 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.003219, allocations: 0 / 454.3 MB, free: 6.457 MB / 426.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001111/0.00333, allocations: 49.84 kB / 454.4 MB, free: 6.402 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.00336, allocations: 51.41 kB / 454.4 MB, free: 6.34 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.003425, allocations: 157.9 kB / 454.6 MB, free: 6.168 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.003436, allocations: 25.7 kB / 454.6 MB, free: 6.137 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.003471, allocations: 127 kB / 454.7 MB, free: 6.008 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.003505, allocations: 23.84 kB / 454.7 MB, free: 5.984 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.003536, allocations: 23.36 kB / 454.8 MB, free: 5.953 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.003663, allocations: 0.4883 MB / 455.2 MB, free: 5.453 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.003674, allocations: 4 kB / 455.2 MB, free: 5.449 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.234e-05/0.003687, allocations: 8.016 kB / 455.3 MB, free: 5.441 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.003723, allocations: 23.62 kB / 455.3 MB, free: 5.414 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.003724, allocations: 0 / 455.3 MB, free: 5.414 MB / 426.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.317e-05/0.003788, allocations: 45.69 kB / 455.3 MB, free: 5.363 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.003798, allocations: 4 kB / 455.3 MB, free: 5.359 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.003803, allocations: 0 / 455.3 MB, free: 5.359 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.003811, allocations: 4 kB / 455.3 MB, free: 5.355 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.503e-05/0.003846, allocations: 11.98 kB / 455.3 MB, free: 5.344 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.003848, allocations: 0 / 455.3 MB, free: 5.344 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.003862, allocations: 4 kB / 455.3 MB, free: 5.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.003868, allocations: 3.938 kB / 455.3 MB, free: 5.336 MB / 426.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 6.585e-05/0.003934, allocations: 160.5 kB / 455.5 MB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.00394, allocations: 0 / 455.5 MB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.004053, allocations: 69.3 kB / 455.6 MB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.004054, allocations: 0 / 455.6 MB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.004056, allocations: 4 kB / 455.6 MB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.004058, allocations: 0 / 455.6 MB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.835e-05/0.004137, allocations: 105.2 kB / 455.7 MB, free: 4.957 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.004139, allocations: 4 kB / 455.7 MB, free: 4.953 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.004179, allocations: 11.98 kB / 455.7 MB, free: 4.941 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.00418, allocations: 0 / 455.7 MB, free: 4.941 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.004188, allocations: 64 / 455.7 MB, free: 4.941 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.00419, allocations: 4 kB / 455.7 MB, free: 4.938 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.004191, allocations: 0 / 455.7 MB, free: 4.938 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.004305, allocations: 112.3 kB / 455.8 MB, free: 4.805 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.004312, allocations: 3.953 kB / 455.8 MB, free: 4.801 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.004322, allocations: 4.031 kB / 455.8 MB, free: 4.797 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.004332, allocations: 4 kB / 455.8 MB, free: 4.793 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.004344, allocations: 0 / 455.8 MB, free: 4.793 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.004347, allocations: 4 kB / 455.8 MB, free: 4.789 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.518e-05/0.004383, allocations: 127.2 kB / 455.9 MB, free: 4.664 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.004383, allocations: 0 / 455.9 MB, free: 4.664 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001827/0.004565, allocations: 11.94 kB / 456 MB, free: 4.652 MB / 426.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.0001039/0.004669, allocations: 95.25 kB / 456.1 MB, free: 4.551 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 7.268e-05/0.004742, allocations: 35.61 kB / 456.1 MB, free: 4.512 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.004743, allocations: 4.094 kB / 456.1 MB, free: 4.508 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 2.086e-05/0.004764, allocations: 23.66 kB / 456.1 MB, free: 4.48 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.00489, allocations: 7.938 kB / 456.1 MB, free: 4.473 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.005595, allocations: 122.3 kB / 456.2 MB, free: 4.324 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.201e-05/0.005627, allocations: 59.34 kB / 456.3 MB, free: 4.246 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.487e-05/0.005652, allocations: 4 kB / 456.3 MB, free: 4.242 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.005693, allocations: 70.2 kB / 456.4 MB, free: 4.172 MB / 426.8 MB Notification: Performance of SimCode: time 6.01e-07/0.005694, allocations: 4 kB / 456.4 MB, free: 4.168 MB / 426.8 MB Notification: Performance of Templates: time 0.002477/0.008171, allocations: 0.7318 MB / 457.1 MB, free: 3.449 MB / 426.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.614557918161154]