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.0009053/0.0009053, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000981/0.001886, allocations: 455.9 kB / 10.43 MB, free: 260 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.0007581/0.0007581, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000959/0.001717, allocations: 475.6 kB / 11.8 MB, free: 2.363 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.9974/0.9974, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09906/1.096, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.03624/0.03624, allocations: 8.612 MB / 252.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0062/0.04245, allocations: 3.133 MB / 255.9 MB, free: 3.512 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.292e-06/1.292e-06, allocations: 0 / 257.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.137e-05, allocations: 6.312 kB / 257.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003226/0.003248, allocations: 3.023 MB / 260.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.006322, allocations: 2.347 MB / 262.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.006682, allocations: 43.5 kB / 262.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.007363, allocations: 418 kB / 263 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005605/0.007924, allocations: 398 kB / 263.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.009339, allocations: 0.8143 MB / 264.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008619/0.0102, allocations: 1.108 MB / 265.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.0104, allocations: 113.1 kB / 265.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008582/0.01125, allocations: 0.7067 MB / 266.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.01165, allocations: 418.8 kB / 266.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.297e-05/0.01172, allocations: 67.94 kB / 266.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.01217, allocations: 343.6 kB / 267 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.01235, allocations: 211.2 kB / 267.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.01251, allocations: 183.9 kB / 267.3 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007864/0.0133, allocations: 0.7705 MB / 268.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.247e-05/0.01332, allocations: 0 / 268.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01332, allocations: 0 / 268.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.01334, allocations: 0 / 268.1 MB, free: 7.219 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.001495/0.01484, allocations: 1.549 MB / 269.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.01488, allocations: 8.031 kB / 269.7 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.01501, allocations: 112.8 kB / 269.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.01566, allocations: 0.6192 MB / 270.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.0157, allocations: 45.67 kB / 270.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.01577, allocations: 64.36 kB / 270.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.01634, allocations: 0.6048 MB / 271.1 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.01637, allocations: 7.891 kB / 271.1 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.0164, allocations: 31.98 kB / 271.1 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.01641, allocations: 12 kB / 271.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.01667, allocations: 257 kB / 271.4 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.01848, allocations: 1.677 MB / 273.1 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.01883, allocations: 359.7 kB / 273.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.01897, allocations: 174 kB / 273.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.019, allocations: 12.5 kB / 273.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/0.01937, allocations: 424.5 kB / 274 MB, free: 1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.585e-06/0.01937, allocations: 0 / 274 MB, free: 1 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:8418:5-8418:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.4871412608772516]