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.001289/0.001289, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001461/0.001461, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.06468/0.06468, allocations: 11.33 MB / 324.5 MB, free: 8.277 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.001945/0.001945, allocations: 67.91 kB / 452.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1095, allocations: 56.06 MB / 0.4964 GB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003687/0.1132, allocations: 2.381 MB / 0.4988 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1142, allocations: 495.5 kB / 0.4992 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.1143, allocations: 11.88 kB / 0.4993 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.1145, allocations: 67.27 kB / 0.4993 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.1147, allocations: 39.55 kB / 0.4994 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.1153, allocations: 279.4 kB / 0.4996 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009318/0.1162, allocations: 0.7379 MB / 0.5003 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.1164, allocations: 61.47 kB / 0.5004 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.1167, allocations: 235.3 kB / 0.5006 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.1171, allocations: 254.8 kB / 0.5009 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/0.1171, allocations: 48 kB / 0.5009 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.775e-05/0.1172, allocations: 48 kB / 0.501 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.1174, allocations: 127.5 kB / 0.5011 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.1177, allocations: 270.5 kB / 0.5013 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.1182, allocations: 0.5134 MB / 0.5018 GB, free: 12.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1182, allocations: 0 / 0.5018 GB, free: 12.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1182, allocations: 0 / 0.5018 GB, free: 12.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.1183, allocations: 0 / 0.5018 GB, free: 12.34 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.001464/0.1197, allocations: 0.8223 MB / 0.5026 GB, free: 11.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1198, allocations: 12.03 kB / 0.5027 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.1199, allocations: 68.52 kB / 0.5027 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006295/0.1206, allocations: 345.3 kB / 0.5031 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.1206, allocations: 33.38 kB / 0.5031 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.1207, allocations: 60.31 kB / 0.5031 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009251/0.1217, allocations: 0.495 MB / 0.5036 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1217, allocations: 4.188 kB / 0.5036 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/0.1217, allocations: 23.94 kB / 0.5037 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1218, allocations: 8 kB / 0.5037 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.1225, allocations: 379.8 kB / 0.504 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.1251, allocations: 1.305 MB / 0.5053 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.1257, allocations: 210.9 kB / 0.5055 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.1261, allocations: 161.7 kB / 0.5057 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1261, allocations: 8 kB / 0.5057 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005702/0.1267, allocations: 347.4 kB / 0.506 GB, free: 7.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.803e-06/0.1267, allocations: 4 kB / 0.506 GB, free: 7.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.001582/0.1282, allocations: 0.8288 MB / 0.5068 GB, free: 7.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.1284, allocations: 215.9 kB / 0.507 GB, free: 6.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.1289, allocations: 461.6 kB / 0.5075 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.129, allocations: 41.7 kB / 0.5075 GB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.1292, allocations: 260.6 kB / 0.5077 GB, free: 6.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.1293, allocations: 150.8 kB / 0.5079 GB, free: 5.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.1295, allocations: 130.3 kB / 0.508 GB, free: 5.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.1297, allocations: 374.7 kB / 0.5084 GB, free: 5.383 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1212:5-1212: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.658126549096778] Failed to read output from testmodel.py, exit status != 0: 0.13775675487704575 0.322318445 0.201438376 Calling exit ...