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.001461/0.001461, allocations: 88.72 kB / 19.44 MB, free: 356 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.001604/0.001604, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.62/1.62, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.06722/0.06722, allocations: 8.605 MB / 268.2 MB, free: 4.957 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.014e-06/2.014e-06, allocations: 0 / 340.1 MB, free: 8.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.033e-05, allocations: 3.297 kB / 340.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004703/0.004734, allocations: 2.548 MB / 342.7 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.00681, allocations: 0.8082 MB / 343.5 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004117/0.007222, allocations: 31.69 kB / 343.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.007588, allocations: 91.06 kB / 343.6 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.007962, allocations: 55.3 kB / 343.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.009362, allocations: 475 kB / 344.1 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.01045, allocations: 0.7393 MB / 344.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.01072, allocations: 83.06 kB / 344.9 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000681/0.0114, allocations: 383.1 kB / 345.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004791/0.01188, allocations: 231.3 kB / 345.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.01202, allocations: 52 kB / 345.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.01225, allocations: 87.97 kB / 345.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.01245, allocations: 167.4 kB / 345.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.01273, allocations: 191.4 kB / 346 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008345/0.01357, allocations: 0.6539 MB / 346.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01357, allocations: 0 / 346.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01357, allocations: 0 / 346.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.01359, allocations: 0 / 346.7 MB, free: 2.188 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.002164/0.01576, allocations: 0.9578 MB / 347.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.0158, allocations: 8.031 kB / 347.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.01611, allocations: 136.4 kB / 347.8 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.0172, allocations: 469.9 kB / 348.2 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.01731, allocations: 71.25 kB / 348.3 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.01744, allocations: 64.3 kB / 348.4 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.01923, allocations: 0.6948 MB / 349.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/0.01928, allocations: 16.08 kB / 349.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/0.01937, allocations: 20.38 kB / 349.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.0194, allocations: 20.12 kB / 349.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.02122, allocations: 497.3 kB / 349.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005619/0.02684, allocations: 1.898 MB / 351.5 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.02837, allocations: 352.7 kB / 351.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007593/0.02912, allocations: 235.4 kB / 352.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.404e-05/0.02918, allocations: 4 kB / 352.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.03028, allocations: 377.2 kB / 352.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 4.518e-06/0.03028, allocations: 0 / 352.5 MB, free: 12.17 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:7987:5-7987:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.412416081991978]