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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 116.9 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 190.9 kB / 21.35 MB, free: 1.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7989/0.7989, allocations: 119.3 MB / 418.5 MB, free: 12.03 MB / 350.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001957/0.001958, allocations: 63.89 kB / 0.5801 GB, free: 12.76 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.494, allocations: 80.7 MB / 0.6589 GB, free: 13.49 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001272/0.4953, allocations: 404.7 kB / 0.6592 GB, free: 13.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003672/0.4957, allocations: 232.1 kB / 0.6595 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.4957, allocations: 3.938 kB / 0.6595 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.4957, allocations: 0 / 0.6595 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.4959, allocations: 5.516 kB / 0.6595 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.496, allocations: 23.36 kB / 0.6595 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.217e-05/0.496, allocations: 12.2 kB / 0.6595 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.4961, allocations: 5.203 kB / 0.6595 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.906e-05/0.4961, allocations: 7.125 kB / 0.6595 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.4962, allocations: 2.562 kB / 0.6595 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.4962, allocations: 5.219 kB / 0.6595 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.4962, allocations: 23.27 kB / 0.6596 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.4963, allocations: 5.266 kB / 0.6596 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.4963, allocations: 9.453 kB / 0.6596 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.083e-05/0.4964, allocations: 24.48 kB / 0.6596 GB, free: 12.95 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4964, allocations: 0 / 0.6596 GB, free: 12.95 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4964, allocations: 5.125 kB / 0.6596 GB, free: 12.94 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4964, allocations: 0 / 0.6596 GB, free: 12.94 MB / 0.4983 GB 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.0002566/0.4967, allocations: 330 kB / 0.6599 GB, free: 12.58 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.4967, allocations: 13.88 kB / 0.6599 GB, free: 12.57 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.4967, allocations: 2.094 kB / 0.6599 GB, free: 12.57 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.97e-05/0.4968, allocations: 164.4 kB / 0.6601 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.4968, allocations: 1.438 kB / 0.6601 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.4968, allocations: 1.5 kB / 0.6601 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.496e-05/0.4969, allocations: 38.69 kB / 0.6601 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.4969, allocations: 1.219 kB / 0.6601 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4969, allocations: 7.938 kB / 0.6601 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4969, allocations: 1.094 kB / 0.6601 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.644e-05/0.497, allocations: 4.469 kB / 0.6601 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.4971, allocations: 157.1 kB / 0.6603 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.4973, allocations: 40.27 kB / 0.6603 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.4973, allocations: 17.03 kB / 0.6603 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.4973, allocations: 0 / 0.6603 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.2e-05/0.4973, allocations: 35.94 kB / 0.6604 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.4974, allocations: 4 kB / 0.6604 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001242/0.4975, allocations: 54.73 kB / 0.6604 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.4975, allocations: 52.53 kB / 0.6605 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.308e-05/0.4975, allocations: 96.03 kB / 0.6606 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.4976, allocations: 26.86 kB / 0.6606 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 1.008e-05/0.4976, allocations: 80.14 kB / 0.6607 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.4976, allocations: 14.22 kB / 0.6607 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.4976, allocations: 12.94 kB / 0.6607 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.4977, allocations: 324 kB / 0.661 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.4977, allocations: 7.094 kB / 0.661 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.351e-05/0.4977, allocations: 4.812 kB / 0.661 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.4978, allocations: 25.19 kB / 0.661 GB, free: 11.33 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4978, allocations: 0 / 0.661 GB, free: 11.33 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.406e-05/0.4978, allocations: 48.44 kB / 0.6611 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.4978, allocations: 5.906 kB / 0.6611 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4979, allocations: 3.938 kB / 0.6611 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.4979, allocations: 4.266 kB / 0.6611 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.946e-05/0.4979, allocations: 5.969 kB / 0.6611 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4979, allocations: 7.938 kB / 0.6611 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.4979, allocations: 9.078 kB / 0.6611 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.498, allocations: 1.344 kB / 0.6611 GB, free: 11.27 MB / 0.4983 GB 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.652e-05/0.498, allocations: 123.1 kB / 0.6612 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-06/0.498, allocations: 1.438 kB / 0.6612 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.4981, allocations: 73.45 kB / 0.6613 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4981, allocations: 1.938 kB / 0.6613 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4982, allocations: 4 kB / 0.6613 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4982, allocations: 3.984 kB / 0.6613 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.693e-05/0.4982, allocations: 161.3 kB / 0.6615 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4982, allocations: 0 / 0.6615 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.286e-05/0.4983, allocations: 11.56 kB / 0.6615 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4983, allocations: 1.969 kB / 0.6615 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.4983, allocations: 3.938 kB / 0.6615 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4983, allocations: 0 / 0.6615 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4983, allocations: 2.188 kB / 0.6615 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.4984, allocations: 104 kB / 0.6616 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.4985, allocations: 78.45 kB / 0.6617 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.4985, allocations: 5.406 kB / 0.6617 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.4985, allocations: 0 / 0.6617 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.4985, allocations: 11.02 kB / 0.6617 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.4985, allocations: 1.594 kB / 0.6617 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 1.394e-05/0.4985, allocations: 76.78 kB / 0.6618 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4985, allocations: 0 / 0.6618 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001805/0.4987, allocations: 11.53 kB / 0.6618 GB, free: 10.58 MB / 0.4983 GB 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.841e-05/0.4988, allocations: 112.2 kB / 0.6619 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 8.549e-05/0.4989, allocations: 23.42 kB / 0.6619 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4989, allocations: 0 / 0.6619 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.502e-05/0.499, allocations: 19.14 kB / 0.6619 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.4991, allocations: 1.594 kB / 0.6619 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.4993, allocations: 148.8 kB / 0.6621 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.898e-05/0.4994, allocations: 0.687 MB / 0.6627 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.4994, allocations: 13.81 kB / 0.6627 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of SimCode: time 2e-07/0.4994, allocations: 0 / 0.6627 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of Templates: time 0.002073/0.5015, allocations: 0.6966 MB / 0.6634 GB, free: 9.238 MB / 0.4983 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.866858589928597]