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.0007956/0.0007956, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008459/0.0008459, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8803/0.8803, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.03537/0.03537, allocations: 8.606 MB / 267.8 MB, free: 5.125 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: "" <> 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 1.222e-06/1.222e-06, allocations: 0 / 395.1 MB, free: 2.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.336e-05, allocations: 5.094 kB / 395.1 MB, free: 2.676 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.001921/0.001934, allocations: 1.72 MB / 396.8 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008886/0.002823, allocations: 0.4914 MB / 397.3 MB, free: 464 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.002904, allocations: 7.875 kB / 397.3 MB, free: 456 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.003067, allocations: 31.72 kB / 397.3 MB, free: 424 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.003142, allocations: 35.61 kB / 397.3 MB, free: 388 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.00377, allocations: 323.2 kB / 397.7 MB, free: 64 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.004173, allocations: 455 kB / 398.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.004277, allocations: 24.88 kB / 398.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.004445, allocations: 203.5 kB / 398.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.00464, allocations: 167.6 kB / 398.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.004676, allocations: 28 kB / 398.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.198e-05/0.004758, allocations: 55.92 kB / 398.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.004923, allocations: 155.5 kB / 398.7 MB, free: 15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.673e-05/0.00501, allocations: 103.7 kB / 398.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.005311, allocations: 390.9 kB / 399.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005313, allocations: 0 / 399.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.005314, allocations: 4 kB / 399.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.005318, allocations: 0 / 399.2 MB, free: 14.51 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.0007953/0.006114, allocations: 0.6583 MB / 399.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.006147, allocations: 12.03 kB / 399.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.0062, allocations: 62.72 kB / 399.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.00626, allocations: 44.66 kB / 400 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.00657, allocations: 301.6 kB / 400.3 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.006592, allocations: 25.02 kB / 400.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.006631, allocations: 24.31 kB / 400.3 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/0.007187, allocations: 378.4 kB / 400.7 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.007199, allocations: 192 / 400.7 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.007225, allocations: 16.38 kB / 400.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.007234, allocations: 12.12 kB / 400.7 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.007544, allocations: 274.4 kB / 401 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.008664, allocations: 0.8897 MB / 401.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.0091, allocations: 317.6 kB / 402.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.009257, allocations: 137.3 kB / 402.3 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.00927, allocations: 8 kB / 402.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.009546, allocations: 255.2 kB / 402.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.009548, allocations: 0 / 402.6 MB, free: 10.99 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.586462921462953] Failed to read output from testmodel.py, exit status != 0: 0.01506460178643465 0.02801092 0.020792299 Calling exit ...