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.001422/0.001422, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.00162/0.00162, allocations: 163.3 kB / 22.46 MB, free: 5.375 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.472/1.472, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.0619/0.0619, allocations: 8.608 MB / 267.8 MB, free: 8.562 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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 395.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.695e-05/3.882e-05, allocations: 2.281 kB / 395.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004557/0.004596, allocations: 2.883 MB / 398.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.009056, allocations: 2.238 MB / 400.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006555/0.009711, allocations: 47.5 kB / 400.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.01108, allocations: 410.1 kB / 401.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.01229, allocations: 380.8 kB / 401.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.01465, allocations: 0.8413 MB / 402.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001732/0.01638, allocations: 1.135 MB / 403.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.01673, allocations: 108.7 kB / 403.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.01806, allocations: 0.604 MB / 404.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008234/0.01888, allocations: 430.8 kB / 404.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.01911, allocations: 68 kB / 404.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007015/0.01981, allocations: 315.5 kB / 405 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.02016, allocations: 259 kB / 405.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.02058, allocations: 243.7 kB / 405.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.02224, allocations: 1.11 MB / 406.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.02224, allocations: 0 / 406.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02225, allocations: 4 kB / 406.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.557e-05/0.02228, allocations: 3.938 kB / 406.6 MB, free: 11.57 MB / 334.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.002709/0.02499, allocations: 1.422 MB / 408 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.02503, allocations: 8.031 kB / 408 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.02527, allocations: 120.2 kB / 408.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.02642, allocations: 0.6457 MB / 408.8 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/0.02647, allocations: 49.69 kB / 408.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.02659, allocations: 64.36 kB / 408.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.02802, allocations: 0.8209 MB / 409.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.02806, allocations: 15.83 kB / 409.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.02813, allocations: 23.98 kB / 409.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.02815, allocations: 16 kB / 409.8 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.02912, allocations: 0.5185 MB / 410.3 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/0.0326, allocations: 2.173 MB / 412.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.03363, allocations: 0.5241 MB / 413 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/0.03418, allocations: 329.9 kB / 413.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.03421, allocations: 8.5 kB / 413.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009557/0.03517, allocations: 0.5603 MB / 413.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.747e-06/0.03517, allocations: 0 / 413.9 MB, free: 3.969 MB / 334.1 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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.416629523038864] Failed to read output from testmodel.py, exit status != 0: 0.04656098037958145 0.061502647 0.036103518 Calling exit ...