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.000966/0.000966, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002254/0.00322, 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.001234/0.001234, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001645/0.002879, 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.163/1.163, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1289/1.292, 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.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.03595/0.03595, allocations: 8.599 MB / 252.6 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007868/0.04381, allocations: 3.133 MB / 255.7 MB, free: 3.598 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.743e-06/1.743e-06, allocations: 0 / 257 MB, free: 2.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.22e-05, allocations: 13.77 kB / 257 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003329/0.003352, allocations: 3.012 MB / 260 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.006648, allocations: 2.351 MB / 262.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/0.006942, allocations: 39.56 kB / 262.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.007684, allocations: 410 kB / 262.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.008189, allocations: 394 kB / 263.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.009313, allocations: 0.8027 MB / 264 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008447/0.01016, allocations: 1.108 MB / 265.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.01038, allocations: 110.1 kB / 265.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006581/0.01104, allocations: 0.7066 MB / 265.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.01143, allocations: 410.9 kB / 266.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.699e-05/0.01151, allocations: 64 kB / 266.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.01191, allocations: 335.6 kB / 266.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.0121, allocations: 207.2 kB / 266.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.01227, allocations: 183.9 kB / 267.1 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.01331, allocations: 0.7705 MB / 267.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.771e-05/0.01333, allocations: 0 / 267.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.01333, allocations: 4 kB / 267.8 MB, free: 7.387 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.01335, allocations: 0 / 267.8 MB, free: 7.387 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.001567/0.01492, allocations: 1.541 MB / 269.4 MB, free: 5.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.01496, allocations: 8.031 kB / 269.4 MB, free: 5.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.0151, allocations: 120.8 kB / 269.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000675/0.01577, allocations: 0.6153 MB / 270.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.01582, allocations: 53.67 kB / 270.2 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.01589, allocations: 60.38 kB / 270.2 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.01645, allocations: 0.6048 MB / 270.8 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.01647, allocations: 11.89 kB / 270.8 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.01651, allocations: 28 kB / 270.9 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.01652, allocations: 15.94 kB / 270.9 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.01678, allocations: 249 kB / 271.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.01836, allocations: 1.689 MB / 272.8 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.01873, allocations: 354.8 kB / 273.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.01887, allocations: 170 kB / 273.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.0189, allocations: 8.5 kB / 273.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.01928, allocations: 424.5 kB / 273.8 MB, free: 1.168 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.795e-06/0.01928, allocations: 3.938 kB / 273.8 MB, free: 1.164 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:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7109084436669946]