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.00174/0.00174, allocations: 108 kB / 15.6 MB, free: 132 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.001345/0.001345, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.48/1.48, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05862/0.05862, allocations: 10.75 MB / 280.5 MB, free: 10.5 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.001602/0.001602, allocations: 67.89 kB / 340.6 MB, free: 23.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07831/0.07992, allocations: 49.01 MB / 389.7 MB, free: 6.133 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003033/0.083, allocations: 1.764 MB / 391.4 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009843/0.08402, allocations: 0.4986 MB / 391.9 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.08413, allocations: 3.938 kB / 391.9 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.0843, allocations: 39.66 kB / 392 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.08442, allocations: 27.72 kB / 392 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.08508, allocations: 255.4 kB / 392.2 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005724/0.08567, allocations: 0.5265 MB / 392.8 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.08582, allocations: 36.73 kB / 392.8 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.0861, allocations: 183.5 kB / 393 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.08643, allocations: 195.2 kB / 393.2 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.36e-05/0.08652, allocations: 31.94 kB / 393.2 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.08666, allocations: 55.97 kB / 393.3 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.08682, allocations: 147.7 kB / 393.4 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.08702, allocations: 174.9 kB / 393.6 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.08743, allocations: 370.8 kB / 393.9 MB, free: 1.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.08744, allocations: 0 / 393.9 MB, free: 1.836 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.08745, allocations: 0 / 393.9 MB, free: 1.836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.08746, allocations: 4 kB / 393.9 MB, free: 1.832 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.001274/0.08874, allocations: 0.7224 MB / 394.7 MB, free: 1.055 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.08879, allocations: 11.89 kB / 394.7 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.045e-05/0.08886, allocations: 66.72 kB / 394.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.928e-05/0.08896, allocations: 48.36 kB / 394.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.08937, allocations: 359.9 kB / 395.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.0894, allocations: 24.94 kB / 395.2 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.08946, allocations: 24.36 kB / 395.2 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.09003, allocations: 373.2 kB / 395.5 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.09006, allocations: 3.938 kB / 395.6 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.0901, allocations: 15.98 kB / 395.6 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.09012, allocations: 8 kB / 395.6 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.09059, allocations: 274.1 kB / 395.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.09251, allocations: 0.9938 MB / 396.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.09315, allocations: 310.9 kB / 397.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.09341, allocations: 148.8 kB / 397.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.09344, allocations: 4 kB / 397.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004234/0.09387, allocations: 255.1 kB / 397.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 3.106e-06/0.09388, allocations: 0 / 397.5 MB, free: 14.04 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed