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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002436/0.002436, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06271/0.06271, allocations: 11.35 MB / 316.4 MB, free: 480 kB / 238.1 MB [Timeout remaining time 90] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 71.88 kB / 441.1 MB, free: 6.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3639, allocations: 54.82 MB / 495.9 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004528/0.3684, allocations: 3.104 MB / 499 MB, free: 22.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003861/0.3723, allocations: 2.216 MB / 0.4894 GB, free: 20.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008034/0.3731, allocations: 30.09 kB / 0.4895 GB, free: 20.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.3742, allocations: 412.3 kB / 0.4899 GB, free: 20.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009353/0.3752, allocations: 322.5 kB / 0.4902 GB, free: 19.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.3778, allocations: 0.8291 MB / 0.491 GB, free: 19.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.3796, allocations: 1.171 MB / 0.4921 GB, free: 18.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.3799, allocations: 108 kB / 0.4922 GB, free: 18.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007998/0.3807, allocations: 478.1 kB / 0.4927 GB, free: 18.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006517/0.3813, allocations: 0.4967 MB / 0.4932 GB, free: 17.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.3815, allocations: 61.72 kB / 0.4932 GB, free: 17.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007861/0.3823, allocations: 321.4 kB / 0.4935 GB, free: 17.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.3826, allocations: 260.5 kB / 0.4938 GB, free: 17.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.383, allocations: 410.8 kB / 0.4942 GB, free: 17.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.3845, allocations: 1.04 MB / 0.4952 GB, free: 16.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3845, allocations: 1.062 kB / 0.4952 GB, free: 16.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3845, allocations: 0 / 0.4952 GB, free: 16.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.3845, allocations: 0 / 0.4952 GB, free: 16.61 MB / 366.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.002511/0.387, allocations: 1.51 MB / 0.4967 GB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.387, allocations: 13.05 kB / 0.4967 GB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.3873, allocations: 116 kB / 0.4968 GB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.3884, allocations: 0.7214 MB / 0.4975 GB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/0.3885, allocations: 46.73 kB / 0.4975 GB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.3886, allocations: 69.77 kB / 0.4976 GB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.3903, allocations: 0.7657 MB / 0.4984 GB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.3903, allocations: 11.14 kB / 0.4984 GB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-05/0.3904, allocations: 26.95 kB / 0.4984 GB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.3904, allocations: 13.72 kB / 0.4984 GB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3915, allocations: 476.4 kB / 0.4989 GB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/0.3953, allocations: 2.412 MB / 0.5012 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009409/0.3963, allocations: 0.5301 MB / 0.5017 GB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/0.3967, allocations: 260.7 kB / 0.502 GB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.3968, allocations: 11.38 kB / 0.502 GB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008374/0.3976, allocations: 0.4937 MB / 0.5025 GB, free: 11.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 4.468e-06/0.3976, allocations: 3.984 kB / 0.5025 GB, free: 11.18 MB / 366.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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed [Timeout remaining time 660]