Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking.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.001419/0.001419, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001712/0.001712, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.61/1.61, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.08331/0.08331, allocations: 11.34 MB / 323.8 MB, free: 8.043 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.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") [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.00213/0.00213, allocations: 67.89 kB / 451.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1345, allocations: 56.06 MB / 0.4956 GB, free: 1.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004749/0.1393, allocations: 2.879 MB / 0.4984 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004292/0.1436, allocations: 2.247 MB / 0.5006 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.1439, allocations: 47.5 kB / 0.5007 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009933/0.1449, allocations: 410.2 kB / 0.5011 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008878/0.1458, allocations: 374.3 kB / 0.5014 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.1477, allocations: 0.8008 MB / 0.5022 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.1492, allocations: 1.241 MB / 0.5034 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.1494, allocations: 109.3 kB / 0.5035 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006272/0.1501, allocations: 0.4944 MB / 0.504 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000627/0.1507, allocations: 493.9 kB / 0.5045 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.1508, allocations: 60 kB / 0.5045 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.1513, allocations: 307.7 kB / 0.5048 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.1516, allocations: 275.1 kB / 0.5051 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.1519, allocations: 314.5 kB / 0.5054 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.1532, allocations: 1.062 MB / 0.5064 GB, free: 6.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.661e-05/0.1532, allocations: 0 / 0.5064 GB, free: 6.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1532, allocations: 0 / 0.5064 GB, free: 6.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1533, allocations: 0 / 0.5064 GB, free: 6.539 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002389/0.1556, allocations: 1.442 MB / 0.5078 GB, free: 5.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1557, allocations: 8.031 kB / 0.5079 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.156, allocations: 120.2 kB / 0.508 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.1572, allocations: 0.6464 MB / 0.5086 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.1573, allocations: 45.67 kB / 0.5086 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.1574, allocations: 68.08 kB / 0.5087 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.1589, allocations: 0.8281 MB / 0.5095 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.1589, allocations: 7.938 kB / 0.5095 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.159, allocations: 23.98 kB / 0.5095 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.159, allocations: 16 kB / 0.5096 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.1601, allocations: 0.5224 MB / 0.5101 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/0.1641, allocations: 2.177 MB / 0.5122 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2417/0.4059, allocations: 0.5235 MB / 0.5127 GB, free: 23.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.4065, allocations: 329.7 kB / 0.513 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.4065, allocations: 5.25 kB / 0.513 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008033/0.4073, allocations: 0.5624 MB / 0.5136 GB, free: 22.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 4.068e-06/0.4073, allocations: 0 / 0.5136 GB, free: 22.87 MB / 382.1 MB [/var/lib/jenkins/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.satin R.cs R.satDiff R.Iaction when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R.satin R.cs R.satDiff R.Iaction equations: when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0631659757345915] Failed to read output from testmodel.py, exit status != 0: 0.41779005341231823 0.430192818 0.274168563 Calling exit ...