Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO.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.001403/0.001403, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0017/0.0017, allocations: 177 kB / 23.49 MB, free: 1.059 MB / 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.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.04264/0.04264, allocations: 8.613 MB / 268.9 MB, free: 4.98 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.Digital.Examples.TestPID_TDO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO") translateModel(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 340.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.861e-05, allocations: 5.125 kB / 340.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.002615/0.002634, allocations: 2.291 MB / 343.2 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008405/0.003475, allocations: 483.5 kB / 343.7 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.003641, allocations: 19.81 kB / 343.7 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.003843, allocations: 71.25 kB / 343.8 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.003921, allocations: 35.56 kB / 343.8 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.004388, allocations: 303.3 kB / 344.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000414/0.004802, allocations: 0.6208 MB / 344.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.004927, allocations: 49.48 kB / 344.8 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.005089, allocations: 291.4 kB / 345 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.005276, allocations: 191.4 kB / 345.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.00533, allocations: 48 kB / 345.3 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.6e-05/0.005366, allocations: 44 kB / 345.3 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.005453, allocations: 135.5 kB / 345.4 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.005574, allocations: 175.6 kB / 345.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.005881, allocations: 402.5 kB / 346 MB, free: 3.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.005885, allocations: 3.984 kB / 346 MB, free: 3.578 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005886, allocations: 0 / 346 MB, free: 3.578 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.005892, allocations: 0 / 346 MB, free: 3.578 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0007793/0.006671, allocations: 0.9161 MB / 346.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.006714, allocations: 8.031 kB / 346.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.006826, allocations: 112.6 kB / 347.1 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.007163, allocations: 355.3 kB / 347.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.007194, allocations: 33.38 kB / 347.4 MB, free: 2.086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.007246, allocations: 60.36 kB / 347.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.007691, allocations: 495 kB / 348 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.007707, allocations: 192 / 348 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.007739, allocations: 28.31 kB / 348 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.00775, allocations: 8.375 kB / 348 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.00803, allocations: 317.2 kB / 348.3 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.009101, allocations: 1.068 MB / 349.4 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.009462, allocations: 246.7 kB / 349.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.009631, allocations: 180.1 kB / 349.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.00964, allocations: 4 kB / 349.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.009961, allocations: 394.5 kB / 350.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.152e-06/0.009962, allocations: 0 / 350.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008509/0.01081, allocations: 0.8355 MB / 351 MB, free: 14.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.076e-05/0.0109, allocations: 215.8 kB / 351.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.01119, allocations: 442.4 kB / 351.7 MB, free: 13.56 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.01122, allocations: 37.7 kB / 351.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.01137, allocations: 315.2 kB / 352 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.639e-05/0.01145, allocations: 154.8 kB / 352.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.01157, allocations: 139.9 kB / 352.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.01172, allocations: 0.543 MB / 352.8 MB, free: 12.36 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1248:5-1248:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable Controller.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: 1.7847192010376602]