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.001288/0.001288, allocations: 79.19 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001386/0.001386, allocations: 163.2 kB / 23.01 MB, free: 4.598 MB / 14.72 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.49/1.49, allocations: 177.2 MB / 203.4 MB, free: 8.879 MB / 190.1 MB " [Timeout remaining time 178] 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.06324/0.06324, allocations: 8.629 MB / 268.4 MB, free: 8.516 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 75.91 kB / 396.1 MB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1333, allocations: 56.05 MB / 452.1 MB, free: 15.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004576/0.1379, allocations: 2.544 MB / 454.7 MB, free: 13.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1397, allocations: 0.8122 MB / 455.5 MB, free: 12.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.1399, allocations: 35.62 kB / 455.5 MB, free: 12.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.1402, allocations: 87.06 kB / 455.6 MB, free: 12.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.1405, allocations: 55.36 kB / 455.6 MB, free: 12.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009221/0.1414, allocations: 431.2 kB / 456.1 MB, free: 11.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.1426, allocations: 0.8486 MB / 456.9 MB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.1428, allocations: 77.59 kB / 457 MB, free: 10.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.1433, allocations: 315 kB / 457.3 MB, free: 10.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.1437, allocations: 278.6 kB / 457.6 MB, free: 10.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.507e-05/0.1438, allocations: 48 kB / 457.6 MB, free: 10.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.144, allocations: 91.95 kB / 457.7 MB, free: 10.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.1442, allocations: 175.3 kB / 457.9 MB, free: 9.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.1445, allocations: 234.6 kB / 458.1 MB, free: 9.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008013/0.1453, allocations: 0.6339 MB / 458.7 MB, free: 9.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1453, allocations: 0 / 458.7 MB, free: 9.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1453, allocations: 0 / 458.7 MB, free: 9.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1453, allocations: 0 / 458.7 MB, free: 9.102 MB / 430.1 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.002035/0.1473, allocations: 0.9657 MB / 459.7 MB, free: 8.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1474, allocations: 8.031 kB / 459.7 MB, free: 8.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.1475, allocations: 88.36 kB / 459.8 MB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008731/0.1484, allocations: 454.5 kB / 460.2 MB, free: 7.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.593e-05/0.1485, allocations: 71.25 kB / 460.3 MB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.1486, allocations: 56.38 kB / 460.4 MB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.1498, allocations: 0.7103 MB / 461.1 MB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.1499, allocations: 7.891 kB / 461.1 MB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.1499, allocations: 24 kB / 461.1 MB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.1499, allocations: 16 kB / 461.1 MB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/0.1509, allocations: 497.3 kB / 461.6 MB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.1541, allocations: 1.894 MB / 463.5 MB, free: 4.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008854/0.155, allocations: 356.4 kB / 463.9 MB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.1555, allocations: 239.4 kB / 464.1 MB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.1555, allocations: 4 kB / 464.1 MB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007208/0.1562, allocations: 366.2 kB / 464.4 MB, free: 3.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 1.924e-06/0.1562, allocations: 0 / 464.4 MB, free: 3.148 MB / 430.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8032:5-8032:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6470334690529853] Failed to read output from testmodel.py, exit status != 0: 0.1665800060145557 0.181593101 0.033039758 Calling exit ...