Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_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.001539/0.001539, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002304/0.003843, 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.001443/0.001443, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001874/0.003317, 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 1.174/1.174, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1387/1.312, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.04539/0.04539, allocations: 8.62 MB / 252.6 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0185/0.06389, allocations: 3.124 MB / 255.7 MB, free: 3.602 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 257 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.226e-05, allocations: 2.312 kB / 257 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004117/0.004149, allocations: 2.642 MB / 259.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.005891, allocations: 0.8584 MB / 260.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003574/0.006249, allocations: 35.62 kB / 260.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.006544, allocations: 87.02 kB / 260.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.006804, allocations: 55.36 kB / 260.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.008198, allocations: 463 kB / 261.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.009194, allocations: 0.7314 MB / 261.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.009388, allocations: 87.05 kB / 261.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006364/0.01002, allocations: 399.1 kB / 262.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.01038, allocations: 235.3 kB / 262.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.941e-05/0.01046, allocations: 52 kB / 262.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.01064, allocations: 91.95 kB / 262.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.01078, allocations: 135.5 kB / 262.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.01094, allocations: 135.6 kB / 262.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.01155, allocations: 450.2 kB / 263.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.055e-05/0.01157, allocations: 0 / 263.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01157, allocations: 0 / 263.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.01159, allocations: 0 / 263.4 MB, free: 11.89 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001459/0.01305, allocations: 1.022 MB / 264.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.0131, allocations: 15.98 kB / 264.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.01326, allocations: 96.86 kB / 264.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.0139, allocations: 435.2 kB / 264.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.675e-05/0.01399, allocations: 67.27 kB / 265 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.501e-05/0.01408, allocations: 60.33 kB / 265.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/0.01483, allocations: 0.5575 MB / 265.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.01485, allocations: 4.188 kB / 265.6 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.0149, allocations: 28.38 kB / 265.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.01491, allocations: 16.12 kB / 265.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/0.01565, allocations: 235.3 kB / 265.9 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.01781, allocations: 1.522 MB / 267.4 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.01832, allocations: 291 kB / 267.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.0185, allocations: 147.4 kB / 267.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.01853, allocations: 4.312 kB / 267.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/0.01887, allocations: 300.1 kB / 268.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.795e-06/0.01887, allocations: 4 kB / 268.1 MB, free: 6.898 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) - pre(R_disc.PV)) + 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) - pre(R_disc.PV)) + 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.7818993087857962]