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.001941/0.001941, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.00201/0.00201, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.621/1.621, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.07385/0.07385, allocations: 8.619 MB / 268.2 MB, free: 4.965 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.482e-06/1.482e-06, allocations: 3.938 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.327e-05, allocations: 2.312 kB / 340.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003281/0.003304, allocations: 2.962 MB / 343.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.006322, allocations: 2.278 MB / 345.4 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.006607, allocations: 47.5 kB / 345.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008228/0.00743, allocations: 414 kB / 345.8 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006239/0.008054, allocations: 382 kB / 346.2 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.009461, allocations: 0.8456 MB / 347.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007556/0.01022, allocations: 1.128 MB / 348.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.01039, allocations: 109.5 kB / 348.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005787/0.01097, allocations: 0.6001 MB / 348.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006435/0.01161, allocations: 426.9 kB / 349.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.01176, allocations: 60 kB / 349.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005763/0.01234, allocations: 319.5 kB / 349.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.01267, allocations: 271 kB / 349.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003329/0.013, allocations: 235.7 kB / 350.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.01447, allocations: 1.11 MB / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01448, allocations: 0 / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01448, allocations: 0 / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.01449, allocations: 4 kB / 351.3 MB, free: 13.53 MB / 282.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.002838/0.01733, allocations: 1.596 MB / 352.9 MB, free: 11.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.01737, allocations: 8.031 kB / 352.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.0177, allocations: 160.2 kB / 353 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.01896, allocations: 0.672 MB / 353.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.945e-05/0.01902, allocations: 45.67 kB / 353.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.01915, allocations: 76.31 kB / 353.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.02059, allocations: 0.747 MB / 354.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.02062, allocations: 3.938 kB / 354.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.02069, allocations: 27.98 kB / 354.6 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.02072, allocations: 16 kB / 354.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008358/0.02155, allocations: 403 kB / 355 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/0.02591, allocations: 2.677 MB / 357.7 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009403/0.02685, allocations: 464.5 kB / 358.2 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/0.02734, allocations: 264.8 kB / 358.4 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.02738, allocations: 8.5 kB / 358.4 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008972/0.02827, allocations: 0.5112 MB / 358.9 MB, free: 5.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 2.715e-06/0.02828, allocations: 0 / 358.9 MB, free: 5.523 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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:347:7-347: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:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8001:5-8001:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.384058711002581]