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.001431/0.001431, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001933/0.001933, allocations: 193.9 kB / 16.14 MB, free: 6.734 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.441/1.441, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05454/0.05454, allocations: 10.73 MB / 280.1 MB, free: 10.96 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.001313/0.001313, allocations: 63.91 kB / 339.9 MB, free: 23.72 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07997/0.08129, allocations: 49.03 MB / 389 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003029/0.08435, allocations: 1.81 MB / 390.8 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009188/0.08529, allocations: 0.5026 MB / 391.3 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.08537, allocations: 0 / 391.3 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.08555, allocations: 31.78 kB / 391.3 MB, free: 4.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.08565, allocations: 23.8 kB / 391.3 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.08622, allocations: 219.6 kB / 391.6 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.08673, allocations: 0.5029 MB / 392.1 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.08686, allocations: 32.75 kB / 392.1 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.08706, allocations: 171.4 kB / 392.3 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.08734, allocations: 183.3 kB / 392.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.978e-05/0.0874, allocations: 16 kB / 392.5 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.08751, allocations: 43.97 kB / 392.5 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.08767, allocations: 143.6 kB / 392.6 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.08783, allocations: 155 kB / 392.8 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.08819, allocations: 358.8 kB / 393.1 MB, free: 2.449 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.08821, allocations: 7.984 kB / 393.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.08821, allocations: 0 / 393.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.08822, allocations: 0 / 393.1 MB, free: 2.441 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.001232/0.08946, allocations: 0.7258 MB / 393.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.08951, allocations: 8.031 kB / 393.9 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.616e-05/0.0896, allocations: 70.72 kB / 393.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.08968, allocations: 44.38 kB / 394 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.09012, allocations: 367.9 kB / 394.4 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.09016, allocations: 20.94 kB / 394.4 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.09022, allocations: 32.3 kB / 394.4 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.09082, allocations: 369.2 kB / 394.8 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.09084, allocations: 3.938 kB / 394.8 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.09089, allocations: 8 kB / 394.8 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.0909, allocations: 8 kB / 394.8 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.09136, allocations: 278 kB / 395.1 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.09297, allocations: 0.9822 MB / 396 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.09357, allocations: 326.7 kB / 396.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.09381, allocations: 144.8 kB / 396.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.09383, allocations: 8 kB / 396.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000393/0.09423, allocations: 255.1 kB / 396.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.09424, allocations: 0 / 396.8 MB, free: 14.65 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