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: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009601/0.009601, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001612/0.001612, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.507/1.507, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05854/0.05854, allocations: 10.76 MB / 280.7 MB, free: 10.39 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.001711/0.001711, allocations: 72.52 kB / 390.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3517, allocations: 49.01 MB / 439.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.004441/0.3562, allocations: 1.756 MB / 441.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.358, allocations: 0.4933 MB / 441.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003558/0.3584, allocations: 10.09 kB / 441.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.3588, allocations: 31.25 kB / 441.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.3591, allocations: 33.19 kB / 441.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3604, allocations: 251.7 kB / 441.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008737/0.3613, allocations: 0.5316 MB / 442.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.3614, allocations: 32.11 kB / 442.5 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.3617, allocations: 189.1 kB / 442.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.362, allocations: 190.7 kB / 442.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.3621, allocations: 31.12 kB / 442.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3622, allocations: 63.31 kB / 443 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.3624, allocations: 149.2 kB / 443.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.3626, allocations: 163.7 kB / 443.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.3631, allocations: 394.8 kB / 443.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3631, allocations: 0 / 443.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3631, allocations: 0 / 443.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3631, allocations: 5.625 kB / 443.7 MB, free: 2.605 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.00125/0.3644, allocations: 0.7266 MB / 444.4 MB, free: 2.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3644, allocations: 13.64 kB / 444.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.424e-05/0.3645, allocations: 65.47 kB / 444.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.71e-05/0.3646, allocations: 45.89 kB / 444.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.365, allocations: 363.7 kB / 444.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.3651, allocations: 25.56 kB / 444.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.3651, allocations: 25.56 kB / 444.9 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.3658, allocations: 367.6 kB / 445.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.3659, allocations: 7.938 kB / 445.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.3659, allocations: 14.19 kB / 445.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3659, allocations: 10.66 kB / 445.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.3665, allocations: 272.4 kB / 445.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.3685, allocations: 0.9878 MB / 446.6 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.3692, allocations: 314.3 kB / 446.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.3695, allocations: 144.7 kB / 447 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3695, allocations: 14.7 kB / 447 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.37, allocations: 258.1 kB / 447.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.37, allocations: 0 / 447.3 MB, free: 0.4961 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