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.001221/0.001221, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001301/0.001301, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05324/0.05324, allocations: 10.75 MB / 281.1 MB, free: 10.57 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.0007116/0.0007117, allocations: 18.97 kB / 341.6 MB, free: 23.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0858/0.08653, allocations: 50 MB / 391.6 MB, free: 5.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.001825/0.0884, allocations: 1.429 MB / 393 MB, free: 4.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009155/0.08934, allocations: 0.4987 MB / 393.5 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.08947, allocations: 0 / 393.5 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.08965, allocations: 27.8 kB / 393.5 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.44e-05/0.08975, allocations: 23.84 kB / 393.6 MB, free: 3.832 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.09038, allocations: 199.6 kB / 393.8 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.09084, allocations: 307.3 kB / 394.1 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.09097, allocations: 32.72 kB / 394.1 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.09124, allocations: 159.5 kB / 394.2 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.0915, allocations: 175.4 kB / 394.4 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.09156, allocations: 16 kB / 394.4 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.09167, allocations: 31.98 kB / 394.5 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.09183, allocations: 135.7 kB / 394.6 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.09193, allocations: 77.5 kB / 394.7 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.09222, allocations: 275.5 kB / 394.9 MB, free: 2.449 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.09223, allocations: 0 / 394.9 MB, free: 2.449 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09223, allocations: 0 / 394.9 MB, free: 2.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.09225, allocations: 4 kB / 394.9 MB, free: 2.445 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.001085/0.09334, allocations: 0.6483 MB / 395.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.09338, allocations: 8.031 kB / 395.6 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.329e-05/0.09348, allocations: 51.44 kB / 395.7 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.09394, allocations: 350.9 kB / 396 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.09398, allocations: 24.55 kB / 396 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.09405, allocations: 20 kB / 396 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/0.09462, allocations: 372.6 kB / 396.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.09465, allocations: 4 kB / 396.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.09469, allocations: 15.94 kB / 396.4 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.0947, allocations: 7.938 kB / 396.4 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.09516, allocations: 278.1 kB / 396.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.09688, allocations: 0.9902 MB / 397.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.09745, allocations: 311 kB / 398 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.09748, allocations: 8 kB / 398 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003703/0.09786, allocations: 247.2 kB / 398.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 3.487e-06/0.09787, allocations: 4 kB / 398.2 MB, free: 14.97 MB / 302.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[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/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[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/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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed