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.001315/0.001315, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001529/0.001529, allocations: 177 kB / 23.36 MB, free: 1.129 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.05/1.05, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.03836/0.03836, allocations: 8.619 MB / 268.9 MB, free: 4.793 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.984e-06/1.984e-06, allocations: 0 / 288.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.016e-05, allocations: 2.312 kB / 288.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.1377/0.1377, allocations: 2.633 MB / 290.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1397, allocations: 0.8443 MB / 291.6 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003471/0.14, allocations: 31.22 kB / 291.6 MB, free: 18.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1403, allocations: 90.59 kB / 291.7 MB, free: 18.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.1405, allocations: 60.64 kB / 291.7 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1418, allocations: 466.4 kB / 292.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007873/0.1426, allocations: 0.7447 MB / 292.9 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1428, allocations: 84.09 kB / 293 MB, free: 17.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.1431, allocations: 380.2 kB / 293.4 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1434, allocations: 234.2 kB / 293.6 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/0.1435, allocations: 51.06 kB / 293.7 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1436, allocations: 91.88 kB / 293.8 MB, free: 17.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1438, allocations: 166.7 kB / 293.9 MB, free: 17.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1439, allocations: 187 kB / 294.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.1444, allocations: 0.4954 MB / 294.6 MB, free: 17.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1444, allocations: 0 / 294.6 MB, free: 17.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1444, allocations: 0 / 294.6 MB, free: 17.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1444, allocations: 0.9062 kB / 294.6 MB, free: 17.13 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.0009213/0.1453, allocations: 0.9138 MB / 295.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.1453, allocations: 10.38 kB / 295.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.1455, allocations: 99.62 kB / 295.6 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.1459, allocations: 422.3 kB / 296 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.146, allocations: 72.77 kB / 296.1 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.146, allocations: 58.41 kB / 296.2 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.1466, allocations: 0.5499 MB / 296.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1466, allocations: 1.984 kB / 296.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.1467, allocations: 26.64 kB / 296.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.1467, allocations: 17.25 kB / 296.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.147, allocations: 228.6 kB / 297 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.1484, allocations: 1.525 MB / 298.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.1488, allocations: 274.1 kB / 298.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1489, allocations: 126.1 kB / 298.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.1489, allocations: 8.359 kB / 298.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.1492, allocations: 264.8 kB / 299.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.374e-06/0.1492, allocations: 4.141 kB / 299.2 MB, free: 14.42 MB / 266.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:8234:5-8234:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.732608419843018]