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.001484/0.001484, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001911/0.001911, allocations: 157.7 kB / 23.01 MB, free: 4.602 MB / 14.72 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.606/1.606, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 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.06239/0.06239, allocations: 8.619 MB / 268.4 MB, free: 8.543 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 67.89 kB / 396.1 MB, free: 7.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1185, allocations: 56.05 MB / 452.1 MB, free: 15.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.005354/0.1239, allocations: 2.895 MB / 455 MB, free: 12.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005316/0.1292, allocations: 2.243 MB / 457.3 MB, free: 10.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005746/0.1298, allocations: 47.5 kB / 457.3 MB, free: 10.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.131, allocations: 410.2 kB / 457.7 MB, free: 10.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.1322, allocations: 370.3 kB / 458.1 MB, free: 9.812 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.1343, allocations: 0.7928 MB / 458.9 MB, free: 9.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.136, allocations: 1.241 MB / 460.1 MB, free: 7.773 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.1363, allocations: 105.5 kB / 460.2 MB, free: 7.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000726/0.137, allocations: 498.3 kB / 460.7 MB, free: 7.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.1377, allocations: 485.9 kB / 461.2 MB, free: 6.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.1378, allocations: 64 kB / 461.2 MB, free: 6.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006521/0.1385, allocations: 315.7 kB / 461.5 MB, free: 6.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.1388, allocations: 275 kB / 461.8 MB, free: 6.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000507/0.1393, allocations: 314.5 kB / 462.1 MB, free: 5.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.1411, allocations: 1.07 MB / 463.2 MB, free: 4.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.1411, allocations: 8 kB / 463.2 MB, free: 4.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1411, allocations: 0 / 463.2 MB, free: 4.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1411, allocations: 0 / 463.2 MB, free: 4.66 MB / 430.1 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.002599/0.1437, allocations: 1.434 MB / 464.6 MB, free: 3.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1437, allocations: 12.03 kB / 464.6 MB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.144, allocations: 112.2 kB / 464.7 MB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.1452, allocations: 0.6465 MB / 465.4 MB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/0.1452, allocations: 41.69 kB / 465.4 MB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.1453, allocations: 76.06 kB / 465.5 MB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.1467, allocations: 0.8242 MB / 466.3 MB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.1467, allocations: 4 kB / 466.3 MB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.1467, allocations: 23.98 kB / 466.4 MB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.1468, allocations: 16 kB / 466.4 MB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009797/0.1477, allocations: 0.5264 MB / 466.9 MB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.1512, allocations: 2.181 MB / 469.1 MB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1523, allocations: 0.5204 MB / 469.6 MB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/0.1528, allocations: 329.9 kB / 469.9 MB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.1528, allocations: 8.5 kB / 469.9 MB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008911/0.1537, allocations: 0.5688 MB / 470.5 MB, free: 13.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.665e-06/0.1537, allocations: 0 / 470.5 MB, free: 13.04 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8032:5-8032:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9024807560490444] Failed to read output from testmodel.py, exit status != 0: 0.1644099400145933 0.35120402199999995 0.20689585900000002 Calling exit ...