Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction.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.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009728/0.0009729, allocations: 179.8 kB / 16.12 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06052/0.06052, allocations: 10.76 MB / 27.62 MB, free: 1.477 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 236.2 MB, free: 10.15 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008747/0.0008747, allocations: 94.31 kB / 287 MB, free: 12.38 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006101/0.0006102, allocations: 12 kB / 347.6 MB, free: 15.62 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3653, allocations: 50 MB / 397.6 MB, free: 34.59 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.4726, allocations: 78.19 MB / 475.8 MB, free: 4.289 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.4729, allocations: 71.97 kB / 475.9 MB, free: 4.219 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.0129/0.4858, allocations: 4.783 MB / 480.7 MB, free: 15.41 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4858, allocations: 4 kB / 480.7 MB, free: 15.41 MB / 362.8 MB Notification: Performance of Transformations before backend: time 4.236e-05/0.4859, allocations: 12.16 kB / 480.7 MB, free: 15.4 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001158/0.4871, allocations: 0.6446 MB / 481.3 MB, free: 14.7 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4871, allocations: 8.031 kB / 481.3 MB, free: 14.7 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.4872, allocations: 48.36 kB / 481.4 MB, free: 14.65 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.4878, allocations: 391.8 kB / 481.8 MB, free: 14.23 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.4878, allocations: 20.92 kB / 481.8 MB, free: 14.21 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.4879, allocations: 24.38 kB / 481.8 MB, free: 14.18 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.4886, allocations: 438.5 kB / 482.2 MB, free: 13.73 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.4887, allocations: 4.094 kB / 482.2 MB, free: 13.73 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.4887, allocations: 19.92 kB / 482.3 MB, free: 13.71 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.4887, allocations: 4 kB / 482.3 MB, free: 13.71 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.4893, allocations: 278 kB / 482.5 MB, free: 13.43 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.4911, allocations: 0.9784 MB / 483.5 MB, free: 12.41 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.4918, allocations: 315.1 kB / 483.8 MB, free: 12.09 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.492, allocations: 148.8 kB / 484 MB, free: 11.94 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.4921, allocations: 4 kB / 484 MB, free: 11.94 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004175/0.4925, allocations: 267 kB / 484.2 MB, free: 11.66 MB / 362.8 MB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.4925, allocations: 0 / 484.2 MB, free: 11.66 MB / 362.8 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) tf_TU.Y[1] tf_TU.w tf_TU.Y[2] tf_TU.Y[3] when $whenCondition1 then tf_TU.w := tf_TU.num[1] * tf_TU.U[1] + tf_TU.num[2] * tf_TU.U[2] + (-tf_TU.b[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; end when; when $whenCondition1 then tf_TU.Y[3] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(0.5, tf_TU.Y[2], pre(tf_TU.Y[2]), pre(tf_TU.Y[3]), tf_TU.Ts, 1.0); end when; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; end when; when $whenCondition1 then tf_TU.Y[1] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fDerivator(1.0, tf_TU.w, pre(tf_TU.w), pre(tf_TU.Y[1]), tf_TU.Ts, 1.0); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: tf_TU.Y[1] tf_TU.w tf_TU.Y[2] tf_TU.Y[3] equations: when $whenCondition1 then tf_TU.w := tf_TU.num[1] * tf_TU.U[1] + tf_TU.num[2] * tf_TU.U[2] + (-tf_TU.b[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; end when; when $whenCondition1 then tf_TU.Y[3] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(0.5, tf_TU.Y[2], pre(tf_TU.Y[2]), pre(tf_TU.Y[3]), tf_TU.Ts, 1.0); end when; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; end when; when $whenCondition1 then tf_TU.Y[1] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fDerivator(1.0, tf_TU.w, pre(tf_TU.w), pre(tf_TU.Y[1]), tf_TU.Ts, 1.0); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed