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.001076/0.001076, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 192.5 kB / 16.79 MB, free: 6.812 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.667/1.667, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05816/0.05815, allocations: 10.75 MB / 280.7 MB, free: 10.74 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.001632/0.001632, allocations: 63.91 kB / 340.5 MB, free: 23.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1096, allocations: 49.02 MB / 389.5 MB, free: 6.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003091/0.1128, allocations: 1.806 MB / 391.3 MB, free: 4.891 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1138, allocations: 0.5064 MB / 391.8 MB, free: 4.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.1139, allocations: 4 kB / 391.8 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.1141, allocations: 27.8 kB / 391.9 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.906e-05/0.1142, allocations: 19.8 kB / 391.9 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.1148, allocations: 231.6 kB / 392.1 MB, free: 4.105 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.1153, allocations: 0.4991 MB / 392.6 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.1155, allocations: 32.73 kB / 392.6 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.1157, allocations: 163.5 kB / 392.8 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.116, allocations: 191.2 kB / 393 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.116, allocations: 16 kB / 393 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1162, allocations: 51.91 kB / 393 MB, free: 3.164 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1163, allocations: 131.7 kB / 393.2 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.1165, allocations: 162.9 kB / 393.3 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.1168, allocations: 267.5 kB / 393.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1168, allocations: 0 / 393.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1168, allocations: 0 / 393.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1168, allocations: 0 / 393.6 MB, free: 2.613 MB / 286.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.001325/0.1182, allocations: 0.7374 MB / 394.3 MB, free: 1.824 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1182, allocations: 8.031 kB / 394.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.776e-05/0.1183, allocations: 44.38 kB / 394.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.1188, allocations: 359.9 kB / 394.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.1189, allocations: 24.92 kB / 394.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.1189, allocations: 24.38 kB / 394.8 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006546/0.1196, allocations: 373.2 kB / 395.1 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1196, allocations: 8.188 kB / 395.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.1197, allocations: 11.92 kB / 395.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1197, allocations: 8 kB / 395.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.1202, allocations: 274 kB / 395.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.1219, allocations: 0.9901 MB / 396.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.1225, allocations: 318.7 kB / 396.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.1228, allocations: 144.8 kB / 396.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1228, allocations: 4 kB / 396.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004027/0.1232, allocations: 263 kB / 397.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.033e-06/0.1232, allocations: 0 / 397.1 MB, free: 14.89 MB / 302.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[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; 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[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed