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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 84.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 165.8 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9827/0.9827, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03758/0.03758, allocations: 8.617 MB / 267.8 MB, free: 5.137 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 395.8 MB, free: 1.914 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006e-05/1.131e-05, allocations: 6.281 kB / 395.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.001959/0.001971, allocations: 1.722 MB / 397.6 MB, free: 180 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.002719, allocations: 498.5 kB / 398 MB, free: 15.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.002792, allocations: 3.938 kB / 398 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.002939, allocations: 43.64 kB / 398.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.895e-05/0.003008, allocations: 31.67 kB / 398.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/0.003564, allocations: 327.1 kB / 398.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.003898, allocations: 455 kB / 398.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.004, allocations: 20.92 kB / 398.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.004157, allocations: 195.6 kB / 399.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.00435, allocations: 179.5 kB / 399.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.00439, allocations: 28 kB / 399.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.004474, allocations: 51.92 kB / 399.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.004574, allocations: 159.5 kB / 399.5 MB, free: 14.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.345e-05/0.004657, allocations: 103.7 kB / 399.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.004959, allocations: 394.9 kB / 400 MB, free: 13.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004961, allocations: 0 / 400 MB, free: 13.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004962, allocations: 0 / 400 MB, free: 13.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.004967, allocations: 0 / 400 MB, free: 13.73 MB / 378.7 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.0007707/0.005737, allocations: 0.6545 MB / 400.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.005772, allocations: 12.03 kB / 400.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.005825, allocations: 62.72 kB / 400.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.005882, allocations: 44.66 kB / 400.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.006175, allocations: 305.6 kB / 401.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.006192, allocations: 21.03 kB / 401.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.006231, allocations: 28.36 kB / 401.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.006646, allocations: 366.4 kB / 401.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.006661, allocations: 12.19 kB / 401.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.006682, allocations: 4.375 kB / 401.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.00669, allocations: 16.06 kB / 401.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.007007, allocations: 278.4 kB / 401.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.008099, allocations: 0.8859 MB / 402.7 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.008533, allocations: 310.8 kB / 403 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.008695, allocations: 141.3 kB / 403.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.008705, allocations: 8 kB / 403.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.008975, allocations: 259.1 kB / 403.4 MB, free: 10.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.008976, allocations: 0 / 403.4 MB, free: 10.22 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7451448515057564]