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.0009186/0.0009186, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001033/0.001033, allocations: 169 kB / 23.27 MB, free: 1.223 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.005/1.005, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.03715/0.03715, allocations: 8.6 MB / 268.9 MB, free: 4.75 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.704e-06/1.704e-06, allocations: 0 / 341.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.503e-05, allocations: 2.312 kB / 341.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003154/0.003179, allocations: 2.599 MB / 343.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.004398, allocations: 0.8043 MB / 344.7 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003148/0.004713, allocations: 31.69 kB / 344.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.004935, allocations: 83.06 kB / 344.8 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.00516, allocations: 63.3 kB / 344.9 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.005968, allocations: 467 kB / 345.3 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006169/0.006585, allocations: 0.7471 MB / 346.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.006752, allocations: 79.06 kB / 346.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.007201, allocations: 383.1 kB / 346.5 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.007485, allocations: 231.3 kB / 346.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/0.007561, allocations: 52 kB / 346.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.007698, allocations: 91.89 kB / 346.9 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.007814, allocations: 171.3 kB / 347.1 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.007947, allocations: 191.4 kB / 347.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003495/0.01144, allocations: 498.1 kB / 347.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01145, allocations: 0 / 347.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01145, allocations: 4 kB / 347.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.01145, allocations: 4 kB / 347.8 MB, free: 1.633 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.0009352/0.01239, allocations: 1.042 MB / 348.8 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.01242, allocations: 16.03 kB / 348.8 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.01255, allocations: 128.4 kB / 348.9 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.01304, allocations: 456.7 kB / 349.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/0.01309, allocations: 75.23 kB / 349.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.73e-05/0.01317, allocations: 64.31 kB / 349.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.01379, allocations: 0.5574 MB / 350.1 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.0138, allocations: 4.188 kB / 350.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.01384, allocations: 24.38 kB / 350.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.01386, allocations: 16.12 kB / 350.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006331/0.02019, allocations: 240.4 kB / 350.4 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.02199, allocations: 2.057 MB / 352.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.02238, allocations: 249.2 kB / 352.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.02253, allocations: 138.3 kB / 352.8 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.02256, allocations: 8 kB / 352.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.02283, allocations: 271.2 kB / 353.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/0.02283, allocations: 0 / 353.1 MB, free: 12.05 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:8115:5-8115:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7337811677716672]