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.001882/0.001882, allocations: 93.47 kB / 19.44 MB, free: 336 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.002146/0.002146, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.07208/0.07208, allocations: 8.608 MB / 268.2 MB, free: 4.953 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.523e-06/1.523e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.583e-05, allocations: 10.25 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003039/0.003065, allocations: 2.584 MB / 342.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.004352, allocations: 0.8237 MB / 343.5 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.004593, allocations: 31.69 kB / 343.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.004812, allocations: 83.06 kB / 343.7 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.005024, allocations: 63.3 kB / 343.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.005785, allocations: 463 kB / 344.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.006328, allocations: 0.7471 MB / 344.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.006514, allocations: 79.08 kB / 345 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.006854, allocations: 387.1 kB / 345.4 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.007132, allocations: 231.3 kB / 345.6 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.93e-05/0.007211, allocations: 48 kB / 345.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.007367, allocations: 91.95 kB / 345.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.007501, allocations: 167.4 kB / 345.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.007656, allocations: 183.4 kB / 346.1 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.008177, allocations: 0.6578 MB / 346.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.008181, allocations: 4 kB / 346.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008182, allocations: 0 / 346.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.008189, allocations: 4 kB / 346.7 MB, free: 2.102 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.001339/0.009529, allocations: 1.077 MB / 347.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.009558, allocations: 16.03 kB / 347.8 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.009716, allocations: 132.4 kB / 348 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.01032, allocations: 456.8 kB / 348.4 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.01037, allocations: 67.27 kB / 348.5 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.01045, allocations: 64.3 kB / 348.5 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.0115, allocations: 0.6662 MB / 349.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.01153, allocations: 8.078 kB / 349.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/0.01159, allocations: 28.36 kB / 349.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.01161, allocations: 16.12 kB / 349.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008421/0.01245, allocations: 389.4 kB / 349.6 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/0.0159, allocations: 2.283 MB / 351.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007937/0.01669, allocations: 333.8 kB / 352.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/0.01709, allocations: 226.3 kB / 352.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.01713, allocations: 8 kB / 352.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/0.01773, allocations: 351.2 kB / 352.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 2.425e-06/0.01773, allocations: 0 / 352.8 MB, free: 11.75 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:8001:5-8001:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.34639993798919]