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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 108.1 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05679/0.05679, allocations: 10.74 MB / 281.3 MB, free: 1.297 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 79.88 kB / 342 MB, free: 4.453 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2234, allocations: 49 MB / 391 MB, free: 49.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002864/0.2263, allocations: 1.759 MB / 392.7 MB, free: 48.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.2272, allocations: 0.5011 MB / 393.2 MB, free: 48.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.2273, allocations: 10.5 kB / 393.3 MB, free: 48.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.2275, allocations: 39.39 kB / 393.3 MB, free: 48.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.278e-05/0.2276, allocations: 24.2 kB / 393.3 MB, free: 48.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006418/0.2282, allocations: 254.8 kB / 393.6 MB, free: 48.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005715/0.2288, allocations: 0.5304 MB / 394.1 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.229, allocations: 32.58 kB / 394.1 MB, free: 48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.2292, allocations: 192.1 kB / 394.3 MB, free: 47.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.2295, allocations: 197.3 kB / 394.5 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.2296, allocations: 27.75 kB / 394.5 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2297, allocations: 56.12 kB / 394.6 MB, free: 47.83 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.2299, allocations: 148.7 kB / 394.7 MB, free: 47.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.23, allocations: 163.8 kB / 394.9 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.2304, allocations: 386.8 kB / 395.3 MB, free: 47.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2305, allocations: 4.75 kB / 395.3 MB, free: 47.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2305, allocations: 0 / 395.3 MB, free: 47.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.2305, allocations: 0 / 395.3 MB, free: 47.5 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001181/0.2317, allocations: 0.7171 MB / 396 MB, free: 46.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2317, allocations: 14.52 kB / 396 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.2318, allocations: 44.36 kB / 396 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.2322, allocations: 360.6 kB / 396.4 MB, free: 46.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.2323, allocations: 22.92 kB / 396.4 MB, free: 46.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.2323, allocations: 28.5 kB / 396.4 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.233, allocations: 367.3 kB / 396.8 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.233, allocations: 8.656 kB / 396.8 MB, free: 46.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.233, allocations: 18.33 kB / 396.8 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.2331, allocations: 5.438 kB / 396.8 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.2335, allocations: 272.5 kB / 397.1 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.2353, allocations: 0.988 MB / 398.1 MB, free: 45.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.2359, allocations: 311.8 kB / 398.4 MB, free: 45.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.2361, allocations: 149.2 kB / 398.5 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.2362, allocations: 7.484 kB / 398.6 MB, free: 45.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003553/0.2365, allocations: 261.9 kB / 398.8 MB, free: 45.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.375e-06/0.2365, allocations: 0 / 398.8 MB, free: 45.47 MB / 318.1 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[3] tf_TU.Y[2] tf_TU.w tf_TU.Y[1] 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[1]) * tf_TU.Y[1] - tf_TU.b[3] * tf_TU.Y[3]; 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; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; 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; [/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[3] tf_TU.Y[2] tf_TU.w tf_TU.Y[1] 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[1]) * tf_TU.Y[1] - tf_TU.b[3] * tf_TU.Y[3]; 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; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; 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; [/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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed