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.007098/0.007098, 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.001553/0.001553, allocations: 192.6 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.38/1.38, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05775/0.05775, allocations: 10.75 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.001534/0.001534, allocations: 71.89 kB / 390.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2382, allocations: 49.02 MB / 439.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002497/0.2408, allocations: 1.754 MB / 441.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000932/0.2417, allocations: 0.4969 MB / 441.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.2418, allocations: 6.344 kB / 441.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.242, allocations: 35.27 kB / 441.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.2421, allocations: 28.77 kB / 441.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.2428, allocations: 248.4 kB / 441.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.2433, allocations: 0.535 MB / 442.5 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2434, allocations: 35.97 kB / 442.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.2436, allocations: 181.4 kB / 442.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.2439, allocations: 197.9 kB / 442.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.244, allocations: 27.5 kB / 442.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2441, allocations: 63.48 kB / 443 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.2442, allocations: 149.2 kB / 443.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.2444, allocations: 165 kB / 443.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.2448, allocations: 390.1 kB / 443.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2448, allocations: 0 / 443.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2448, allocations: 0 / 443.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.2448, allocations: 5.281 kB / 443.6 MB, free: 2.625 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.001098/0.2459, allocations: 0.7262 MB / 444.4 MB, free: 2.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.246, allocations: 15.09 kB / 444.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.378e-05/0.2461, allocations: 63.67 kB / 444.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.2462, allocations: 49.86 kB / 444.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.2466, allocations: 369.2 kB / 444.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2466, allocations: 18.19 kB / 444.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.2467, allocations: 28.12 kB / 444.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.2473, allocations: 366.9 kB / 445.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.2473, allocations: 9.312 kB / 445.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.2474, allocations: 16.95 kB / 445.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2474, allocations: 10.78 kB / 445.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.2479, allocations: 272.8 kB / 445.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.2496, allocations: 0.9903 MB / 446.6 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.2501, allocations: 315.6 kB / 446.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.2503, allocations: 147.1 kB / 447 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2504, allocations: 6.938 kB / 447 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003469/0.2507, allocations: 262.1 kB / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.435e-06/0.2507, allocations: 0 / 447.3 MB, free: 0.5039 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