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.001558/0.001558, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00179/0.00179, allocations: 217.4 kB / 23.01 MB, free: 4.566 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.06538/0.06538, allocations: 11.34 MB / 324.5 MB, free: 8.281 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.002022/0.002022, allocations: 71.89 kB / 452.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1165, allocations: 56.07 MB / 0.4965 GB, free: 1.879 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004954/0.1215, allocations: 3.136 MB / 0.4995 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004351/0.1258, allocations: 2.385 MB / 0.5018 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005213/0.1264, allocations: 47.5 kB / 0.5019 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.1275, allocations: 410.2 kB / 0.5023 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009015/0.1284, allocations: 366.3 kB / 0.5026 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.1304, allocations: 0.8125 MB / 0.5034 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.1321, allocations: 1.245 MB / 0.5046 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.1324, allocations: 117.3 kB / 0.5048 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007759/0.1332, allocations: 0.4983 MB / 0.5052 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007136/0.1339, allocations: 0.4979 MB / 0.5057 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.134, allocations: 68 kB / 0.5058 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006256/0.1346, allocations: 327.7 kB / 0.5061 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.1349, allocations: 267.1 kB / 0.5064 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004659/0.1354, allocations: 409.8 kB / 0.5067 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.1368, allocations: 1.05 MB / 0.5078 GB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1368, allocations: 3.938 kB / 0.5078 GB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1368, allocations: 0 / 0.5078 GB, free: 6.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1368, allocations: 0 / 0.5078 GB, free: 6.219 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.002583/0.1394, allocations: 1.438 MB / 0.5092 GB, free: 4.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1395, allocations: 8.031 kB / 0.5092 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.1397, allocations: 120.2 kB / 0.5093 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.1409, allocations: 0.6555 MB / 0.5099 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/0.141, allocations: 49.69 kB / 0.51 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.1411, allocations: 68.06 kB / 0.5101 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.1424, allocations: 0.7718 MB / 0.5108 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.1425, allocations: 3.938 kB / 0.5108 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.1425, allocations: 27.98 kB / 0.5108 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.1425, allocations: 16 kB / 0.5109 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000896/0.1434, allocations: 467.6 kB / 0.5113 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2236/0.367, allocations: 2.381 MB / 0.5136 GB, free: 22.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.3681, allocations: 469.3 kB / 0.5141 GB, free: 22.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004332/0.3685, allocations: 262.4 kB / 0.5143 GB, free: 22.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.3686, allocations: 11.44 kB / 0.5143 GB, free: 22.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007405/0.3693, allocations: 0.4919 MB / 0.5148 GB, free: 22.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.546e-06/0.3693, allocations: 0 / 0.5148 GB, free: 22.73 MB / 382.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.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/jenkins1/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/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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7130092699080706] Failed to read output from testmodel.py, exit status != 0: 0.37961633689701557 0.392870254 0.25302723800000004 Calling exit ...