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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 189.4 kB / 22.1 MB, free: 4.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 250.8 MB, free: 2.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06054/0.06054, allocations: 11.35 MB / 317.4 MB, free: 276 kB / 238.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.89 kB / 442.2 MB, free: 5.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2191, allocations: 54.87 MB / 497.1 MB, free: 24.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002396/0.2215, allocations: 1.78 MB / 498.8 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008427/0.2224, allocations: 0.5017 MB / 499.3 MB, free: 22.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.981e-05/0.2225, allocations: 1.062 kB / 499.3 MB, free: 22.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.2226, allocations: 36.22 kB / 499.4 MB, free: 22.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.703e-05/0.2227, allocations: 36.17 kB / 499.4 MB, free: 22.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.2233, allocations: 288.9 kB / 499.7 MB, free: 22.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.2239, allocations: 0.6131 MB / 0.4886 GB, free: 22.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.224, allocations: 22.19 kB / 0.4886 GB, free: 22.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.2242, allocations: 195.8 kB / 0.4888 GB, free: 22.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.2244, allocations: 197.5 kB / 0.489 GB, free: 21.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.2245, allocations: 26.28 kB / 0.489 GB, free: 21.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2246, allocations: 62.66 kB / 0.4891 GB, free: 21.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.2247, allocations: 162.3 kB / 0.4892 GB, free: 21.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2248, allocations: 159.9 kB / 0.4894 GB, free: 21.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.2251, allocations: 386.3 kB / 0.4897 GB, free: 21.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2251, allocations: 0 / 0.4897 GB, free: 21.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2251, allocations: 1.844 kB / 0.4897 GB, free: 21.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.2252, allocations: 0 / 0.4897 GB, free: 21.38 MB / 366.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.0009853/0.2261, allocations: 0.6553 MB / 0.4904 GB, free: 20.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2262, allocations: 9.844 kB / 0.4904 GB, free: 20.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.2262, allocations: 68.28 kB / 0.4905 GB, free: 20.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.2263, allocations: 48.77 kB / 0.4905 GB, free: 20.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.2267, allocations: 310.8 kB / 0.4908 GB, free: 20.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2267, allocations: 27.59 kB / 0.4908 GB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.2267, allocations: 26.56 kB / 0.4908 GB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.2272, allocations: 369.6 kB / 0.4912 GB, free: 20.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.2273, allocations: 5.094 kB / 0.4912 GB, free: 20.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.2273, allocations: 10.25 kB / 0.4912 GB, free: 20.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.2273, allocations: 11.42 kB / 0.4912 GB, free: 20.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.2277, allocations: 271 kB / 0.4915 GB, free: 20.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.2292, allocations: 0.9532 MB / 0.4924 GB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.2297, allocations: 300.1 kB / 0.4927 GB, free: 19.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.2299, allocations: 139.1 kB / 0.4928 GB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.2299, allocations: 2.75 kB / 0.4928 GB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.2303, allocations: 265.1 kB / 0.4931 GB, free: 19.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.2303, allocations: 0 / 0.4931 GB, free: 19.04 MB / 366.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:8019:5-8019:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4036371579859406] Failed to read output from testmodel.py, exit status != 0: 0.23764850094448775 0.249327879 0.021220834 Calling exit ...