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.0007496/0.0007496, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.000755/0.000755, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8253/0.8253, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.03317/0.03317, allocations: 8.598 MB / 268.5 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: translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 396.3 MB, free: 2.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.297e-05, allocations: 2.281 kB / 396.3 MB, free: 2.172 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002643/0.002666, allocations: 1.727 MB / 398 MB, free: 444 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.003673, allocations: 0.4914 MB / 398.5 MB, free: 15.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.003781, allocations: 7.938 kB / 398.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.003974, allocations: 35.66 kB / 398.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.946e-05/0.004074, allocations: 31.67 kB / 398.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007541/0.004828, allocations: 327.1 kB / 398.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004842/0.005312, allocations: 455 kB / 399.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.005439, allocations: 20.92 kB / 399.4 MB, free: 15.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.005652, allocations: 195.6 kB / 399.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.005915, allocations: 171.6 kB / 399.8 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.005967, allocations: 28 kB / 399.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.006077, allocations: 55.91 kB / 399.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.006212, allocations: 151.5 kB / 400 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.006325, allocations: 99.66 kB / 400.1 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.006757, allocations: 410.7 kB / 400.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006759, allocations: 0 / 400.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006761, allocations: 0 / 400.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.006766, allocations: 0 / 400.5 MB, free: 13.99 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.001113/0.00788, allocations: 0.6584 MB / 401.1 MB, free: 13.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.007923, allocations: 8.031 kB / 401.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.008036, allocations: 48.64 kB / 401.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.00848, allocations: 305.6 kB / 401.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.008504, allocations: 25.02 kB / 401.5 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.00856, allocations: 24.38 kB / 401.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.008955, allocations: 370.4 kB / 401.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.008969, allocations: 192 / 401.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.008991, allocations: 12.36 kB / 401.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.008999, allocations: 12.38 kB / 401.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.009295, allocations: 274.4 kB / 402.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009732/0.01027, allocations: 0.8318 MB / 403 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.01092, allocations: 306.4 kB / 403.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.01106, allocations: 141.3 kB / 403.5 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.01108, allocations: 8 kB / 403.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.01132, allocations: 251.2 kB / 403.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.01132, allocations: 0 / 403.7 MB, free: 10.63 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.5429560951888561] Failed to read output from testmodel.py, exit status != 0: 0.01710805669426918 0.02428204 0.015615397000000001 Calling exit ...