Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.001501, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06004/0.06004, allocations: 10.66 MB / 18.73 MB, free: 1.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.3 MB / 226.9 MB, free: 7.973 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 98.42 kB / 277.3 MB, free: 5.508 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.578e-05, allocations: 3.984 kB / 333.5 MB, free: 28.52 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 50 MB / 383.5 MB, free: 10.47 MB / 282.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4657/0.608, allocations: 80.49 MB / 464 MB, free: 4.434 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.6083, allocations: 73.83 kB / 464.1 MB, free: 4.395 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02036/0.6287, allocations: 7.33 MB / 471.4 MB, free: 14.1 MB / 346.8 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6288, allocations: 4 kB / 471.4 MB, free: 14.09 MB / 346.8 MB Notification: Performance of Transformations before backend: time 5.078e-05/0.6288, allocations: 15.98 kB / 471.4 MB, free: 14.08 MB / 346.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001758/0.6306, allocations: 0.8649 MB / 472.3 MB, free: 13.2 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6306, allocations: 11.97 kB / 472.3 MB, free: 13.19 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.6309, allocations: 75.16 kB / 472.4 MB, free: 13.11 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.6321, allocations: 0.517 MB / 472.9 MB, free: 12.61 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/0.6322, allocations: 51 kB / 473 MB, free: 12.55 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.6323, allocations: 42.91 kB / 473 MB, free: 12.51 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006235/0.6329, allocations: 354.4 kB / 473.3 MB, free: 12.28 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.6338, allocations: 0.5781 MB / 473.9 MB, free: 11.79 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.6338, allocations: 4 kB / 473.9 MB, free: 11.79 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/0.6339, allocations: 8 kB / 473.9 MB, free: 11.78 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.6339, allocations: 15.98 kB / 473.9 MB, free: 11.76 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.6367, allocations: 1.679 MB / 475.6 MB, free: 10.3 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.6374, allocations: 435.8 kB / 476.1 MB, free: 10.07 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.6378, allocations: 318.2 kB / 476.4 MB, free: 9.926 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.6378, allocations: 7.938 kB / 476.4 MB, free: 9.918 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004267/0.6383, allocations: 292.2 kB / 476.7 MB, free: 9.688 MB / 346.8 MB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/0.6383, allocations: 0 / 476.7 MB, free: 9.688 MB / 346.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:307:7-307:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Sorry - Support for Discrete Equation Systems is not yet implemented) R_disc.cs R_disc.satin R_disc.satDiff R_disc.Iaction when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:317:7-317:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R_disc.cs R_disc.satin R_disc.satDiff R_disc.Iaction equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:321:7-321:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7358:5-7358:89:writable] Error: Internal error Transformation module sort components failed