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.0009091/0.0009091, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009659/0.0009659, allocations: 169 kB / 23.03 MB, free: 1.539 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.9476/0.9476, 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.03509/0.03509, allocations: 8.602 MB / 268.6 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 1.583e-06/1.583e-06, allocations: 0 / 340.9 MB, free: 9.441 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.746e-05, allocations: 2.312 kB / 340.9 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003407/0.003434, allocations: 3.005 MB / 343.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.006325, allocations: 2.288 MB / 346.2 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/0.006754, allocations: 43.5 kB / 346.2 MB, free: 4.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009674/0.007722, allocations: 418.1 kB / 346.6 MB, free: 3.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000966/0.008688, allocations: 386 kB / 347 MB, free: 3.281 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.01037, allocations: 0.8378 MB / 347.8 MB, free: 2.441 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.01165, allocations: 1.135 MB / 349 MB, free: 1.305 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.01189, allocations: 112.5 kB / 349.1 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00081/0.0127, allocations: 0.604 MB / 349.7 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006633/0.01336, allocations: 422.9 kB / 350.1 MB, free: 168 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.01352, allocations: 64 kB / 350.2 MB, free: 104 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006286/0.01415, allocations: 311.5 kB / 350.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.01439, allocations: 271 kB / 350.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.01462, allocations: 243.7 kB / 351 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.01569, allocations: 0.8718 MB / 351.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01569, allocations: 0 / 351.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0157, allocations: 0 / 351.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.01571, allocations: 4 kB / 351.8 MB, free: 14.41 MB / 330.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.002235/0.01795, allocations: 1.542 MB / 353.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.018, allocations: 12.03 kB / 353.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.01824, allocations: 156.2 kB / 353.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.01939, allocations: 0.6804 MB / 354.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.082e-05/0.01944, allocations: 45.69 kB / 354.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.01952, allocations: 64.36 kB / 354.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/0.02033, allocations: 0.6611 MB / 355 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.02036, allocations: 15.92 kB / 355 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.02041, allocations: 23.94 kB / 355 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.02042, allocations: 16 kB / 355 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/0.02085, allocations: 309.1 kB / 355.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.02304, allocations: 2.529 MB / 357.9 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.02354, allocations: 386.2 kB / 358.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.02375, allocations: 216.8 kB / 358.5 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.02378, allocations: 8.5 kB / 358.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000436/0.02421, allocations: 448.3 kB / 358.9 MB, free: 6.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.675e-06/0.02422, allocations: 0 / 358.9 MB, free: 6.98 MB / 330.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.7457099319435656]