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.001342/0.001342, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001902/0.001902, allocations: 160.4 kB / 22.46 MB, free: 5.375 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.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.16 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.06397/0.06397, allocations: 8.601 MB / 267.8 MB, free: 8.559 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: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 395.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.706e-05, allocations: 2.281 kB / 395.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003678/0.003705, allocations: 2.22 MB / 397.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004892, allocations: 499.5 kB / 398.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/0.0052, allocations: 15.81 kB / 398.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.005485, allocations: 67.27 kB / 398.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.00567, allocations: 43.55 kB / 398.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008614/0.006532, allocations: 295.3 kB / 398.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009734/0.007505, allocations: 0.6284 MB / 399.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.007711, allocations: 49.5 kB / 399.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005003/0.008212, allocations: 295.3 kB / 399.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.008598, allocations: 195.4 kB / 399.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.008729, allocations: 48 kB / 399.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.859e-05/0.008817, allocations: 44 kB / 399.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.008988, allocations: 127.5 kB / 400.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.009256, allocations: 179.5 kB / 400.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007054/0.009962, allocations: 0.5296 MB / 400.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.009966, allocations: 0 / 400.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009967, allocations: 4 kB / 400.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.668e-05/0.009994, allocations: 0 / 400.8 MB, free: 1.438 MB / 318.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.001627/0.01162, allocations: 0.8161 MB / 401.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.01166, allocations: 12.03 kB / 401.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.01182, allocations: 68.56 kB / 401.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.01247, allocations: 344.5 kB / 402 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.01251, allocations: 33.38 kB / 402 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.01262, allocations: 48.38 kB / 402.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.01373, allocations: 0.5959 MB / 402.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.01376, allocations: 12.14 kB / 402.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/0.01381, allocations: 16.38 kB / 402.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.01382, allocations: 12.38 kB / 402.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008604/0.01469, allocations: 479 kB / 403.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.01709, allocations: 1.119 MB / 404.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/0.01776, allocations: 301 kB / 404.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.01817, allocations: 249.2 kB / 404.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.01819, allocations: 4 kB / 404.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006567/0.01885, allocations: 443.1 kB / 405.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.01885, allocations: 0 / 405.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001825/0.02067, allocations: 0.9615 MB / 406.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.02084, allocations: 223.9 kB / 406.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.02134, allocations: 409.4 kB / 406.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.02139, allocations: 41.7 kB / 406.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.02164, allocations: 272.3 kB / 407.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.02181, allocations: 146.8 kB / 407.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.02199, allocations: 134.3 kB / 407.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.02218, allocations: 366.8 kB / 407.8 MB, free: 10.06 MB / 334.1 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: 2.419810928404331] Failed to read output from testmodel.py, exit status != 0: 0.03138091042637825 0.047367545000000004 0.03408429 Calling exit ...