Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestTracking_bias.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.0007364/0.0007364, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008622/0.001599, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001092/0.001092, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002401, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9705/0.9705, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08431/1.055, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.0418/0.0418, allocations: 9.781 MB / 253.8 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006358/0.04816, allocations: 3.476 MB / 257.2 MB, free: 2.121 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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.TestTracking_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestTracking_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestTracking_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestTracking_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 258.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.398e-05, allocations: 5.406 kB / 258.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestTracking_bias): time 0.002572/0.002586, allocations: 2.626 MB / 261.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.004133, allocations: 1.091 MB / 262.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.004319, allocations: 59.31 kB / 262.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.004451, allocations: 110.7 kB / 262.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.004559, allocations: 71.17 kB / 262.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.005105, allocations: 0.5615 MB / 263 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005138/0.005619, allocations: 0.7961 MB / 263.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.005856, allocations: 185.2 kB / 264 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.006196, allocations: 443 kB / 264.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.006387, allocations: 211.2 kB / 264.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.006442, allocations: 60 kB / 264.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.006573, allocations: 99.94 kB / 264.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.129e-05/0.006644, allocations: 103.6 kB / 264.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.575e-05/0.00674, allocations: 131.6 kB / 265 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.007104, allocations: 446 kB / 265.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.03e-05/0.007124, allocations: 4 kB / 265.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.007125, allocations: 0 / 265.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.007137, allocations: 0 / 265.5 MB, free: 9.812 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.0009967/0.008134, allocations: 1.053 MB / 266.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.008165, allocations: 8.031 kB / 266.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.662e-05/0.008262, allocations: 108.8 kB / 266.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/0.008797, allocations: 0.5302 MB / 267.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.008869, allocations: 109.3 kB / 267.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.008928, allocations: 64.38 kB / 267.3 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.009403, allocations: 0.6025 MB / 267.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.009419, allocations: 7.938 kB / 267.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.009451, allocations: 31.98 kB / 268 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.009464, allocations: 19.94 kB / 268 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.009675, allocations: 202.7 kB / 268.2 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.01139, allocations: 2.549 MB / 270.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.01169, allocations: 192.4 kB / 270.9 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.0118, allocations: 115 kB / 271 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.01182, allocations: 12.48 kB / 271.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.01203, allocations: 206.1 kB / 271.3 MB, free: 3.758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 2.014e-06/0.01204, allocations: 0 / 271.3 MB, free: 3.758 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:567:7-567: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.) PIDd.cs PIDd.satDiff PIDd.Iaction PIDd.satin when $whenCondition1 then PIDd.satDiff := PIDd.cs - PIDd.satin; end when; when $whenCondition1 then PIDd.satin := PIDd.Iaction + PIDd.Paction + PIDd.Daction; end when; when $whenCondition1 then PIDd.Iaction := if not PIDd.ts then IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 5.0 * (PIDd.SP - PIDd.PV) + 0.01 * PIDd.satDiff, 5.0 * (pre(PIDd.SP) - pre(PIDd.PV)) + 0.01 * pre(PIDd.satDiff), pre(PIDd.Iaction), 0.1, 1.0) else IndustrialControlSystems.LinearSystems.Discrete.Functions.f1Pole(1.0, PIDd.Itrack, pre(PIDd.Itrack), pre(PIDd.Iaction), 0.1, 1.0, 0.1); end when; when $whenCondition1 then PIDd.cs := if PIDd.ts then TR.k else PIDd.satin; end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: PIDd.cs PIDd.satDiff PIDd.Iaction PIDd.satin equations: when $whenCondition1 then PIDd.satDiff := PIDd.cs - PIDd.satin; end when; when $whenCondition1 then PIDd.satin := PIDd.Iaction + PIDd.Paction + PIDd.Daction; end when; when $whenCondition1 then PIDd.Iaction := if not PIDd.ts then IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 5.0 * (PIDd.SP - PIDd.PV) + 0.01 * PIDd.satDiff, 5.0 * (pre(PIDd.SP) - pre(PIDd.PV)) + 0.01 * pre(PIDd.satDiff), pre(PIDd.Iaction), 0.1, 1.0) else IndustrialControlSystems.LinearSystems.Discrete.Functions.f1Pole(1.0, PIDd.Itrack, pre(PIDd.Itrack), pre(PIDd.Iaction), 0.1, 1.0, 0.1); end when; when $whenCondition1 then PIDd.cs := if PIDd.ts then TR.k else PIDd.satin; end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.4401692133396864]