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.001055/0.001055, allocations: 173.2 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05659/0.05659, allocations: 10.65 MB / 23.92 MB, free: 1.609 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.796/1.796, allocations: 205.2 MB / 232.1 MB, free: 12.84 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.0008741/0.000874, allocations: 93.39 kB / 282.6 MB, free: 13.59 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 4.731e-05/4.734e-05, allocations: 0 / 340.5 MB, free: 3.637 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2685, allocations: 49.98 MB / 390.5 MB, free: 35.74 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.3699, allocations: 78.07 MB / 468.5 MB, free: 5.559 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.3701, allocations: 71.97 kB / 468.6 MB, free: 5.488 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.0129/0.383, allocations: 4.766 MB / 473.4 MB, free: 0.7031 MB / 346.8 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3831, allocations: 0 / 473.4 MB, free: 0.7031 MB / 346.8 MB Notification: Performance of Transformations before backend: time 2.773e-05/0.3831, allocations: 12 kB / 473.4 MB, free: 0.6914 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008998/0.384, allocations: 0.605 MB / 474 MB, free: 44 kB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3841, allocations: 8.031 kB / 474 MB, free: 36 kB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.3842, allocations: 52.38 kB / 474 MB, free: 15.98 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.3848, allocations: 379.8 kB / 474.4 MB, free: 15.57 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.3848, allocations: 16.55 kB / 474.4 MB, free: 15.55 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.3849, allocations: 28 kB / 474.5 MB, free: 15.53 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.3856, allocations: 414.1 kB / 474.9 MB, free: 15.1 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.3856, allocations: 4 kB / 474.9 MB, free: 15.1 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.3857, allocations: 11.98 kB / 474.9 MB, free: 15.09 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3857, allocations: 11.94 kB / 474.9 MB, free: 15.07 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.3861, allocations: 258.1 kB / 475.1 MB, free: 14.82 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.388, allocations: 0.9825 MB / 476.1 MB, free: 13.79 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.3885, allocations: 303.8 kB / 476.4 MB, free: 13.48 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.3887, allocations: 140.8 kB / 476.6 MB, free: 13.34 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.3888, allocations: 0 / 476.6 MB, free: 13.34 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.3892, allocations: 255 kB / 476.8 MB, free: 13.08 MB / 362.8 MB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.3892, allocations: 0 / 476.8 MB, free: 13.08 MB / 362.8 MB [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7819:5-7819:89:writable] Error: Internal error Transformation module sort components failed