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.00149/0.00149, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002538/0.002538, allocations: 156.1 kB / 23 MB, free: 4.602 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.583/1.583, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.06159/0.06159, allocations: 8.614 MB / 268.4 MB, free: 8.555 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.002603/0.002603, allocations: 67.91 kB / 396.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1236, allocations: 56.05 MB / 452.1 MB, free: 15.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003788/0.1274, allocations: 2.228 MB / 454.3 MB, free: 13.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1285, allocations: 487.6 kB / 454.8 MB, free: 13.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.1287, allocations: 19.81 kB / 454.8 MB, free: 13.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.129, allocations: 67.25 kB / 454.9 MB, free: 12.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1291, allocations: 39.56 kB / 454.9 MB, free: 12.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007099/0.1298, allocations: 267.5 kB / 455.2 MB, free: 12.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.131, allocations: 0.7223 MB / 455.9 MB, free: 11.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.1312, allocations: 57.48 kB / 456 MB, free: 11.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003775/0.1315, allocations: 239.3 kB / 456.2 MB, free: 11.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.1319, allocations: 234.8 kB / 456.4 MB, free: 11.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.1321, allocations: 44 kB / 456.5 MB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.1321, allocations: 52 kB / 456.5 MB, free: 11.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1323, allocations: 127.5 kB / 456.7 MB, free: 11.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.1326, allocations: 214.9 kB / 456.9 MB, free: 11.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006564/0.1333, allocations: 0.5211 MB / 457.4 MB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1333, allocations: 0 / 457.4 MB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1333, allocations: 0 / 457.4 MB, free: 10.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1333, allocations: 0 / 457.4 MB, free: 10.48 MB / 430.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.001485/0.1348, allocations: 0.824 MB / 458.2 MB, free: 9.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1348, allocations: 8.031 kB / 458.2 MB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.1349, allocations: 68.56 kB / 458.3 MB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.1356, allocations: 349.3 kB / 458.6 MB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/0.1356, allocations: 37.36 kB / 458.7 MB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-05/0.1357, allocations: 52.38 kB / 458.7 MB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.1368, allocations: 0.5882 MB / 459.3 MB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.1368, allocations: 192 / 459.3 MB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-05/0.1368, allocations: 31.92 kB / 459.3 MB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1369, allocations: 8 kB / 459.4 MB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008815/0.1377, allocations: 475.1 kB / 459.8 MB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.1401, allocations: 1.115 MB / 460.9 MB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.1408, allocations: 306.3 kB / 461.2 MB, free: 6.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/0.1412, allocations: 249.3 kB / 461.5 MB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1412, allocations: 7.906 kB / 461.5 MB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006506/0.1419, allocations: 439.2 kB / 461.9 MB, free: 5.746 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 1.543e-06/0.1419, allocations: 0 / 461.9 MB, free: 5.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=50): time 0.001821/0.1437, allocations: 0.9835 MB / 462.9 MB, free: 4.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.1439, allocations: 219.9 kB / 463.1 MB, free: 4.461 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.1443, allocations: 405.4 kB / 463.5 MB, free: 4.055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.1444, allocations: 45.7 kB / 463.6 MB, free: 4.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.1446, allocations: 268.4 kB / 463.8 MB, free: 3.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.1448, allocations: 150.8 kB / 464 MB, free: 3.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.1449, allocations: 134.3 kB / 464.1 MB, free: 3.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1452, allocations: 362.8 kB / 464.4 MB, free: 3.09 MB / 430.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 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: 2.687329284963198] Failed to read output from testmodel.py, exit status != 0: 0.15484652505256236 0.17096061199999996 0.034348852 Calling exit ...