Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, 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.393/1.393, allocations: 226.7 MB / 245.5 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 111.6 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009878/0.0009879, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3049, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003289/0.3082, allocations: 1.667 MB / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004361/0.3087, allocations: 167.5 kB / 408.9 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.3088, allocations: 4 kB / 408.9 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.131e-05/0.3089, allocations: 7.922 kB / 408.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.3091, allocations: 0 / 408.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.3094, allocations: 51.89 kB / 408.9 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.3096, allocations: 55.84 kB / 409 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.3097, allocations: 36.2 kB / 409 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.612e-05/0.3098, allocations: 19.88 kB / 409.1 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.3098, allocations: 39.77 kB / 409.1 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.3099, allocations: 4 kB / 409.1 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.3099, allocations: 4 kB / 409.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.3099, allocations: 19.92 kB / 409.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.31, allocations: 31.8 kB / 409.2 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.3101, allocations: 75.7 kB / 409.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3101, allocations: 0 / 409.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3101, allocations: 0 / 409.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3101, allocations: 0 / 409.2 MB, free: 25.63 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.0004402/0.3106, allocations: 380.7 kB / 409.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3106, allocations: 8.875 kB / 409.6 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.3107, allocations: 16.75 kB / 409.6 MB, free: 25.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.3108, allocations: 203 kB / 409.8 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.3109, allocations: 8.375 kB / 409.8 MB, free: 24.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.3109, allocations: 4.375 kB / 409.8 MB, free: 24.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.3113, allocations: 186.2 kB / 410 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3113, allocations: 192 / 410 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3113, allocations: 11.94 kB / 410 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3113, allocations: 0 / 410 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.23e-05/0.3114, allocations: 39.92 kB / 410.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.3118, allocations: 369.8 kB / 410.4 MB, free: 24.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.3119, allocations: 115.7 kB / 410.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.312, allocations: 70.62 kB / 410.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.3121, allocations: 0 / 410.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3121, allocations: 42.55 kB / 410.7 MB, free: 24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.3121, allocations: 0 / 410.7 MB, free: 24 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003275/0.3124, allocations: 129.4 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.3125, allocations: 110.8 kB / 410.9 MB, free: 23.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3126, allocations: 145.7 kB / 411 MB, free: 23.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.3126, allocations: 25.7 kB / 411.1 MB, free: 23.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.3127, allocations: 88.67 kB / 411.1 MB, free: 23.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.3127, allocations: 11.98 kB / 411.2 MB, free: 23.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.3128, allocations: 33.62 kB / 411.2 MB, free: 23.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.3128, allocations: 314.8 kB / 411.5 MB, free: 23.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-05/0.3129, allocations: 23.86 kB / 411.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.118e-05/0.3129, allocations: 85.44 kB / 411.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.3131, allocations: 109.2 kB / 411.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3131, allocations: 0 / 411.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001579/0.3132, allocations: 117.4 kB / 411.8 MB, free: 22.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3133, allocations: 6.812 kB / 411.8 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3133, allocations: 4 kB / 411.8 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3133, allocations: 4 kB / 411.8 MB, free: 22.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.955e-05/0.3133, allocations: 7.938 kB / 411.8 MB, free: 22.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3133, allocations: 3.984 kB / 411.8 MB, free: 22.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.3134, allocations: 11.84 kB / 411.9 MB, free: 22.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3134, allocations: 8.344 kB / 411.9 MB, free: 22.64 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 (step.y,xor1.y,xor1.u2,xor1.u1,xor.y,xor.u2,xor.u1,integerConstant.y,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 7.043e-05/0.3135, allocations: 139.2 kB / 412 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3136, allocations: 89.91 kB / 412.1 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.3136, allocations: 20.7 kB / 412.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3137, allocations: 0 / 412.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3137, allocations: 4 kB / 412.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3137, allocations: 0 / 412.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.3139, allocations: 185.6 kB / 412.3 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3139, allocations: 4 kB / 412.3 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.3139, allocations: 7.938 kB / 412.3 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3139, allocations: 0 / 412.3 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3139, allocations: 4 kB / 412.3 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3139, allocations: 0 / 412.3 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3139, allocations: 0 / 412.3 MB, free: 22.13 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.) xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.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: xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y equations: xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.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.0004032/0.3143, allocations: 358.9 kB / 412.7 MB, free: 21.76 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.