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.000954/0.000954, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009432/0.0009432, allocations: 169 kB / 23.02 MB, free: 1.551 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.9734/0.9734, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.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.03645/0.03645, allocations: 8.616 MB / 268.6 MB, free: 4.91 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 1.473e-06/1.473e-06, allocations: 0 / 340.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.729e-05, allocations: 6.25 kB / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003377/0.003395, allocations: 2.622 MB / 343.5 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.004915, allocations: 0.816 MB / 344.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.005197, allocations: 35.62 kB / 344.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.00545, allocations: 83.06 kB / 344.4 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.005697, allocations: 59.3 kB / 344.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009077/0.006604, allocations: 475 kB / 344.9 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006877/0.007292, allocations: 0.7354 MB / 345.7 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.007486, allocations: 87.05 kB / 345.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.007941, allocations: 375.2 kB / 346.1 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.00829, allocations: 235.3 kB / 346.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.008388, allocations: 48 kB / 346.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.008549, allocations: 91.91 kB / 346.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.0087, allocations: 175.3 kB / 346.7 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.008888, allocations: 187.4 kB / 346.9 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006225/0.00951, allocations: 0.4903 MB / 347.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.009512, allocations: 0 / 347.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.009513, allocations: 0 / 347.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.009521, allocations: 0 / 347.3 MB, free: 1.898 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.001331/0.01085, allocations: 1.054 MB / 348.4 MB, free: 0.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.01089, allocations: 8.031 kB / 348.4 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.01106, allocations: 132.4 kB / 348.5 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/0.0117, allocations: 484.6 kB / 349 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.313e-05/0.01176, allocations: 67.27 kB / 349.1 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.01185, allocations: 64.31 kB / 349.1 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009852/0.01284, allocations: 0.5926 MB / 349.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.01286, allocations: 4.188 kB / 349.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.01292, allocations: 24.38 kB / 349.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.01294, allocations: 16.12 kB / 349.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.01352, allocations: 291.4 kB / 350.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.01617, allocations: 2.166 MB / 352.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.01679, allocations: 265.2 kB / 352.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.01705, allocations: 154.3 kB / 352.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.01709, allocations: 4 kB / 352.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.01751, allocations: 295.3 kB / 352.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 2.235e-06/0.01751, allocations: 4 kB / 352.9 MB, free: 12.03 MB / 282.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) - 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: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) - 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: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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6903317561373115]