Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.001877/0.001877, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002066/0.002066, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.659/1.659, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.05608/0.05608, allocations: 5.878 MB / 265.1 MB, free: 7.75 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 391.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.981e-05, allocations: 2.281 kB / 391.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.005566/0.005596, allocations: 2.571 MB / 394.2 MB, free: 2.496 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.007514, allocations: 0.8861 MB / 395.1 MB, free: 1.605 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.007753, allocations: 35.62 kB / 395.1 MB, free: 1.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.008035, allocations: 91 kB / 395.2 MB, free: 1.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.008292, allocations: 63.28 kB / 395.3 MB, free: 1.418 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.009365, allocations: 0.5106 MB / 395.8 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.01042, allocations: 0.8171 MB / 396.6 MB, free: 92 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.01063, allocations: 83.02 kB / 396.7 MB, free: 8 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.01119, allocations: 423.1 kB / 397.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.01161, allocations: 251.2 kB / 397.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.01172, allocations: 60 kB / 397.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.01189, allocations: 91.97 kB / 397.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.0121, allocations: 179.4 kB / 397.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.01236, allocations: 195.4 kB / 397.8 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.01336, allocations: 0.6891 MB / 398.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.01337, allocations: 0 / 398.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01337, allocations: 0 / 398.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.01338, allocations: 0 / 398.5 MB, free: 14.14 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.002042/0.01542, allocations: 1.005 MB / 399.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.01546, allocations: 12.03 kB / 399.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.01564, allocations: 84.42 kB / 399.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008417/0.01648, allocations: 449.9 kB / 400.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.726e-05/0.01658, allocations: 79.5 kB / 400.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.0167, allocations: 68.27 kB / 400.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.01808, allocations: 0.7396 MB / 401 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.01812, allocations: 4.125 kB / 401 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.01819, allocations: 32.36 kB / 401 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.01821, allocations: 20.12 kB / 401 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.01935, allocations: 0.5016 MB / 401.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003415/0.02277, allocations: 1.942 MB / 403.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.02383, allocations: 405.9 kB / 403.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/0.02442, allocations: 275.3 kB / 404.1 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.02445, allocations: 4 kB / 404.1 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007176/0.02517, allocations: 397.8 kB / 404.5 MB, free: 7.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=58): time 2.494e-06/0.02517, allocations: 0 / 404.5 MB, free: 7.914 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_s) - pre(R_disc.PV_s)) + 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_s) - pre(R_disc.PV_s)) + 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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8151267340872437]