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.0008592/0.0008592, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001121/0.001121, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8754/0.8754, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.03321/0.03321, allocations: 8.612 MB / 268.6 MB, free: 5.125 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.863e-06/1.863e-06, allocations: 0 / 396.3 MB, free: 2.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.333e-05, allocations: 16.91 kB / 396.3 MB, free: 2.164 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004623/0.004656, allocations: 2.877 MB / 399.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.008768, allocations: 2.242 MB / 401.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005072/0.009275, allocations: 47.5 kB / 401.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.01037, allocations: 414 kB / 401.9 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000868/0.01124, allocations: 381.8 kB / 402.3 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.01356, allocations: 0.8411 MB / 403.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.01541, allocations: 1.132 MB / 404.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.01572, allocations: 109.5 kB / 404.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009054/0.01662, allocations: 0.6001 MB / 405 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006265/0.01725, allocations: 430.8 kB / 405.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.01739, allocations: 64 kB / 405.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.01794, allocations: 311.6 kB / 405.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.01819, allocations: 263 kB / 406 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.01847, allocations: 247.7 kB / 406.3 MB, free: 8.199 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.01981, allocations: 1.102 MB / 407.4 MB, free: 7.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.01982, allocations: 11.88 kB / 407.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.01982, allocations: 0 / 407.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.01984, allocations: 0 / 407.4 MB, free: 7.082 MB / 378.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.002292/0.02213, allocations: 1.426 MB / 408.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.02217, allocations: 12.03 kB / 408.8 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.02239, allocations: 120.2 kB / 408.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.02347, allocations: 0.6419 MB / 409.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.02352, allocations: 45.67 kB / 409.6 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.02364, allocations: 68.36 kB / 409.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.02491, allocations: 0.817 MB / 410.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.02494, allocations: 15.83 kB / 410.5 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.025, allocations: 23.98 kB / 410.5 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.02502, allocations: 16 kB / 410.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006768/0.0257, allocations: 0.5224 MB / 411.1 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.02771, allocations: 2.169 MB / 413.2 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.02829, allocations: 0.5214 MB / 413.8 MB, free: 436 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.0286, allocations: 325.9 kB / 414.1 MB, free: 96 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.02862, allocations: 8.5 kB / 414.1 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005362/0.02916, allocations: 0.5603 MB / 414.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 2.164e-06/0.02916, allocations: 4 kB / 414.7 MB, free: 15.48 MB / 394.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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6653597010299563] Failed to read output from testmodel.py, exit status != 0: 0.03783063869923353 0.044713701 0.023161273000000003 Calling exit ...