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.001375/0.001375, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001547/0.001547, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9954/0.9954, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.0391/0.0391, allocations: 8.602 MB / 268.5 MB, free: 4.918 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 2.094e-06/2.094e-06, allocations: 0 / 340.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.389e-05, allocations: 4.844 kB / 340.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004773/0.004807, allocations: 2.993 MB / 343.9 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00421/0.009017, allocations: 2.297 MB / 346.2 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004276/0.009444, allocations: 39.56 kB / 346.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008482/0.01029, allocations: 418 kB / 346.6 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005861/0.01088, allocations: 378.1 kB / 347 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.01225, allocations: 0.8417 MB / 347.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009405/0.01319, allocations: 1.136 MB / 349 MB, free: 256 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.01341, allocations: 105.5 kB / 349.1 MB, free: 132 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000742/0.01415, allocations: 0.6002 MB / 349.7 MB, free: 15.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.01472, allocations: 422.9 kB / 350.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.01484, allocations: 67.94 kB / 350.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.0153, allocations: 315.6 kB / 350.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.01553, allocations: 263 kB / 350.7 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.01573, allocations: 243.7 kB / 351 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009649/0.01669, allocations: 0.8757 MB / 351.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.0167, allocations: 0 / 351.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0167, allocations: 3.938 kB / 351.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.01671, allocations: 4 kB / 351.8 MB, free: 13.36 MB / 282.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.001709/0.01842, allocations: 1.534 MB / 353.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.01847, allocations: 12.03 kB / 353.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.01868, allocations: 168.2 kB / 353.5 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000778/0.01945, allocations: 0.6727 MB / 354.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.0195, allocations: 53.67 kB / 354.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.958e-05/0.01958, allocations: 64.31 kB / 354.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.02034, allocations: 0.6572 MB / 355 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.02036, allocations: 11.88 kB / 355 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.0204, allocations: 23.98 kB / 355 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.02042, allocations: 16 kB / 355 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.02083, allocations: 313.1 kB / 355.3 MB, free: 9.656 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.02306, allocations: 2.536 MB / 357.9 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.0236, allocations: 379 kB / 358.3 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.02383, allocations: 208.8 kB / 358.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.02386, allocations: 8.5 kB / 358.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/0.02435, allocations: 456.3 kB / 358.9 MB, free: 5.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 2.215e-06/0.02436, allocations: 0 / 358.9 MB, free: 5.918 MB / 282.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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7643516012467444]