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.0008231/0.0008231, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001932, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 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.0008878/0.0008878, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001275/0.002163, allocations: 480.2 kB / 11.64 MB, free: 2.535 MB / 13.93 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.9994/0.9994, allocations: 177.1 MB / 189.5 MB, free: 3.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1622/1.162, allocations: 53.66 MB / 243.2 MB, free: 2.387 MB / 234.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.041/0.041, allocations: 8.614 MB / 252.5 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01551/0.05651, allocations: 3.118 MB / 255.6 MB, free: 6.469 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+3.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 256.9 MB, free: 5.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.819e-05, allocations: 2.312 kB / 256.9 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002366/0.002384, allocations: 1.805 MB / 258.7 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.003137, allocations: 0.4983 MB / 259.2 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.003208, allocations: 4 kB / 259.2 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.003317, allocations: 35.66 kB / 259.2 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.003396, allocations: 31.67 kB / 259.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.008013, allocations: 319.2 kB / 259.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.008445, allocations: 443.1 kB / 260 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.008554, allocations: 34.86 kB / 260 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.008789, allocations: 223.5 kB / 260.2 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.009005, allocations: 171.6 kB / 260.4 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.009047, allocations: 24 kB / 260.4 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.009156, allocations: 59.91 kB / 260.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.009267, allocations: 127.7 kB / 260.6 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.009351, allocations: 71.75 kB / 260.7 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.009652, allocations: 259.1 kB / 260.9 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.009662, allocations: 4 kB / 260.9 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.009662, allocations: 0 / 260.9 MB, free: 1.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.009674, allocations: 0 / 260.9 MB, free: 1.16 MB / 250.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.003804/0.01348, allocations: 0.5942 MB / 261.5 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.01352, allocations: 12.03 kB / 261.5 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.251e-05/0.01358, allocations: 70.62 kB / 261.6 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.697e-05/0.01366, allocations: 48.89 kB / 261.6 MB, free: 412 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.01393, allocations: 253.7 kB / 261.9 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.01395, allocations: 17.03 kB / 261.9 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.014, allocations: 28.36 kB / 261.9 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.01433, allocations: 230 kB / 262.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.01435, allocations: 8.062 kB / 262.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.01437, allocations: 16.36 kB / 262.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.01438, allocations: 12.12 kB / 262.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.01452, allocations: 72.55 kB / 262.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.01553, allocations: 0.6397 MB / 262.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.0158, allocations: 177.2 kB / 263.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.096e-05/0.01589, allocations: 58.08 kB / 263.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.0159, allocations: 4 kB / 263.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.01611, allocations: 170 kB / 263.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.01611, allocations: 0 / 263.3 MB, free: 14.64 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:567:7-567: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:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.5873470520600677]