Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 105.9 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3064, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.002983/0.3094, allocations: 1.674 MB / 408.7 MB, free: 26.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004471/0.3099, allocations: 167.5 kB / 408.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.31, allocations: 3.938 kB / 408.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.3101, allocations: 15.33 kB / 408.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.3103, allocations: 11.92 kB / 408.9 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.3105, allocations: 47.84 kB / 409 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.3106, allocations: 63.84 kB / 409 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3108, allocations: 31.47 kB / 409.1 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.3108, allocations: 31.84 kB / 409.1 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.113e-05/0.3109, allocations: 39.78 kB / 409.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.3109, allocations: 4 kB / 409.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.311, allocations: 4 kB / 409.1 MB, free: 25.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.311, allocations: 23.92 kB / 409.2 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.3111, allocations: 43.67 kB / 409.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.3112, allocations: 87.64 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3112, allocations: 0 / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3112, allocations: 0 / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3112, allocations: 0 / 409.3 MB, free: 25.57 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.0005043/0.3117, allocations: 408.5 kB / 409.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3118, allocations: 8.875 kB / 409.7 MB, free: 25.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3118, allocations: 12.84 kB / 409.7 MB, free: 25.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.312, allocations: 210.3 kB / 409.9 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.312, allocations: 8.375 kB / 409.9 MB, free: 24.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.312, allocations: 12.31 kB / 409.9 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.3124, allocations: 208.9 kB / 410.1 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3124, allocations: 4.172 kB / 410.1 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3124, allocations: 11.94 kB / 410.1 MB, free: 24.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3124, allocations: 4 kB / 410.2 MB, free: 24.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.3125, allocations: 55.89 kB / 410.2 MB, free: 24.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.3129, allocations: 381.8 kB / 410.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.3131, allocations: 131.6 kB / 410.7 MB, free: 23.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.3132, allocations: 74.8 kB / 410.8 MB, free: 23.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3132, allocations: 4 kB / 410.8 MB, free: 23.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.3133, allocations: 34.56 kB / 410.8 MB, free: 23.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.3133, allocations: 0 / 410.8 MB, free: 23.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.000341/0.3136, allocations: 169.3 kB / 411 MB, free: 23.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.3137, allocations: 110.8 kB / 411.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3138, allocations: 163.4 kB / 411.3 MB, free: 23.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.3138, allocations: 25.95 kB / 411.3 MB, free: 23.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.3138, allocations: 96.42 kB / 411.4 MB, free: 23.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/0.3138, allocations: 7.984 kB / 411.4 MB, free: 23.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.3139, allocations: 41.61 kB / 411.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.3139, allocations: 318.8 kB / 411.7 MB, free: 22.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.314, allocations: 23.92 kB / 411.8 MB, free: 22.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.3141, allocations: 88.98 kB / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.3142, allocations: 117.3 kB / 412 MB, free: 22.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3142, allocations: 3.938 kB / 412 MB, free: 22.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001659/0.3144, allocations: 129.3 kB / 412.1 MB, free: 22.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3144, allocations: 8 kB / 412.1 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3144, allocations: 0 / 412.1 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3144, allocations: 4 kB / 412.1 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-05/0.3145, allocations: 31.92 kB / 412.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.3145, allocations: 4.344 kB / 412.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.3146, allocations: 11.94 kB / 412.1 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3146, allocations: 4 kB / 412.1 MB, free: 22.36 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 8.387e-05/0.3147, allocations: 145.7 kB / 412.3 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.3149, allocations: 105.5 kB / 412.4 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.3149, allocations: 20.7 kB / 412.4 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3149, allocations: 0 / 412.4 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3149, allocations: 4 kB / 412.4 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3149, allocations: 4 kB / 412.4 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.3151, allocations: 197.5 kB / 412.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3151, allocations: 0 / 412.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.519e-05/0.3152, allocations: 28.39 kB / 412.6 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3152, allocations: 0 / 412.6 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3152, allocations: 4 kB / 412.6 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3152, allocations: 0 / 412.6 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3153, allocations: 0 / 412.6 MB, free: 21.8 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.0003354/0.3156, allocations: 404.1 kB / 413 MB, free: 21.38 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.