Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 110.2 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001142, allocations: 39.95 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4061, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.00457/0.4108, allocations: 1.657 MB / 401.1 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006519/0.4115, allocations: 183.4 kB / 401.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.4117, allocations: 4 kB / 401.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.4119, allocations: 3.938 kB / 401.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.4121, allocations: 17.98 kB / 401.3 MB, free: 31.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.4125, allocations: 39.91 kB / 401.4 MB, free: 31.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.4126, allocations: 63.78 kB / 401.4 MB, free: 31.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.4128, allocations: 38.97 kB / 401.5 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.4129, allocations: 23.86 kB / 401.5 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.413, allocations: 39.83 kB / 401.5 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.4131, allocations: 7.062 kB / 401.5 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/0.4131, allocations: 4 kB / 401.5 MB, free: 31.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.4132, allocations: 19.92 kB / 401.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.13e-05/0.4133, allocations: 43.67 kB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.4134, allocations: 83.64 kB / 401.7 MB, free: 31.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4135, allocations: 8 kB / 401.7 MB, free: 31.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4135, allocations: 3.938 kB / 401.7 MB, free: 31.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.4135, allocations: 0 / 401.7 MB, free: 31.14 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007909/0.4143, allocations: 404.6 kB / 402.1 MB, free: 30.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.4143, allocations: 12.03 kB / 402.1 MB, free: 30.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.4144, allocations: 12.75 kB / 402.1 MB, free: 30.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.4147, allocations: 208.8 kB / 402.3 MB, free: 30.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4147, allocations: 8.375 kB / 402.3 MB, free: 30.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.4147, allocations: 4.375 kB / 402.3 MB, free: 30.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.4152, allocations: 219.2 kB / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4153, allocations: 192 / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.4153, allocations: 11.94 kB / 402.6 MB, free: 30.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.4153, allocations: 0 / 402.6 MB, free: 30.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.4155, allocations: 55.89 kB / 402.6 MB, free: 30.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.4161, allocations: 381.9 kB / 403 MB, free: 29.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.4163, allocations: 127.8 kB / 403.1 MB, free: 29.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.4165, allocations: 82.67 kB / 403.2 MB, free: 29.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.4165, allocations: 0 / 403.2 MB, free: 29.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.4165, allocations: 38.5 kB / 403.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.4166, allocations: 0 / 403.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005649/0.4171, allocations: 165.6 kB / 403.4 MB, free: 29.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.4172, allocations: 114.8 kB / 403.5 MB, free: 29.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.4174, allocations: 162.5 kB / 403.7 MB, free: 28.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.4174, allocations: 30.08 kB / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.4175, allocations: 92.33 kB / 403.8 MB, free: 28.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.4175, allocations: 7.984 kB / 403.8 MB, free: 28.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.4176, allocations: 33.62 kB / 403.8 MB, free: 28.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.4177, allocations: 330.8 kB / 404.2 MB, free: 28.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.4178, allocations: 15.98 kB / 404.2 MB, free: 28.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.912e-05/0.4179, allocations: 85.38 kB / 404.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.4181, allocations: 121.2 kB / 404.4 MB, free: 28.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4181, allocations: 7.938 kB / 404.4 MB, free: 28.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002687/0.4184, allocations: 129.7 kB / 404.5 MB, free: 27.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.4184, allocations: 4 kB / 404.5 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.4184, allocations: 4 kB / 404.5 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.4185, allocations: 7.938 kB / 404.5 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4186, allocations: 19.98 kB / 404.5 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.4187, allocations: 4 kB / 404.5 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.039e-05/0.4188, allocations: 11.94 kB / 404.6 MB, free: 27.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.4188, allocations: 8 kB / 404.6 MB, free: 27.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (sample1.u,integerConstant.y,sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],sample2.y,hold1.y,hold1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.419, allocations: 145.7 kB / 404.7 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.4193, allocations: 105.4 kB / 404.8 MB, free: 27.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.374e-05/0.4193, allocations: 20.7 kB / 404.8 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4194, allocations: 4 kB / 404.8 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4194, allocations: 0 / 404.8 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.4194, allocations: 0 / 404.8 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.4197, allocations: 193.5 kB / 405 MB, free: 27.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4198, allocations: 4 kB / 405 MB, free: 27.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.4199, allocations: 19.98 kB / 405 MB, free: 27.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.4199, allocations: 4 kB / 405 MB, free: 27.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.42, allocations: 8 kB / 405.1 MB, free: 27.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.42, allocations: 0 / 405.1 MB, free: 27.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.42, allocations: 7.938 kB / 405.1 MB, free: 27.36 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.) sum1.y sum2.u[2] sum2.y hold1.u hold1.y sample2.y sum1.u[2] sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum1.u[2] = sample2.y sample2.y = $getPart(hold1.y) hold1.y = $getPart(hold1.u) hold1.u = sum2.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] sum2.u[2] = sum1.y [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: sum1.y sum2.u[2] sum2.y hold1.u hold1.y sample2.y sum1.u[2] equations: sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum1.u[2] = sample2.y sample2.y = $getPart(hold1.y) hold1.y = $getPart(hold1.u) hold1.u = sum2.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] sum2.u[2] = sum1.y [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.4206, allocations: 388.3 kB / 405.4 MB, free: 26.96 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.