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.0008548/0.0008548, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0009345/0.0009345, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8892/0.8892, 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.03956/0.03956, allocations: 8.61 MB / 267.8 MB, free: 5.121 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.833e-06/1.833e-06, allocations: 0 / 395.1 MB, free: 2.676 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.968e-05, allocations: 2.281 kB / 395.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.00221/0.00223, allocations: 1.723 MB / 396.8 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.002985, allocations: 495.2 kB / 397.3 MB, free: 464 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.003069, allocations: 11.88 kB / 397.3 MB, free: 452 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.003234, allocations: 35.66 kB / 397.3 MB, free: 416 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.344e-05/0.003307, allocations: 31.67 kB / 397.3 MB, free: 384 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.003983, allocations: 323.2 kB / 397.7 MB, free: 60 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.004367, allocations: 455 kB / 398.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.004479, allocations: 24.92 kB / 398.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.00466, allocations: 203.6 kB / 398.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.004887, allocations: 171.5 kB / 398.5 MB, free: 15.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.004925, allocations: 28 kB / 398.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.519e-05/0.00501, allocations: 55.92 kB / 398.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.963e-05/0.00511, allocations: 147.5 kB / 398.7 MB, free: 15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.005198, allocations: 103.7 kB / 398.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.005539, allocations: 402.8 kB / 399.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005542, allocations: 0 / 399.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.005544, allocations: 4 kB / 399.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.005549, allocations: 0 / 399.2 MB, free: 14.5 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.00088/0.006429, allocations: 0.6467 MB / 399.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.00647, allocations: 12.03 kB / 399.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.701e-05/0.006527, allocations: 62.72 kB / 399.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.006591, allocations: 48.66 kB / 400 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.006906, allocations: 309.5 kB / 400.3 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.006925, allocations: 25.02 kB / 400.3 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.006966, allocations: 24.38 kB / 400.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.007378, allocations: 374.4 kB / 400.7 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.007391, allocations: 192 / 400.7 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.007416, allocations: 12.38 kB / 400.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.007424, allocations: 12.12 kB / 400.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.007732, allocations: 278.3 kB / 401 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.008793, allocations: 0.8936 MB / 401.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.009214, allocations: 306.4 kB / 402.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.009367, allocations: 145.3 kB / 402.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.009381, allocations: 8 kB / 402.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.00964, allocations: 251.2 kB / 402.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.009642, allocations: 0 / 402.6 MB, free: 10.98 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.6522485353052616] Failed to read output from testmodel.py, exit status != 0: 0.015095830895006657 0.024006552 0.016796777000000002 Calling exit ...