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.001343/0.001343, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001497/0.001497, allocations: 216.4 kB / 22.99 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.06705/0.06705, allocations: 11.35 MB / 324.5 MB, free: 8.023 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.002068/0.002068, allocations: 63.91 kB / 452.2 MB, free: 9.844 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1114, allocations: 56.08 MB / 0.4964 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.004006/0.1154, allocations: 2.475 MB / 0.4988 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1178, allocations: 1.155 MB / 0.4999 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/0.1181, allocations: 23.75 kB / 0.4999 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.1185, allocations: 138.8 kB / 0.5001 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.1187, allocations: 103.2 kB / 0.5002 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.12, allocations: 473.6 kB / 0.5006 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.1213, allocations: 1.105 MB / 0.5017 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.1216, allocations: 93.28 kB / 0.5018 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.1221, allocations: 386.7 kB / 0.5022 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.1226, allocations: 386.1 kB / 0.5025 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.1227, allocations: 68 kB / 0.5026 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.1229, allocations: 131.9 kB / 0.5027 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.1231, allocations: 167.3 kB / 0.5029 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.1234, allocations: 314.8 kB / 0.5032 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009366/0.1244, allocations: 0.8051 MB / 0.504 GB, free: 9.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1244, allocations: 4 kB / 0.504 GB, free: 9.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1244, allocations: 0 / 0.504 GB, free: 9.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1244, allocations: 0 / 0.504 GB, free: 9.84 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.001717/0.1261, allocations: 1.124 MB / 0.5051 GB, free: 8.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1262, allocations: 20.02 kB / 0.5051 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.1263, allocations: 100.4 kB / 0.5052 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.1272, allocations: 470.5 kB / 0.5056 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.1272, allocations: 49.36 kB / 0.5057 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.1274, allocations: 64.38 kB / 0.5057 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.1287, allocations: 0.8797 MB / 0.5066 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.1287, allocations: 3.938 kB / 0.5066 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/0.1288, allocations: 32 kB / 0.5066 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.1288, allocations: 8 kB / 0.5066 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009991/0.1298, allocations: 0.6607 MB / 0.5073 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.1325, allocations: 1.348 MB / 0.5086 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.1331, allocations: 427.5 kB / 0.509 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000474/0.1336, allocations: 366.6 kB / 0.5094 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1336, allocations: 4 kB / 0.5094 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008692/0.1345, allocations: 0.6917 MB / 0.51 GB, free: 3.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 1.764e-06/0.1345, allocations: 4 kB / 0.51 GB, free: 3.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.002342/0.1368, allocations: 1.61 MB / 0.5116 GB, free: 1.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002886/0.1371, allocations: 431.8 kB / 0.512 GB, free: 1.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000718/0.1378, allocations: 0.5846 MB / 0.5126 GB, free: 448 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.1379, allocations: 53.69 kB / 0.5126 GB, free: 388 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.1382, allocations: 376.5 kB / 0.513 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2159/0.3541, allocations: 185.2 kB / 0.5132 GB, free: 23.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.3543, allocations: 190.8 kB / 0.5134 GB, free: 23.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3544, allocations: 389.8 kB / 0.5137 GB, free: 23.14 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1213:5-1213: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.7741778031922877] Failed to read output from testmodel.py, exit status != 0: 0.3626735112629831 0.37372289000000003 0.246636663 Calling exit ...