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.01105/0.01105, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.002192/0.002192, allocations: 197.5 kB / 16.67 MB, free: 5.973 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.793/1.793, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05758/0.05758, allocations: 10.73 MB / 280.6 MB, free: 10.44 MB / 238.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.001459/0.001459, allocations: 63.91 kB / 390.8 MB, free: 5.043 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.425, allocations: 49.02 MB / 439.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003507/0.4286, allocations: 1.756 MB / 441.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.4298, allocations: 0.4967 MB / 442.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.02e-05/0.4299, allocations: 2.75 kB / 442.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.4301, allocations: 38.5 kB / 442.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.4302, allocations: 29.38 kB / 442.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.431, allocations: 247.5 kB / 442.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007072/0.4317, allocations: 0.5352 MB / 442.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.4319, allocations: 36.28 kB / 443 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.4321, allocations: 180.8 kB / 443.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.4325, allocations: 202.3 kB / 443.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.056e-05/0.4326, allocations: 26.44 kB / 443.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.4327, allocations: 56.19 kB / 443.4 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.4329, allocations: 152.8 kB / 443.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.4331, allocations: 169.5 kB / 443.8 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.4336, allocations: 382.2 kB / 444.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4337, allocations: 4 kB / 444.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4337, allocations: 0 / 444.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.4337, allocations: 1.312 kB / 444.1 MB, free: 2.879 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.00131/0.435, allocations: 0.7249 MB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4351, allocations: 13.61 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.925e-05/0.4352, allocations: 45.33 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.4356, allocations: 361.5 kB / 445.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.4357, allocations: 21.84 kB / 445.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/0.4357, allocations: 28.34 kB / 445.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.4365, allocations: 366.8 kB / 445.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.4365, allocations: 1.969 kB / 445.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.4365, allocations: 21.05 kB / 445.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.4366, allocations: 5.406 kB / 445.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006613/0.4372, allocations: 273.2 kB / 446 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.4394, allocations: 0.9875 MB / 447 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/0.4402, allocations: 314.8 kB / 447.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.4405, allocations: 152.2 kB / 447.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4405, allocations: 3.938 kB / 447.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004277/0.4409, allocations: 273.1 kB / 447.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.4409, allocations: 4 kB / 447.7 MB, free: 0.7305 MB / 318.1 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[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/jenkins/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/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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed