Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0007204/0.0007204, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001786, 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.0009581/0.0009581, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.00199, 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 1.057/1.057, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09408/1.151, allocations: 53.67 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.04175/0.04175, allocations: 9.791 MB / 253.8 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006687/0.04843, 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.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 3.938 kB / 258.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.656e-05, allocations: 5.688 kB / 258.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003031/0.003048, allocations: 3.028 MB / 261.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.006047, allocations: 2.429 MB / 264 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.006301, allocations: 43.5 kB / 264 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.006868, allocations: 410 kB / 264.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004991/0.007367, allocations: 394.1 kB / 264.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.008579, allocations: 0.8923 MB / 265.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.009712, allocations: 1.175 MB / 266.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.009887, allocations: 118.2 kB / 267 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006192/0.01051, allocations: 0.7496 MB / 267.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.01089, allocations: 434.8 kB / 268.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-05/0.01097, allocations: 68 kB / 268.2 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.01137, allocations: 351.5 kB / 268.6 MB, free: 6.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.01154, allocations: 211.2 kB / 268.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.01169, allocations: 187.9 kB / 269 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.01239, allocations: 0.7862 MB / 269.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.0124, allocations: 0 / 269.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.0124, allocations: 0 / 269.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.01242, allocations: 0 / 269.7 MB, free: 5.535 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: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.001372/0.01379, allocations: 1.592 MB / 271.3 MB, free: 3.863 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.01382, allocations: 8.031 kB / 271.3 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.01396, allocations: 116.8 kB / 271.5 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/0.01459, allocations: 0.6192 MB / 272.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.01463, allocations: 53.67 kB / 272.1 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/0.01471, allocations: 68.31 kB / 272.2 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/0.01528, allocations: 0.6126 MB / 272.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.0153, allocations: 7.938 kB / 272.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.01533, allocations: 31.98 kB / 272.9 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.01534, allocations: 15.94 kB / 272.9 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.01561, allocations: 261.9 kB / 273.1 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.01727, allocations: 1.732 MB / 274.9 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1162/0.1335, allocations: 368.3 kB / 275.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.1338, allocations: 176.2 kB / 275.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1338, allocations: 13.47 kB / 275.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004364/0.1342, allocations: 443.2 kB / 275.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=74): time 3.377e-06/0.1342, allocations: 0 / 275.8 MB, free: 11.52 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.cs R.Iaction R.satDiff R.satin when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; 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.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.cs R.Iaction R.satDiff R.satin equations: when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; 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.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:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6693339450284839]