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.001356/0.001356, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001107/0.001107, allocations: 181 kB / 23.36 MB, free: 1.133 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.9182/0.9182, 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.04469/0.04469, allocations: 8.63 MB / 268.9 MB, free: 4.781 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.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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 288.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.733e-05, allocations: 2.312 kB / 288.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.1051/0.1051, allocations: 2.955 MB / 291 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.1082, allocations: 2.325 MB / 293.3 MB, free: 17.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004417/0.1086, allocations: 45.5 kB / 293.4 MB, free: 17.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008737/0.1095, allocations: 416.6 kB / 293.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006929/0.1102, allocations: 380.8 kB / 294.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1118, allocations: 0.834 MB / 295 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.1131, allocations: 1.137 MB / 296.1 MB, free: 16.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.1133, allocations: 113.6 kB / 296.3 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008826/0.1142, allocations: 0.6046 MB / 296.9 MB, free: 16.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006745/0.1149, allocations: 408 kB / 297.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.115, allocations: 63.38 kB / 297.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005374/0.1156, allocations: 310.4 kB / 297.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.1158, allocations: 270.4 kB / 297.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.1161, allocations: 238.9 kB / 298.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.1173, allocations: 0.881 MB / 299 MB, free: 15.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1173, allocations: 0 / 299 MB, free: 15.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1173, allocations: 0.9688 kB / 299 MB, free: 15.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.283e-05/0.1174, allocations: 1.375 kB / 299 MB, free: 15.27 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001627/0.119, allocations: 1.371 MB / 300.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.119, allocations: 9.344 kB / 300.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.1192, allocations: 116.6 kB / 300.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007258/0.1199, allocations: 0.6156 MB / 301.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.12, allocations: 46.95 kB / 301.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.12, allocations: 61.92 kB / 301.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/0.1206, allocations: 0.6013 MB / 301.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.1207, allocations: 10.69 kB / 301.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.1207, allocations: 24.11 kB / 301.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.1207, allocations: 15.22 kB / 301.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.121, allocations: 246.7 kB / 302.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.1226, allocations: 1.688 MB / 303.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.1229, allocations: 353.3 kB / 304.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.1231, allocations: 164 kB / 304.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1231, allocations: 9.406 kB / 304.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.1234, allocations: 422.6 kB / 304.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.595e-06/0.1234, allocations: 0 / 304.7 MB, free: 11.2 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.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:347:7-347: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: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.5581403779797256]