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.001906/0.001906, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00202/0.00202, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 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 1.588/1.588, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.9168/0.9168, allocations: 88.08 MB / 349.2 MB, free: 14.26 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|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 2.345e-06/2.345e-06, allocations: 0 / 450.8 MB, free: 33.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/3.005e-05, allocations: 2.312 kB / 450.8 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001327/0.001357, allocations: 408.1 kB / 451.2 MB, free: 32.88 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004315/0.001789, allocations: 233 kB / 451.4 MB, free: 32.74 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.001824, allocations: 0 / 451.4 MB, free: 32.74 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.001838, allocations: 0 / 451.4 MB, free: 32.74 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.001992, allocations: 0 / 451.4 MB, free: 32.74 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.002106, allocations: 28.12 kB / 451.5 MB, free: 32.72 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.03e-05/0.002156, allocations: 20.39 kB / 451.5 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.002199, allocations: 0 / 451.5 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.002241, allocations: 8.875 kB / 451.5 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.002291, allocations: 6.953 kB / 451.5 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.002306, allocations: 0 / 451.5 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.002393, allocations: 22.7 kB / 451.5 MB, free: 32.7 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.002406, allocations: 10.81 kB / 451.5 MB, free: 32.7 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.002424, allocations: 0 / 451.5 MB, free: 32.7 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.002533, allocations: 37.58 kB / 451.6 MB, free: 32.68 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.002535, allocations: 0 / 451.6 MB, free: 32.68 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002535, allocations: 0 / 451.6 MB, free: 32.68 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.00254, allocations: 6.906 kB / 451.6 MB, free: 32.68 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.0003232/0.002863, allocations: 348.9 kB / 451.9 MB, free: 32.31 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.002902, allocations: 12 kB / 451.9 MB, free: 32.31 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.002945, allocations: 4.938 kB / 451.9 MB, free: 32.3 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.003017, allocations: 118.1 kB / 452 MB, free: 32.17 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003027, allocations: 384 / 452 MB, free: 32.17 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.003047, allocations: 3.312 kB / 452 MB, free: 32.17 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.828e-05/0.003135, allocations: 35.92 kB / 452.1 MB, free: 32.14 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.003145, allocations: 2.906 kB / 452.1 MB, free: 32.14 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.003153, allocations: 384 / 452.1 MB, free: 32.14 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.003158, allocations: 4.375 kB / 452.1 MB, free: 32.13 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.244e-05/0.0032, allocations: 17 kB / 452.1 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.003321, allocations: 111.5 kB / 452.2 MB, free: 31.98 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.003529, allocations: 50.67 kB / 452.3 MB, free: 31.95 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.003552, allocations: 14.56 kB / 452.3 MB, free: 31.93 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.003566, allocations: 2.781 kB / 452.3 MB, free: 31.93 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.003583, allocations: 33.39 kB / 452.3 MB, free: 31.89 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.003584, allocations: 0 / 452.3 MB, free: 31.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001555/0.003739, allocations: 57.38 kB / 452.4 MB, free: 31.85 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.003762, allocations: 51.41 kB / 452.4 MB, free: 31.79 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.888e-05/0.003811, allocations: 164.8 kB / 452.6 MB, free: 31.61 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.003818, allocations: 25.7 kB / 452.6 MB, free: 31.58 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.003845, allocations: 126.9 kB / 452.7 MB, free: 31.45 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.003872, allocations: 11.28 kB / 452.7 MB, free: 31.45 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.003901, allocations: 22.19 kB / 452.8 MB, free: 31.42 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.003975, allocations: 498.4 kB / 453.3 MB, free: 30.93 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.003993, allocations: 6.906 kB / 453.3 MB, free: 30.92 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.229e-05/0.004005, allocations: 2.812 kB / 453.3 MB, free: 30.92 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.159e-05/0.004047, allocations: 30.44 kB / 453.3 MB, free: 30.9 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004048, allocations: 0 / 453.3 MB, free: 30.9 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.771e-05/0.004116, allocations: 55.55 kB / 453.3 MB, free: 30.86 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.004128, allocations: 5.531 kB / 453.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.004132, allocations: 0 / 453.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.004146, allocations: 3.109 kB / 453.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.004187, allocations: 8.922 kB / 453.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.004192, allocations: 3.984 kB / 453.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.00421, allocations: 3.938 kB / 453.4 MB, free: 30.85 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.004216, allocations: 2.75 kB / 453.4 MB, free: 30.85 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 5.275e-05/0.004269, allocations: 156.6 kB / 453.5 MB, free: 30.69 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.004279, allocations: 6.625 kB / 453.5 MB, free: 30.68 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.004408, allocations: 82.19 kB / 453.6 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.00441, allocations: 0 / 453.6 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.004413, allocations: 0 / 453.6 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.004418, allocations: 7.266 kB / 453.6 MB, free: 30.62 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.728e-05/0.004485, allocations: 124.8 kB / 453.7 MB, free: 30.47 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004486, allocations: 0 / 453.7 MB, free: 30.47 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.387e-05/0.00455, allocations: 11.55 kB / 453.8 MB, free: 30.47 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.004551, allocations: 0 / 453.8 MB, free: 30.47 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.004559, allocations: 0 / 453.8 MB, free: 30.47 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.00456, allocations: 3.938 kB / 453.8 MB, free: 30.47 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.004561, allocations: 6.719 kB / 453.8 MB, free: 30.46 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.00469, allocations: 118.1 kB / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.004697, allocations: 2.875 kB / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.004711, allocations: 4 kB / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.00473, allocations: 0 / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.004752, allocations: 6.469 kB / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.004755, allocations: 0 / 453.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.133e-05/0.004777, allocations: 122.1 kB / 454 MB, free: 30.24 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.004777, allocations: 0 / 454 MB, free: 30.24 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002052/0.004982, allocations: 16.78 kB / 454 MB, free: 30.23 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.0001132/0.005095, allocations: 107.7 kB / 454.1 MB, free: 30.14 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.62e-05/0.005191, allocations: 35.62 kB / 454.2 MB, free: 30.12 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005193, allocations: 0 / 454.2 MB, free: 30.12 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/0.00522, allocations: 26.52 kB / 454.2 MB, free: 30.11 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.005355, allocations: 0 / 454.2 MB, free: 30.11 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.005632, allocations: 134.6 kB / 454.3 MB, free: 29.98 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.177e-05/0.005664, allocations: 61.98 kB / 454.4 MB, free: 29.91 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.331e-05/0.005687, allocations: 10.75 kB / 454.4 MB, free: 29.9 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.00571, allocations: 11.44 kB / 454.4 MB, free: 29.89 MB / 410.8 MB Notification: Performance of SimCode: time 4.31e-07/0.00571, allocations: 2.906 kB / 454.4 MB, free: 29.89 MB / 410.8 MB Notification: Performance of Templates: time 0.003239/0.008949, allocations: 0.6387 MB / 455 MB, free: 29.8 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","/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.866053409990855]