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.00135/0.00135, 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.002977/0.002977, allocations: 213.2 kB / 22.24 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 8.059 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.06736/0.06736, allocations: 11.33 MB / 323.8 MB, free: 8.117 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.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: 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.002456/0.002456, allocations: 67.89 kB / 451.5 MB, free: 9.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1701, allocations: 56.07 MB / 0.4956 GB, free: 1.711 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.005314/0.1755, allocations: 2.221 MB / 0.4978 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1771, allocations: 491.5 kB / 0.4983 GB, free: 15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002602/0.1773, allocations: 15.81 kB / 0.4983 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.1777, allocations: 71.27 kB / 0.4984 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1779, allocations: 35.55 kB / 0.4984 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009358/0.1788, allocations: 263.5 kB / 0.4986 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1801, allocations: 0.7224 MB / 0.4993 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.1804, allocations: 69.47 kB / 0.4994 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.1808, allocations: 239.2 kB / 0.4996 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.1813, allocations: 230.9 kB / 0.4999 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.1815, allocations: 48 kB / 0.4999 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1816, allocations: 44 kB / 0.4999 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.1818, allocations: 135.5 kB / 0.5001 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.1822, allocations: 214.9 kB / 0.5003 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008779/0.1831, allocations: 0.5134 MB / 0.5008 GB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1831, allocations: 7.875 kB / 0.5008 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1831, allocations: 7.938 kB / 0.5008 GB, free: 12.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1831, allocations: 3.984 kB / 0.5008 GB, free: 12.39 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002018/0.1851, allocations: 0.8084 MB / 0.5016 GB, free: 11.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1851, allocations: 12.03 kB / 0.5016 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.1853, allocations: 76.52 kB / 0.5017 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009368/0.1863, allocations: 337.4 kB / 0.502 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/0.1863, allocations: 41.31 kB / 0.502 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.1865, allocations: 52.33 kB / 0.5021 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.188, allocations: 0.5959 MB / 0.5027 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.1881, allocations: 4.188 kB / 0.5027 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-05/0.1881, allocations: 23.94 kB / 0.5027 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.1882, allocations: 11.94 kB / 0.5027 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.1895, allocations: 479.1 kB / 0.5032 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.193, allocations: 1.118 MB / 0.5043 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.1941, allocations: 298.3 kB / 0.5045 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/0.1947, allocations: 245 kB / 0.5048 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1948, allocations: 4 kB / 0.5048 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.1958, allocations: 441 kB / 0.5052 GB, free: 7.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 3.227e-06/0.1958, allocations: 0 / 0.5052 GB, free: 7.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.002837/0.1987, allocations: 0.9643 MB / 0.5061 GB, free: 6.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/0.1989, allocations: 223.9 kB / 0.5064 GB, free: 6.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007255/0.1996, allocations: 409.3 kB / 0.5067 GB, free: 5.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.1997, allocations: 45.7 kB / 0.5068 GB, free: 5.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.2, allocations: 272.4 kB / 0.507 GB, free: 5.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.2002, allocations: 150.8 kB / 0.5072 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.2005, allocations: 130.3 kB / 0.5073 GB, free: 5.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000283/0.2008, allocations: 362.8 kB / 0.5077 GB, free: 5.012 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 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: 3.056062052026391] Failed to read output from testmodel.py, exit status != 0: 0.21265581995248795 0.51292855 0.326747942 Calling exit ...