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: translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 103.1 kB / 16.35 MB, free: 5.828 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.001246/0.001246, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.785/1.785, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05766/0.05766, allocations: 10.73 MB / 281.3 MB, free: 1.309 MB / 222.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.001869/0.001869, allocations: 63.91 kB / 342 MB, free: 4.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3532, allocations: 49.01 MB / 391 MB, free: 49.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003675/0.3569, allocations: 1.756 MB / 392.7 MB, free: 48.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3581, allocations: 0.5087 MB / 393.2 MB, free: 48.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.3582, allocations: 1.438 kB / 393.2 MB, free: 48.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.3585, allocations: 35.84 kB / 393.3 MB, free: 48.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.3586, allocations: 32.08 kB / 393.3 MB, free: 48.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.3593, allocations: 246.7 kB / 393.6 MB, free: 48.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.36, allocations: 0.5348 MB / 394.1 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3602, allocations: 39.31 kB / 394.1 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.3604, allocations: 184.4 kB / 394.3 MB, free: 47.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.3607, allocations: 198.1 kB / 394.5 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.3608, allocations: 27.47 kB / 394.5 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3609, allocations: 51.81 kB / 394.6 MB, free: 47.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.3611, allocations: 148 kB / 394.7 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.3613, allocations: 173.1 kB / 394.9 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.3618, allocations: 386.5 kB / 395.3 MB, free: 47.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3618, allocations: 0 / 395.3 MB, free: 47.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3618, allocations: 0 / 395.3 MB, free: 47.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.3618, allocations: 0 / 395.3 MB, free: 47.52 MB / 318.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.001328/0.3631, allocations: 0.7185 MB / 396 MB, free: 46.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.3632, allocations: 14.08 kB / 396 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.3633, allocations: 45.45 kB / 396 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/0.3639, allocations: 363.8 kB / 396.4 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.364, allocations: 26 kB / 396.4 MB, free: 46.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.3641, allocations: 24.98 kB / 396.5 MB, free: 46.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007929/0.3649, allocations: 367.1 kB / 396.8 MB, free: 46.53 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.3649, allocations: 5.406 kB / 396.8 MB, free: 46.53 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.365, allocations: 21.06 kB / 396.8 MB, free: 46.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.365, allocations: 5.812 kB / 396.8 MB, free: 46.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.3655, allocations: 272.9 kB / 397.1 MB, free: 46.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.3674, allocations: 0.9828 MB / 398.1 MB, free: 45.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006/0.368, allocations: 314.6 kB / 398.4 MB, free: 45.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.3682, allocations: 151.4 kB / 398.5 MB, free: 45.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.3682, allocations: 3.5 kB / 398.6 MB, free: 45.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003703/0.3686, allocations: 267.8 kB / 398.8 MB, free: 45.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.205e-06/0.3686, allocations: 0 / 398.8 MB, free: 45.46 MB / 318.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