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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 109.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002156/0.002157, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3084, allocations: 50.55 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.002639/0.3111, allocations: 1.593 MB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004422/0.3116, allocations: 171.4 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.3117, allocations: 0 / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.109e-05/0.3117, allocations: 7.875 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.3119, allocations: 11.94 kB / 411.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.3122, allocations: 59.8 kB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.3123, allocations: 59.84 kB / 411.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3125, allocations: 32.2 kB / 411.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.3125, allocations: 23.92 kB / 411.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.3126, allocations: 35.78 kB / 411.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3126, allocations: 8 kB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.3126, allocations: 4 kB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.3127, allocations: 19.92 kB / 412 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.3127, allocations: 39.78 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3129, allocations: 67.67 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3129, allocations: 0 / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3129, allocations: 0 / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3129, allocations: 0 / 412.1 MB, free: 15.43 MB / 334.1 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.000426/0.3133, allocations: 396.2 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3134, allocations: 15.97 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.3134, allocations: 8.844 kB / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.3136, allocations: 196.1 kB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3137, allocations: 4.375 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.3137, allocations: 8.375 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.314, allocations: 190.3 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.314, allocations: 192 / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3141, allocations: 11.88 kB / 412.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3141, allocations: 3.984 kB / 412.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.695e-05/0.3142, allocations: 39.92 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.3146, allocations: 377.8 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3147, allocations: 115.8 kB / 413.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.339e-05/0.3148, allocations: 58.69 kB / 413.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.3149, allocations: 4 kB / 413.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.3149, allocations: 42.5 kB / 413.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.3149, allocations: 0 / 413.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000318/0.3152, allocations: 129.4 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.3153, allocations: 106.8 kB / 413.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3154, allocations: 148.7 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3154, allocations: 25.7 kB / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.3155, allocations: 88.42 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.3155, allocations: 3.906 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.3156, allocations: 37.7 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3157, allocations: 318.8 kB / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.3157, allocations: 12 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.3158, allocations: 85.42 kB / 414.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3159, allocations: 105.3 kB / 414.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3159, allocations: 7.938 kB / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001674/0.3161, allocations: 117.4 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3161, allocations: 4 kB / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3161, allocations: 4 kB / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3162, allocations: 4.375 kB / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.797e-05/0.3162, allocations: 8.281 kB / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3162, allocations: 8 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.3163, allocations: 15.83 kB / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3163, allocations: 7.938 kB / 414.7 MB, free: 12.43 MB / 334.1 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 (xor1.y,xor1.u2,xor1.u1,xor.y,xor.u2,xor.u1,integerConstant.y,sample2.y,sample1.y,step.y,hold1.u,hold1.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.13e-05/0.3164, allocations: 137.6 kB / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.3164, allocations: 11.91 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.3165, allocations: 16.7 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3165, allocations: 4 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3165, allocations: 4 kB / 414.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.3165, allocations: 93 kB / 415 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3166, allocations: 4 kB / 415 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.3167, allocations: 4 kB / 415 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.3167, allocations: 11.92 kB / 415 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002377/0.3169, allocations: 339.4 kB / 415.3 MB, free: 11.77 MB / 334.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.) xor1.u2 xor.y xor.u2 sample2.y hold1.y hold1.u xor1.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 xor.y := not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 := xor.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: xor1.u2 xor.y xor.u2 sample2.y hold1.y hold1.u xor1.y equations: 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 xor.y := not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 := xor.y [/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 Warning: The optimization module SymbolicJacobian.symbolicJacobianDAE failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003603/0.3173, allocations: 478.2 kB / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.564e-05/0.3174, allocations: 35.98 kB / 415.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.221e-05/0.3175, allocations: 107.2 kB / 415.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of Backend: time 2.3e-07/0.3175, allocations: 4 kB / 415.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.318, allocations: 114.3 kB / 416.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005636/0.3186, allocations: 0.6451 MB / 416.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of Templates: time 0.003033/0.3216, allocations: 0.7921 MB / 417.5 MB, free: 9.547 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1)