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.001174/0.001174, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001282/0.001282, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.08/1.08, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.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.04428/0.04428, allocations: 8.616 MB / 269.6 MB, free: 4.762 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.934e-06/1.934e-06, allocations: 4 kB / 342.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.558e-05, allocations: 2.312 kB / 342.1 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.002814/0.00284, allocations: 2.959 MB / 345.1 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.005369, allocations: 2.254 MB / 347.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.005709, allocations: 47.5 kB / 347.4 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.0064, allocations: 418.1 kB / 347.8 MB, free: 2.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.006897, allocations: 382 kB / 348.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.00801, allocations: 0.8378 MB / 349 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008176/0.008827, allocations: 1.136 MB / 350.1 MB, free: 52 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.009023, allocations: 105.5 kB / 350.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006108/0.009634, allocations: 0.6002 MB / 350.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004172/0.01005, allocations: 430.8 kB / 351.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.833e-05/0.01013, allocations: 64 kB / 351.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.01051, allocations: 315.5 kB / 351.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.01069, allocations: 267 kB / 351.9 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.01087, allocations: 239.7 kB / 352.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.01162, allocations: 0.8719 MB / 353 MB, free: 13.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01162, allocations: 0 / 353 MB, free: 13.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01162, allocations: 0 / 353 MB, free: 13.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.01163, allocations: 0 / 353 MB, free: 13.16 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.001368/0.013, allocations: 1.534 MB / 354.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.01303, allocations: 8.031 kB / 354.5 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.0132, allocations: 168.2 kB / 354.7 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.01387, allocations: 0.6648 MB / 355.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.0139, allocations: 49.67 kB / 355.4 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.01397, allocations: 60.33 kB / 355.5 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005841/0.01456, allocations: 0.6219 MB / 356.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.01458, allocations: 7.938 kB / 356.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.01462, allocations: 23.98 kB / 356.1 MB, free: 9.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.01463, allocations: 15.94 kB / 356.1 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.01491, allocations: 266.1 kB / 356.4 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.01679, allocations: 2.392 MB / 358.8 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.01716, allocations: 348.8 kB / 359.1 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.01732, allocations: 180.8 kB / 359.3 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.01734, allocations: 12.5 kB / 359.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/0.0177, allocations: 423.3 kB / 359.7 MB, free: 6.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.883e-06/0.0177, allocations: 4 kB / 359.7 MB, free: 6.066 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:8083:5-8083:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7589330696500838]