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.001375/0.001375, allocations: 112.5 kB / 15.73 MB, free: 76 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.001476/0.001476, allocations: 192.3 kB / 16.67 MB, free: 6.57 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.691/1.691, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06353/0.06353, allocations: 10.74 MB / 280.6 MB, free: 10.42 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.002053/0.002053, allocations: 68.75 kB / 390.3 MB, free: 5.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2978, allocations: 49.02 MB / 439.4 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002528/0.3003, allocations: 1.752 MB / 441.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009358/0.3013, allocations: 0.4978 MB / 441.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.3014, allocations: 2.625 kB / 441.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.3015, allocations: 38.22 kB / 441.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/0.3016, allocations: 36.5 kB / 441.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.3023, allocations: 248.6 kB / 441.9 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.3028, allocations: 0.5318 MB / 442.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3029, allocations: 20.98 kB / 442.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.3031, allocations: 192.9 kB / 442.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.3034, allocations: 194.7 kB / 442.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.3035, allocations: 26.53 kB / 442.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3036, allocations: 59.64 kB / 442.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3038, allocations: 161.9 kB / 443.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.3039, allocations: 159.8 kB / 443.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.3043, allocations: 382.4 kB / 443.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3043, allocations: 1.703 kB / 443.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3043, allocations: 0 / 443.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3043, allocations: 0 / 443.6 MB, free: 2.891 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.00115/0.3055, allocations: 0.7363 MB / 444.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3055, allocations: 13.14 kB / 444.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.047e-05/0.3056, allocations: 64.36 kB / 444.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.766e-05/0.3057, allocations: 53.8 kB / 444.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.306, allocations: 361.3 kB / 444.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3061, allocations: 21.42 kB / 444.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.3061, allocations: 24.86 kB / 444.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006244/0.3068, allocations: 370.8 kB / 445.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3068, allocations: 5.531 kB / 445.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.3068, allocations: 12.52 kB / 445.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3068, allocations: 6.156 kB / 445.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.3073, allocations: 273.1 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.3089, allocations: 0.9949 MB / 446.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.3095, allocations: 297.2 kB / 446.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.3097, allocations: 139.2 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3097, allocations: 3.906 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003548/0.31, allocations: 265.2 kB / 447.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.31, allocations: 3.938 kB / 447.2 MB, free: 0.7305 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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed