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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0007909/0.000791, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005676/0.005676, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05199/0.05199, allocations: 10.74 MB / 281.5 MB, free: 10.46 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000743/0.000743, allocations: 16 kB / 342.3 MB, free: 23.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.0999, allocations: 50 MB / 392.3 MB, free: 5.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.001922/0.1019, allocations: 1.459 MB / 393.8 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.1028, allocations: 0.5065 MB / 394.3 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.1029, allocations: 0 / 394.3 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.103, allocations: 23.8 kB / 394.3 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.304e-05/0.1031, allocations: 23.8 kB / 394.4 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.1037, allocations: 223.6 kB / 394.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004843/0.1042, allocations: 0.5029 MB / 395.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1043, allocations: 32.73 kB / 395.1 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.1045, allocations: 163.5 kB / 395.3 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.1048, allocations: 187.2 kB / 395.5 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.1048, allocations: 16 kB / 395.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.564e-05/0.1049, allocations: 39.97 kB / 395.5 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.1051, allocations: 139.6 kB / 395.6 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.1053, allocations: 176.7 kB / 395.8 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.1056, allocations: 358.7 kB / 396.2 MB, free: 1.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1056, allocations: 4 kB / 396.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1056, allocations: 4 kB / 396.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1057, allocations: 0 / 396.2 MB, free: 1.469 MB / 286.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.001078/0.1067, allocations: 0.6518 MB / 396.8 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.1068, allocations: 8.031 kB / 396.8 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.591e-05/0.1069, allocations: 70.7 kB / 396.9 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.1069, allocations: 40.47 kB / 396.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.1073, allocations: 359.9 kB / 397.3 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.1074, allocations: 20.94 kB / 397.3 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.1075, allocations: 32.34 kB / 397.3 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.1081, allocations: 373.2 kB / 397.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1081, allocations: 7.938 kB / 397.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.1081, allocations: 11.98 kB / 397.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1081, allocations: 4 kB / 397.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.1086, allocations: 278.1 kB / 398 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.1102, allocations: 0.9899 MB / 399 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.1108, allocations: 322.7 kB / 399.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.1111, allocations: 148.8 kB / 399.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1111, allocations: 4 kB / 399.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003896/0.1115, allocations: 259.1 kB / 399.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.1115, allocations: 0 / 399.7 MB, free: 13.75 MB / 302.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[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; 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[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed