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.0007407/0.0007407, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009381/0.001679, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0007076/0.0007076, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009117/0.001619, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9596/0.9596, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1019/1.062, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.03697/0.03697, allocations: 8.615 MB / 252.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006727/0.0437, allocations: 3.129 MB / 255.9 MB, free: 3.492 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.623e-06/1.623e-06, allocations: 0 / 257.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.852e-05, allocations: 2.312 kB / 257.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003526/0.003545, allocations: 2.653 MB / 259.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.005125, allocations: 0.8591 MB / 260.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.005423, allocations: 31.69 kB / 260.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.005671, allocations: 87 kB / 260.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.005891, allocations: 67.3 kB / 260.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009604/0.006851, allocations: 459 kB / 261.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008458/0.007697, allocations: 0.7238 MB / 262 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.007895, allocations: 91.05 kB / 262.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004654/0.00836, allocations: 411.1 kB / 262.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.008806, allocations: 235.3 kB / 262.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.008907, allocations: 52 kB / 262.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.009066, allocations: 87.95 kB / 262.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.009191, allocations: 131.5 kB / 263 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.009333, allocations: 139.6 kB / 263.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.009816, allocations: 450.1 kB / 263.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.65e-05/0.009833, allocations: 0 / 263.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.009834, allocations: 8 kB / 263.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.009847, allocations: 0 / 263.6 MB, free: 11.73 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.00117/0.01102, allocations: 1.015 MB / 264.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.01105, allocations: 12.03 kB / 264.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.01117, allocations: 96.86 kB / 264.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.01166, allocations: 435.2 kB / 265.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/0.01172, allocations: 71.25 kB / 265.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.01178, allocations: 68.27 kB / 265.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.01231, allocations: 0.5497 MB / 265.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.01233, allocations: 8.125 kB / 265.9 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.01236, allocations: 24.38 kB / 265.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.01237, allocations: 16.12 kB / 265.9 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.01264, allocations: 231.4 kB / 266.1 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.01425, allocations: 1.522 MB / 267.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.01463, allocations: 297.7 kB / 267.9 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.01476, allocations: 147.5 kB / 268.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.01478, allocations: 4.312 kB / 268.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.01504, allocations: 300.1 kB / 268.4 MB, free: 6.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.014e-06/0.01504, allocations: 0 / 268.4 MB, free: 6.742 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:567:7-567: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:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8418:5-8418:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.4558722842484713]