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.00101/0.00101, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001248/0.001248, allocations: 169.4 kB / 24.05 MB, free: 460 kB / 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.9451/0.9451, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.04043/0.04043, allocations: 8.602 MB / 269.6 MB, free: 4.777 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.272e-06/1.272e-06, allocations: 0 / 342.1 MB, free: 9.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.387e-05, allocations: 4.984 kB / 342.1 MB, free: 9.188 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003761/0.003775, allocations: 2.584 MB / 344.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.005116, allocations: 0.8121 MB / 345.5 MB, free: 5.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.005353, allocations: 31.62 kB / 345.5 MB, free: 5.738 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.005577, allocations: 83.06 kB / 345.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.00577, allocations: 63.3 kB / 345.7 MB, free: 5.594 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/0.006522, allocations: 475 kB / 346.1 MB, free: 5.129 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.007174, allocations: 0.7468 MB / 346.9 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.007335, allocations: 83.06 kB / 347 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.007702, allocations: 379.1 kB / 347.3 MB, free: 3.934 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.007973, allocations: 227.3 kB / 347.5 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.066e-05/0.008044, allocations: 52 kB / 347.6 MB, free: 3.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.008172, allocations: 91.89 kB / 347.7 MB, free: 3.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.008308, allocations: 175.3 kB / 347.9 MB, free: 3.398 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.008479, allocations: 183.5 kB / 348 MB, free: 3.219 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.00895, allocations: 0.4942 MB / 348.5 MB, free: 2.723 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.008952, allocations: 0 / 348.5 MB, free: 2.723 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.008953, allocations: 0 / 348.5 MB, free: 2.723 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.008957, allocations: 0 / 348.5 MB, free: 2.723 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.001143/0.0101, allocations: 1.046 MB / 349.6 MB, free: 1.621 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.01013, allocations: 8.031 kB / 349.6 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.01029, allocations: 132.4 kB / 349.7 MB, free: 1.484 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.01085, allocations: 468.7 kB / 350.2 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.01091, allocations: 71.25 kB / 350.2 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.936e-05/0.01099, allocations: 60.33 kB / 350.3 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.0119, allocations: 0.5574 MB / 350.9 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.01192, allocations: 192 / 350.9 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.01197, allocations: 24.38 kB / 350.9 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.01198, allocations: 16.12 kB / 350.9 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.01231, allocations: 244.5 kB / 351.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.01426, allocations: 2.053 MB / 353.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.01468, allocations: 253.1 kB / 353.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.01483, allocations: 138.3 kB / 353.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.01485, allocations: 8 kB / 353.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/0.01513, allocations: 271.1 kB / 353.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.863e-06/0.01513, allocations: 0 / 353.8 MB, free: 13.12 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:8083:5-8083:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7266813651658595]