Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup.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.00164/0.00164, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001786/0.001786, allocations: 213.2 kB / 23.01 MB, free: 4.57 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.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.06658/0.06658, allocations: 11.35 MB / 324.5 MB, free: 8.25 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.Applications.ControlProblems.CascadeAntiWindup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup") translateModel(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup") [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.002229/0.002229, allocations: 67.89 kB / 452.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1078, allocations: 56.07 MB / 0.4964 GB, free: 1.867 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.004247/0.112, allocations: 2.709 MB / 0.4991 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1144, allocations: 1.209 MB / 0.5003 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.1148, allocations: 23.75 kB / 0.5003 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.1152, allocations: 138.8 kB / 0.5004 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1154, allocations: 95.19 kB / 0.5005 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.1168, allocations: 479.1 kB / 0.501 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.1183, allocations: 1.132 MB / 0.5021 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.1186, allocations: 90.75 kB / 0.5022 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005653/0.1192, allocations: 390.7 kB / 0.5025 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006138/0.1198, allocations: 414.2 kB / 0.5029 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.1199, allocations: 72 kB / 0.503 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.1202, allocations: 135.9 kB / 0.5031 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.1204, allocations: 163.3 kB / 0.5033 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004225/0.1208, allocations: 390.3 kB / 0.5037 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.1218, allocations: 0.7972 MB / 0.5044 GB, free: 9.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1218, allocations: 0 / 0.5044 GB, free: 9.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1218, allocations: 0 / 0.5044 GB, free: 9.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.1219, allocations: 0 / 0.5044 GB, free: 9.625 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001821/0.1237, allocations: 1.136 MB / 0.5055 GB, free: 8.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1237, allocations: 8.031 kB / 0.5056 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.1239, allocations: 100.4 kB / 0.5057 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008706/0.1248, allocations: 474.4 kB / 0.5061 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.1248, allocations: 41.38 kB / 0.5061 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.1249, allocations: 72.38 kB / 0.5062 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.1261, allocations: 0.6839 MB / 0.5069 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.1261, allocations: 0 / 0.5069 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-05/0.1262, allocations: 32 kB / 0.5069 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1262, allocations: 12 kB / 0.5069 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.1271, allocations: 468 kB / 0.5074 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.1299, allocations: 1.573 MB / 0.5089 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.1304, allocations: 255 kB / 0.5091 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.1307, allocations: 186.1 kB / 0.5093 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.1307, allocations: 4 kB / 0.5093 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007073/0.1314, allocations: 0.5114 MB / 0.5098 GB, free: 3.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 4.228e-06/0.1314, allocations: 7.984 kB / 0.5098 GB, free: 3.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.002108/0.1335, allocations: 1.244 MB / 0.5111 GB, free: 2.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002835/0.1338, allocations: 419.8 kB / 0.5115 GB, free: 2.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/0.1346, allocations: 0.6133 MB / 0.5121 GB, free: 1.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.789e-05/0.1346, allocations: 49.69 kB / 0.5121 GB, free: 1.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.135, allocations: 376.6 kB / 0.5125 GB, free: 1.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.1352, allocations: 182.6 kB / 0.5126 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.1354, allocations: 198.5 kB / 0.5128 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.1356, allocations: 402.7 kB / 0.5132 GB, free: 256 kB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1212:5-1212:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable PID_outer.dpv:DISCRETE(fixed = false protected = true ) type: Real does not appear in any equation in the initial system and is not fixable. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7418583061080426] Failed to read output from testmodel.py, exit status != 0: 0.3372912718914449 0.34936918199999994 0.22445810399999996 Calling exit ...