Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital.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.0009426/0.0009426, allocations: 92.42 kB / 19.94 MB, free: 4.605 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.0009074/0.0009074, allocations: 169.9 kB / 23.21 MB, free: 1.332 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.9568/0.9568, allocations: 177.1 MB / 203.5 MB, free: 5.383 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.02679/0.02679, allocations: 5.89 MB / 265.8 MB, free: 7.625 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-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(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 390.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.732e-05, allocations: 5.234 kB / 390.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.006143/0.00616, allocations: 2.564 MB / 393.4 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.007491, allocations: 0.8822 MB / 394.3 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/0.01071, allocations: 35.62 kB / 394.3 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.01093, allocations: 95 kB / 394.4 MB, free: 3.086 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.01114, allocations: 63.33 kB / 394.5 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007642/0.01191, allocations: 0.5106 MB / 395 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.01257, allocations: 0.8171 MB / 395.8 MB, free: 1.695 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.01274, allocations: 87.02 kB / 395.9 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.01312, allocations: 419.1 kB / 396.3 MB, free: 1.199 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.0134, allocations: 255.2 kB / 396.5 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.266e-05/0.01348, allocations: 60 kB / 396.6 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.0136, allocations: 87.97 kB / 396.7 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003141/0.01674, allocations: 183.4 kB / 396.9 MB, free: 0.625 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.0169, allocations: 195.4 kB / 397 MB, free: 444 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006013/0.01751, allocations: 0.6891 MB / 397.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01751, allocations: 4 kB / 397.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.01751, allocations: 0 / 397.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.01751, allocations: 0 / 397.7 MB, free: 15.74 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001282/0.0188, allocations: 0.9971 MB / 398.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.01883, allocations: 8.031 kB / 398.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.01909, allocations: 88.41 kB / 398.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/0.02268, allocations: 457.8 kB / 399.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.02275, allocations: 75.52 kB / 399.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/0.02284, allocations: 64.31 kB / 399.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.02375, allocations: 0.7396 MB / 400.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.02377, allocations: 4.125 kB / 400.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.02382, allocations: 24.38 kB / 400.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.02383, allocations: 20.12 kB / 400.2 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007457/0.02458, allocations: 0.5094 MB / 400.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005185/0.02977, allocations: 1.922 MB / 402.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/0.03049, allocations: 414.9 kB / 403 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.03088, allocations: 277.6 kB / 403.3 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.03091, allocations: 7.984 kB / 403.3 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004107/0.03133, allocations: 385.8 kB / 403.7 MB, free: 9.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=58): time 1.643e-06/0.03133, allocations: 0 / 403.7 MB, free: 9.539 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) R_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP_s) - pre(R_disc.PV_s)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP_s) - pre(R_disc.PV_s)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.844511409290135]