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.001169/0.001169, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.001463/0.001463, allocations: 173.9 kB / 23.21 MB, free: 1.355 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 0.8908/0.8908, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.03337/0.03337, allocations: 8.614 MB / 268.6 MB, free: 5.117 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.714e-06/1.714e-06, allocations: 3.938 kB / 396.3 MB, free: 2.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.459e-05, allocations: 3.828 kB / 396.3 MB, free: 2.172 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002844/0.002868, allocations: 2.544 MB / 398.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.004082, allocations: 0.8082 MB / 399.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.004313, allocations: 39.56 kB / 399.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.004519, allocations: 87.06 kB / 399.8 MB, free: 14.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.004713, allocations: 59.3 kB / 399.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007477/0.005461, allocations: 467 kB / 400.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000615/0.006076, allocations: 0.7431 MB / 401.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.006293, allocations: 87.02 kB / 401.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.006646, allocations: 383.1 kB / 401.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.00691, allocations: 227.3 kB / 401.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.00697, allocations: 52 kB / 401.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.007085, allocations: 87.95 kB / 401.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.00721, allocations: 175.3 kB / 402 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.007341, allocations: 183.5 kB / 402.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.007899, allocations: 0.654 MB / 402.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.007902, allocations: 4 kB / 402.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.007903, allocations: 0 / 402.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.007915, allocations: 0 / 402.9 MB, free: 11.59 MB / 378.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.001174/0.009089, allocations: 0.9656 MB / 403.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.009124, allocations: 8.031 kB / 403.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.009232, allocations: 80.47 kB / 403.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.00975, allocations: 453.8 kB / 404.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.009824, allocations: 67.27 kB / 404.4 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/0.009894, allocations: 64.36 kB / 404.5 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.0109, allocations: 0.7026 MB / 405.2 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.01092, allocations: 4.188 kB / 405.2 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.01096, allocations: 24.36 kB / 405.2 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.01097, allocations: 16.12 kB / 405.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.01153, allocations: 0.4934 MB / 405.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.01335, allocations: 1.886 MB / 407.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.0139, allocations: 355.9 kB / 408 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.01414, allocations: 251.3 kB / 408.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.01417, allocations: 4 kB / 408.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.01454, allocations: 365.3 kB / 408.6 MB, free: 5.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.104e-06/0.01454, allocations: 0 / 408.6 MB, free: 5.633 MB / 378.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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6621918259188533] Failed to read output from testmodel.py, exit status != 0: 0.020545958541333675 0.029732767 0.020087413000000002 Calling exit ...