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.001409/0.001409, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001608/0.001608, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.523/1.523, allocations: 230.6 MB / 256 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.07609/0.07609, allocations: 11.33 MB / 323.8 MB, free: 8.031 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.002195/0.002195, allocations: 67.91 kB / 451.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1296, allocations: 56.07 MB / 0.4956 GB, free: 1.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.004046/0.1337, allocations: 2.478 MB / 0.498 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.1363, allocations: 1.151 MB / 0.4992 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.1366, allocations: 23.75 kB / 0.4992 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.137, allocations: 146.8 kB / 0.4993 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.1373, allocations: 91.19 kB / 0.4994 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.1386, allocations: 465.4 kB / 0.4999 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.1402, allocations: 1.117 MB / 0.501 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.1405, allocations: 86.75 kB / 0.501 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/0.1409, allocations: 390.7 kB / 0.5014 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.1415, allocations: 386.1 kB / 0.5018 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.1416, allocations: 68 kB / 0.5018 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.1418, allocations: 135.9 kB / 0.502 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.142, allocations: 163.2 kB / 0.5021 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.1424, allocations: 318.8 kB / 0.5024 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00093/0.1433, allocations: 0.8051 MB / 0.5032 GB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1433, allocations: 0 / 0.5032 GB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1433, allocations: 0 / 0.5032 GB, free: 9.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1433, allocations: 0 / 0.5032 GB, free: 9.828 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.001692/0.145, allocations: 1.136 MB / 0.5043 GB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1451, allocations: 8.031 kB / 0.5043 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.1452, allocations: 108.4 kB / 0.5044 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.1461, allocations: 462.5 kB / 0.5049 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.1461, allocations: 49.38 kB / 0.5049 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.1463, allocations: 72.36 kB / 0.505 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.1476, allocations: 0.8758 MB / 0.5059 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.1476, allocations: 0 / 0.5059 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/0.1477, allocations: 28 kB / 0.5059 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.1477, allocations: 19.94 kB / 0.5059 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1488, allocations: 0.6567 MB / 0.5065 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/0.1513, allocations: 1.348 MB / 0.5079 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.152, allocations: 427.5 kB / 0.5083 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.1525, allocations: 362.6 kB / 0.5086 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1525, allocations: 4 kB / 0.5086 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009079/0.1534, allocations: 0.6995 MB / 0.5093 GB, free: 3.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 1.763e-06/0.1534, allocations: 0 / 0.5093 GB, free: 3.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.002439/0.1558, allocations: 1.614 MB / 0.5109 GB, free: 1.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003183/0.1561, allocations: 419.8 kB / 0.5113 GB, free: 1.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007265/0.1569, allocations: 0.5846 MB / 0.5118 GB, free: 440 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.1569, allocations: 49.69 kB / 0.5119 GB, free: 384 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2841/0.441, allocations: 382.8 kB / 0.5123 GB, free: 23.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.4413, allocations: 184.9 kB / 0.5124 GB, free: 23.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.4416, allocations: 195 kB / 0.5126 GB, free: 23.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4417, allocations: 387.2 kB / 0.513 GB, free: 23.19 MB / 382.1 MB [/var/lib/jenkins/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: 3.053763996809721] Failed to read output from testmodel.py, exit status != 0: 0.45084165409207344 0.46256892400000005 0.316459775 Calling exit ...