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.001057/0.001057, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001016/0.001016, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9094/0.9094, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.5995/0.5995, allocations: 88.08 MB / 349.9 MB, free: 14.29 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 3.567e-06/3.567e-06, allocations: 3.938 kB / 451.5 MB, free: 33.33 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.279e-05/3.636e-05, allocations: 5.484 kB / 451.5 MB, free: 33.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001095/0.001131, allocations: 410 kB / 451.9 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003989/0.00153, allocations: 231.6 kB / 452.2 MB, free: 32.96 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.001566, allocations: 6.969 kB / 452.2 MB, free: 32.96 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.001585, allocations: 0 / 452.2 MB, free: 32.96 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.001733, allocations: 3.938 kB / 452.2 MB, free: 32.96 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.001837, allocations: 26.66 kB / 452.2 MB, free: 32.95 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.136e-05/0.001889, allocations: 9.516 kB / 452.2 MB, free: 32.94 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.001928, allocations: 0 / 452.2 MB, free: 32.94 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.001967, allocations: 9.938 kB / 452.2 MB, free: 32.94 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.002013, allocations: 2.75 kB / 452.2 MB, free: 32.94 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.002029, allocations: 2.688 kB / 452.2 MB, free: 32.94 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.002108, allocations: 28.03 kB / 452.2 MB, free: 32.93 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.00212, allocations: 7.984 kB / 452.3 MB, free: 32.92 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.002137, allocations: 6.156 kB / 452.3 MB, free: 32.92 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.002243, allocations: 40 kB / 452.3 MB, free: 32.91 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.002246, allocations: 0 / 452.3 MB, free: 32.91 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.002247, allocations: 0 / 452.3 MB, free: 32.91 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.002252, allocations: 0 / 452.3 MB, free: 32.91 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.0003121/0.002564, allocations: 352.4 kB / 452.6 MB, free: 32.54 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.002604, allocations: 8.844 kB / 452.7 MB, free: 32.54 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.002651, allocations: 10.53 kB / 452.7 MB, free: 32.54 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.364e-05/0.002724, allocations: 108.6 kB / 452.8 MB, free: 32.4 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.002736, allocations: 3.188 kB / 452.8 MB, free: 32.4 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.002755, allocations: 4.375 kB / 452.8 MB, free: 32.4 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.909e-05/0.002834, allocations: 39.41 kB / 452.8 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.002839, allocations: 192 / 452.8 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.002848, allocations: 384 / 452.8 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.002856, allocations: 384 / 452.8 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.95e-05/0.002885, allocations: 16.61 kB / 452.8 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000103/0.002988, allocations: 111.7 kB / 452.9 MB, free: 32.21 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.003174, allocations: 45.89 kB / 453 MB, free: 32.18 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.003194, allocations: 14.5 kB / 453 MB, free: 32.16 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.003205, allocations: 0 / 453 MB, free: 32.16 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.00322, allocations: 40.27 kB / 453 MB, free: 32.12 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.003221, allocations: 0 / 453 MB, free: 32.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001332/0.003355, allocations: 54.03 kB / 453.1 MB, free: 32.08 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.003375, allocations: 51.41 kB / 453.1 MB, free: 32.02 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.413e-05/0.00342, allocations: 160.1 kB / 453.3 MB, free: 31.85 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-06/0.003425, allocations: 25.7 kB / 453.3 MB, free: 31.82 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.476e-05/0.003439, allocations: 130.9 kB / 453.5 MB, free: 31.68 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.003468, allocations: 12.72 kB / 453.5 MB, free: 31.68 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.003492, allocations: 18.22 kB / 453.5 MB, free: 31.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.00354, allocations: 0.4904 MB / 454 MB, free: 31.16 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.003554, allocations: 7.062 kB / 454 MB, free: 31.15 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.003564, allocations: 10.06 kB / 454 MB, free: 31.15 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.476e-05/0.003599, allocations: 24.16 kB / 454 MB, free: 31.13 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.003601, allocations: 0 / 454 MB, free: 31.13 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.535e-05/0.003656, allocations: 51.33 kB / 454.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.00367, allocations: 5.625 kB / 454.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.003675, allocations: 4.047 kB / 454.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.003688, allocations: 3.984 kB / 454.1 MB, free: 31.08 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.049e-05/0.003729, allocations: 8.859 kB / 454.1 MB, free: 31.08 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.003734, allocations: 3.984 kB / 454.1 MB, free: 31.08 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.003747, allocations: 10.72 kB / 454.1 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.003752, allocations: 0 / 454.1 MB, free: 31.07 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 3.86e-05/0.00379, allocations: 159.4 kB / 454.3 MB, free: 30.91 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-06/0.003796, allocations: 0 / 454.3 MB, free: 30.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.003911, allocations: 75.06 kB / 454.3 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.003913, allocations: 2.844 kB / 454.3 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.003917, allocations: 0 / 454.3 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.003921, allocations: 3.938 kB / 454.3 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.118e-05/0.003982, allocations: 118.3 kB / 454.5 MB, free: 30.71 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.003984, allocations: 4 kB / 454.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.004024, allocations: 11.8 kB / 454.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.004026, allocations: 0 / 454.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.004041, allocations: 2.906 kB / 454.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.004041, allocations: 0 / 454.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.004042, allocations: 0 / 454.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.004148, allocations: 111.1 kB / 454.6 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.004155, allocations: 2.812 kB / 454.6 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.004165, allocations: 0 / 454.6 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.004174, allocations: 0 / 454.6 MB, free: 30.61 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.004194, allocations: 10.22 kB / 454.6 MB, free: 30.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.004197, allocations: 6.875 kB / 454.6 MB, free: 30.6 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.544e-05/0.004213, allocations: 119.2 kB / 454.7 MB, free: 30.48 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.004213, allocations: 0 / 454.7 MB, free: 30.48 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001383/0.004351, allocations: 14.8 kB / 454.7 MB, free: 30.48 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.0001087/0.00446, allocations: 106 kB / 454.8 MB, free: 30.38 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.909e-05/0.004539, allocations: 32.2 kB / 454.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.00454, allocations: 0 / 454.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/0.004557, allocations: 30.19 kB / 454.9 MB, free: 30.34 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.004667, allocations: 2.844 kB / 454.9 MB, free: 30.34 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.004917, allocations: 133.7 kB / 455 MB, free: 30.22 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.974e-05/0.004937, allocations: 57.36 kB / 455.1 MB, free: 30.15 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.937e-05/0.004956, allocations: 2.719 kB / 455.1 MB, free: 30.15 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.004976, allocations: 11.44 kB / 455.1 MB, free: 30.14 MB / 410.8 MB Notification: Performance of SimCode: time 7.11e-07/0.004977, allocations: 0 / 455.1 MB, free: 30.14 MB / 410.8 MB Notification: Performance of Templates: time 0.002258/0.007235, allocations: 0.6436 MB / 455.7 MB, free: 30.05 MB / 410.8 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.5790241230279207]