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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006607/0.006607, allocations: 100.3 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 193.2 kB / 16.68 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1643/0.1643, allocations: 11.17 MB / 301.7 MB, free: 1.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 417.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2445, allocations: 51.97 MB / 469.3 MB, free: 16.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002515/0.2471, allocations: 1.766 MB / 471.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008595/0.2479, allocations: 0.4933 MB / 471.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.248, allocations: 6.031 kB / 471.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.2482, allocations: 32.11 kB / 471.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.772e-05/0.2483, allocations: 31.09 kB / 471.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.2488, allocations: 256.2 kB / 471.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.2493, allocations: 0.5276 MB / 472.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2494, allocations: 39.2 kB / 472.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.2497, allocations: 183.5 kB / 472.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.25, allocations: 198.9 kB / 472.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.25, allocations: 27.84 kB / 472.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.2502, allocations: 54.86 kB / 472.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.2503, allocations: 151.9 kB / 473.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.2505, allocations: 168.4 kB / 473.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.2509, allocations: 381.1 kB / 473.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.251, allocations: 0 / 473.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.251, allocations: 0 / 473.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.251, allocations: 1.375 kB / 473.6 MB, free: 14.15 MB / 350.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.001208/0.2522, allocations: 0.7349 MB / 474.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2522, allocations: 12.64 kB / 474.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.2523, allocations: 61.06 kB / 474.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.2524, allocations: 48.38 kB / 474.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.2527, allocations: 360.8 kB / 474.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.2527, allocations: 23.7 kB / 474.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.2528, allocations: 31.19 kB / 474.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.2533, allocations: 368.4 kB / 475.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.2533, allocations: 5.312 kB / 475.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.2534, allocations: 14.64 kB / 475.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.2534, allocations: 9.453 kB / 475.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.2538, allocations: 271.8 kB / 475.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.2552, allocations: 0.9905 MB / 476.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.2557, allocations: 314.5 kB / 476.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2559, allocations: 151.4 kB / 477 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.256, allocations: 3.562 kB / 477 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.2563, allocations: 270.3 kB / 477.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.714e-06/0.2563, allocations: 0 / 477.2 MB, free: 11.6 MB / 350.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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed