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.000929/0.000929, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002404, allocations: 440 kB / 10.41 MB, free: 284 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.0009826/0.0009826, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002408, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09309/1.095, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.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.0362/0.0362, allocations: 8.613 MB / 252.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005576/0.04178, allocations: 3.129 MB / 255.9 MB, free: 3.484 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.104e-06/2.104e-06, allocations: 3.984 kB / 257.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.193e-05, allocations: 2.312 kB / 257.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003075/0.003097, allocations: 3.024 MB / 260.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002961/0.006058, allocations: 2.351 MB / 262.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.006387, allocations: 43.5 kB / 262.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007165/0.007104, allocations: 410 kB / 263 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005297/0.007634, allocations: 394 kB / 263.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.008884, allocations: 0.8103 MB / 264.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.009949, allocations: 1.104 MB / 265.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.01014, allocations: 118.1 kB / 265.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007299/0.01087, allocations: 0.7067 MB / 266.1 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.01133, allocations: 402.9 kB / 266.5 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.162e-05/0.01142, allocations: 67.94 kB / 266.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/0.01188, allocations: 335.6 kB / 266.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.01208, allocations: 219.2 kB / 267.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.01224, allocations: 175.9 kB / 267.3 MB, free: 8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.01327, allocations: 0.7744 MB / 268.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.01328, allocations: 0 / 268.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.01328, allocations: 0 / 268.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.01331, allocations: 0 / 268.1 MB, free: 7.223 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002115/0.01542, allocations: 1.545 MB / 269.6 MB, free: 5.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.01549, allocations: 8.031 kB / 269.6 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.01574, allocations: 116.8 kB / 269.7 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.01685, allocations: 0.6192 MB / 270.4 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.01691, allocations: 45.67 kB / 270.4 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/0.01701, allocations: 64.36 kB / 270.5 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.01776, allocations: 0.6048 MB / 271.1 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.01778, allocations: 11.89 kB / 271.1 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.01783, allocations: 23.98 kB / 271.1 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.01784, allocations: 12 kB / 271.1 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.01817, allocations: 253 kB / 271.4 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.02045, allocations: 1.677 MB / 273 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.02083, allocations: 357.2 kB / 273.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.02097, allocations: 182 kB / 273.6 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.02099, allocations: 12.5 kB / 273.6 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.02134, allocations: 428.5 kB / 274 MB, free: 1.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 4.768e-06/0.02135, allocations: 0 / 274 MB, free: 1.004 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.) 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:577:7-577: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: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:8414:5-8414:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.507597353309393]