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.001085/0.001085, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001555/0.00264, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001161/0.001161, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002637, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9245/0.9245, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07543/0.9999, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.02789/0.02789, allocations: 5.893 MB / 249.9 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005733/0.03362, allocations: 2.116 MB / 252 MB, free: 7.223 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.713e-06/1.713e-06, allocations: 0 / 253.2 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.031e-05, allocations: 2.312 kB / 253.2 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004034/0.004055, allocations: 2.673 MB / 255.9 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.005949, allocations: 0.9404 MB / 256.8 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.006258, allocations: 35.62 kB / 256.9 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.006477, allocations: 83.02 kB / 257 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.006691, allocations: 67.28 kB / 257 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.00779, allocations: 0.5029 MB / 257.5 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009939/0.008783, allocations: 0.7901 MB / 258.3 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.008994, allocations: 94.11 kB / 258.4 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.009601, allocations: 451.1 kB / 258.8 MB, free: 320 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.01, allocations: 243.2 kB / 259.1 MB, free: 76 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.0101, allocations: 56 kB / 259.1 MB, free: 20 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.01031, allocations: 99.94 kB / 259.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.01047, allocations: 143.5 kB / 259.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.01066, allocations: 151.6 kB / 259.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.01126, allocations: 466.2 kB / 260 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.01127, allocations: 0 / 260 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01127, allocations: 0 / 260 MB, free: 15.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.01129, allocations: 0 / 260 MB, free: 15.18 MB / 266.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.001512/0.0128, allocations: 1.077 MB / 261.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.01283, allocations: 15.97 kB / 261.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.01294, allocations: 96.86 kB / 261.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.01338, allocations: 443.2 kB / 261.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.01343, allocations: 71.58 kB / 261.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.0135, allocations: 56.38 kB / 261.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.014, allocations: 0.5866 MB / 262.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.01402, allocations: 8.078 kB / 262.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.01405, allocations: 28.38 kB / 262.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.01407, allocations: 16.12 kB / 262.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.01431, allocations: 240.3 kB / 262.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.01572, allocations: 1.543 MB / 264.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.01611, allocations: 335.8 kB / 264.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.01627, allocations: 179.5 kB / 264.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.0163, allocations: 12 kB / 264.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.01656, allocations: 312.6 kB / 265 MB, free: 9.961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.754e-06/0.01656, allocations: 0 / 265 MB, free: 9.961 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:567:7-567: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:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.3862641621381044]