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.000765/0.000765, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008047/0.0008047, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.901/0.901, allocations: 177.1 MB / 203.5 MB, free: 5.398 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.04767/0.04767, allocations: 8.613 MB / 268.6 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 1.052e-06/1.052e-06, allocations: 0 / 396.3 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.85e-05, allocations: 6.219 kB / 396.3 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.002288/0.002306, allocations: 2.232 MB / 398.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006316/0.002938, allocations: 487.5 kB / 399 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.003045, allocations: 15.81 kB / 399.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.003175, allocations: 71.27 kB / 399.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.003246, allocations: 39.55 kB / 399.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.003629, allocations: 299.3 kB / 399.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.004059, allocations: 0.6245 MB / 400.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.004163, allocations: 53.48 kB / 400.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.004349, allocations: 291.4 kB / 400.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.004527, allocations: 195.4 kB / 400.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.004574, allocations: 44 kB / 400.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.914e-05/0.004613, allocations: 52 kB / 400.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.0047, allocations: 127.5 kB / 400.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.004823, allocations: 175.5 kB / 401 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.00518, allocations: 0.5335 MB / 401.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005182, allocations: 4 kB / 401.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005183, allocations: 0 / 401.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.005188, allocations: 3.938 kB / 401.5 MB, free: 11.74 MB / 330.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.0007013/0.005889, allocations: 0.8123 MB / 402.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.514e-05/0.005914, allocations: 12.02 kB / 402.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.005982, allocations: 68.56 kB / 402.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.006313, allocations: 348.5 kB / 402.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.006336, allocations: 29.38 kB / 402.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/0.006387, allocations: 56.38 kB / 402.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.006949, allocations: 0.592 MB / 403.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.006964, allocations: 4.141 kB / 403.5 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.006995, allocations: 24.38 kB / 403.5 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.007006, allocations: 8.375 kB / 403.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.007472, allocations: 479.1 kB / 404 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.008726, allocations: 1.119 MB / 405.1 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.009158, allocations: 302.3 kB / 405.4 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.009668, allocations: 241.2 kB / 405.6 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.009679, allocations: 4 kB / 405.6 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.01006, allocations: 443 kB / 406 MB, free: 7.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 1.032e-06/0.01006, allocations: 0 / 406 MB, free: 7.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.001045/0.0111, allocations: 0.9642 MB / 407 MB, free: 6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.01119, allocations: 223.9 kB / 407.2 MB, free: 5.738 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.01147, allocations: 413.3 kB / 407.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.01149, allocations: 41.7 kB / 407.7 MB, free: 5.281 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.01163, allocations: 268.4 kB / 407.9 MB, free: 5.016 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.01171, allocations: 146.8 kB / 408.1 MB, free: 4.871 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.01182, allocations: 134.3 kB / 408.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.01193, allocations: 366.8 kB / 408.6 MB, free: 4.367 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1220:5-1220: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.8082934757694602] Failed to read output from testmodel.py, exit status != 0: 0.016159859485924244 0.20483093599999996 0.19779984799999994 Calling exit ...