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.000937/0.000937, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009603/0.0009603, allocations: 173 kB / 23.49 MB, free: 1.059 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.039/1.039, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.03752/0.03752, allocations: 8.605 MB / 268.9 MB, free: 4.996 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.324e-06/2.324e-06, allocations: 0 / 340.9 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.011e-05, allocations: 8.984 kB / 340.9 MB, free: 9.797 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002918/0.002948, allocations: 2.619 MB / 343.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.00417, allocations: 0.8161 MB / 344.3 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.004377, allocations: 31.69 kB / 344.3 MB, free: 6.312 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.004603, allocations: 91 kB / 344.4 MB, free: 6.223 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.004798, allocations: 59.3 kB / 344.5 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.005467, allocations: 474.9 kB / 344.9 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005896/0.006057, allocations: 0.743 MB / 345.7 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.006225, allocations: 83.84 kB / 345.8 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.006521, allocations: 379.1 kB / 346.1 MB, free: 4.508 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.006767, allocations: 231.3 kB / 346.4 MB, free: 4.281 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.006827, allocations: 52 kB / 346.4 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.006934, allocations: 95.89 kB / 346.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.007067, allocations: 171.4 kB / 346.7 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.007211, allocations: 179.4 kB / 346.8 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.007663, allocations: 0.4941 MB / 347.3 MB, free: 3.297 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.007666, allocations: 0 / 347.3 MB, free: 3.297 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.007667, allocations: 4 kB / 347.3 MB, free: 3.293 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.007673, allocations: 0 / 347.3 MB, free: 3.293 MB / 314.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.001169/0.008842, allocations: 1.054 MB / 348.4 MB, free: 2.184 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.008888, allocations: 11.97 kB / 348.4 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.009057, allocations: 128.4 kB / 348.5 MB, free: 2.047 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.009578, allocations: 468.7 kB / 349 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.751e-05/0.009655, allocations: 75.19 kB / 349.1 MB, free: 1.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.009726, allocations: 60.33 kB / 349.1 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.01039, allocations: 0.5927 MB / 349.7 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.01041, allocations: 4.125 kB / 349.7 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.01045, allocations: 24.38 kB / 349.7 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.01047, allocations: 16.12 kB / 349.8 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.01084, allocations: 295.4 kB / 350 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.01266, allocations: 2.166 MB / 352.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.01313, allocations: 268.5 kB / 352.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.01331, allocations: 154.3 kB / 352.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.01333, allocations: 7.984 kB / 352.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/0.01364, allocations: 291.1 kB / 352.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 2.235e-06/0.01364, allocations: 0 / 352.9 MB, free: 13.43 MB / 330.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.760399391874671]